Re: [asterisk-users] asterisk 13 systemd - SOLVED
Dne 8.11.2015 v 9:13 Tzafrir Cohen napsal(a): On Sat, Nov 07, 2015 at 09:34:33AM +0100, Ludovic Gasc wrote: 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 my problem was in highpriority = yes in asterisk.conf ( is equal to -p ) as pointed Tzafrir in https://issues.asterisk.org/jira/browse/ASTERISK-21991 -- --- 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
Re: [asterisk-users] asterisk 13 systemd
On Sat, Nov 07, 2015 at 09:34:33AM +0100, Ludovic Gasc wrote: > 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.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@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
Re: [asterisk-users] asterisk 13 systemd
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 wrote: > 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) > http://www.gmludo.eu/ > On 30 Oct 2015 11:34, "Marek Červenka" wrote: > >> 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 > -- _ -- 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
Re: [asterisk-users] asterisk 13 systemd
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) http://www.gmludo.eu/ On 30 Oct 2015 11:34, "Marek Červenka" wrote: > 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
[asterisk-users] asterisk 13 systemd
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