Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] asterisk 13 systemd


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
cervajs at fpf.slu.cz
Guest





PostPosted: Fri Oct 30, 2015 5:35 am    Post subject: [asterisk-users] asterisk 13 systemd Reply with quote

hi,

is there somebody using systemd start script on fedora/centos7 +
asterisk 13 in production?
i have strange problem with high cpu usage when asterisk is started via
systemd

thanks for feedback

p.s. systemd script is not in vanilla asterisk. only in fedora package
info https://reviewboard.asterisk.org/r/2730/

--
---------------------------------------
Marek Cervenka
=======================================


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
gmludo at gmail.com
Guest





PostPosted: Sat Nov 07, 2015 3:35 am    Post subject: [asterisk-users] asterisk 13 systemd Reply with quote

I've some Asterisk 13 on production, it's a custom compilation + I've retrieved systemd configuration file from asterisk Debian package of unstable.
After a small adaptation, I've no issue like you, however, I use Debian Jessie.
Ludovic Gasc (GMLudo)
cervajs@fpf.slu.cz (cervajs@fpf.slu.cz)> wrote:
Quote:
hi,

is there somebody using systemd start script on fedora/centos7 + asterisk 13 in production?
i have strange problem with high cpu usage when asterisk is started via systemd

thanks for feedback

p.s. systemd script is not in vanilla asterisk. only in fedora package
info https://reviewboard.asterisk.org/r/2730/

--
---------------------------------------
Marek Cervenka
=======================================


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
george.joseph at fairv...
Guest





PostPosted: Sat Nov 07, 2015 7:53 pm    Post subject: [asterisk-users] asterisk 13 systemd Reply with quote

I deploy on Fedora exclusively (not using the Fedora packages) and this is the service file I use.  It's different from the packaged version.

[Unit]
Description=Asterisk PBX and telephony daemon.
Requires=network-online.target
After=network-online.target


[Service]
Type=forking
PIDFile=/var/run/asterisk/asterisk.pid
EnvironmentFile=-/etc/asterisk/asterisk.env
WorkingDirectory=/var/lib/asterisk
ExecStart=/usr/sbin/asterisk -U asterisk -G asterisk -C /etc/asterisk/asterisk.conf ${PROG_ARGS}
KillMode=process
TimeoutStopSec=5
ExecStop=/usr/sbin/asterisk -rx 'core stop now'
ExecReload=/usr/sbin/asterisk -rx 'core reload'


Nice=0
UMask=0002
LimitCORE=infinity
LimitNOFILE=4096
Restart=always
RestartSec=4


PrivateTmp=false


[Install]
WantedBy=multi-user.target










On Sat, Nov 7, 2015 at 1:34 AM, Ludovic Gasc <gmludo@gmail.com (gmludo@gmail.com)> wrote:
Quote:

I've some Asterisk 13 on production, it's a custom compilation + I've retrieved systemd configuration file from asterisk Debian package of unstable.
After a small adaptation, I've no issue like you, however, I use Debian Jessie.
Ludovic Gasc (GMLudo)
cervajs@fpf.slu.cz (cervajs@fpf.slu.cz)> wrote:
Quote:
hi,

is there somebody using systemd start script on fedora/centos7 + asterisk 13 in production?
i have strange problem with high cpu usage when asterisk is started via systemd

thanks for feedback

p.s. systemd script is not in vanilla asterisk. only in fedora package
info https://reviewboard.asterisk.org/r/2730/

--
---------------------------------------
Marek Cervenka
=======================================


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Sun Nov 08, 2015 3:13 am    Post subject: [asterisk-users] asterisk 13 systemd Reply with quote

On Sat, Nov 07, 2015 at 09:34:33AM +0100, Ludovic Gasc wrote:
Quote:
I've some Asterisk 13 on production, it's a custom compilation + I've
retrieved systemd configuration file from asterisk Debian package of
unstable.

After a small adaptation, I've no issue like you, however, I use Debian
Jessie.

Speaking of those (that use the pending review for a systemd unit):

https://bugs.debian.org/801629

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services