Re: [asterisk-users] Asterisk 1.6 produces *many* zombie processes on Debian.
On Wednesday 22 December 2010 08:23:19 MrHanMan wrote: > On Wed, Dec 22, 2010 at 6:41 AM, Steve Davies wrote: > > On 21 December 2010 22:06, Tilghman Lesher wrote: > >> On Monday 20 December 2010 14:39:36 Ernie Dunbar wrote: > >>> We have an issue with our Asterisk install where Asterisk produces > >>> many Zombie processes (on the order of several hundred per minute) > >>> until either the Asterisk server is restarted (and the zombies die > >>> a natural death), or the kernel runs out of PID space (happens > >>> within hours) and brings the system to a halt. > >>> > >>> This problem only happens when the server is under some non-trivial > >>> load. We were testing this server with 8 SCCP phones, making up to > >>> five simultaneous calls through the DAHDI interface (a Digium > >>> Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all > >>> SIP clients) start logging on and we get around 7 or 8 simultaneous > >>> DAHDI calls, Asterisk starts producing zombie processes at a high > >>> rate. > >> > >> I know what the issue is. Please open a report on > >> https://issues.asterisk.org and I'll get a patch uploaded pronto. > > > > Please let us know the issue number once raised - I'd like to follow > > this one. > > I happened to see it pop up on the bug tracker. Issue #0018515. Very > funny error message in the patch. It's a forward-port of a section of code that was in res_agi in 1.4. It was no longer needed in res_agi because AGIs can now continue to interact with Asterisk after a hangup event, transitioning gracefully into DeadAGI. -- Tilghman -- _ -- 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 1.6 produces *many* zombie processes on Debian.
I happened to see it pop up on the bug tracker. Issue #0018515. Very funny error message in the patch. On Wed, Dec 22, 2010 at 6:41 AM, Steve Davies wrote: > On 21 December 2010 22:06, Tilghman Lesher wrote: >> On Monday 20 December 2010 14:39:36 Ernie Dunbar wrote: >>> We have an issue with our Asterisk install where Asterisk produces many >>> Zombie processes (on the order of several hundred per minute) until >>> either the Asterisk server is restarted (and the zombies die a natural >>> death), or the kernel runs out of PID space (happens within hours) and >>> brings the system to a halt. >>> >>> This problem only happens when the server is under some non-trivial >>> load. We were testing this server with 8 SCCP phones, making up to five >>> simultaneous calls through the DAHDI interface (a Digium Wildcard >>> TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) >>> start logging on and we get around 7 or 8 simultaneous DAHDI calls, >>> Asterisk starts producing zombie processes at a high rate. >> >> I know what the issue is. Please open a report on >> https://issues.asterisk.org and I'll get a patch uploaded pronto. >> > > Please let us know the issue number once raised - I'd like to follow this one. > > Regards, > Steve > > -- > _ > -- 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 1.6 produces *many* zombie processes on Debian.
On 21 December 2010 22:06, Tilghman Lesher wrote: > On Monday 20 December 2010 14:39:36 Ernie Dunbar wrote: >> We have an issue with our Asterisk install where Asterisk produces many >> Zombie processes (on the order of several hundred per minute) until >> either the Asterisk server is restarted (and the zombies die a natural >> death), or the kernel runs out of PID space (happens within hours) and >> brings the system to a halt. >> >> This problem only happens when the server is under some non-trivial >> load. We were testing this server with 8 SCCP phones, making up to five >> simultaneous calls through the DAHDI interface (a Digium Wildcard >> TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) >> start logging on and we get around 7 or 8 simultaneous DAHDI calls, >> Asterisk starts producing zombie processes at a high rate. > > I know what the issue is. Please open a report on > https://issues.asterisk.org and I'll get a patch uploaded pronto. > Please let us know the issue number once raised - I'd like to follow this one. Regards, Steve -- _ -- 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 1.6 produces *many* zombie processes on Debian.
> On Mon, Dec 20, 2010 at 5:39 PM, Ernie Dunbar > wrote: >> We have an issue with our Asterisk install where Asterisk produces many >> Zombie processes (on the order of several hundred per minute) until >> either >> the Asterisk server is restarted (and the zombies die a natural death), >> or >> the kernel runs out of PID space (happens within hours) and brings the >> system to a halt. >> >> This problem only happens when the server is under some non-trivial >> load. >> We were testing this server with 8 SCCP phones, making up to five >> simultaneous calls through the DAHDI interface (a Digium Wildcard >> TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) >> start logging on and we get around 7 or 8 simultaneous DAHDI calls, >> Asterisk starts producing zombie processes at a high rate. >> >> We are using the following software: >> >> Debian Lenny 5.0 >> Asterisk 1.6.2.15 >> `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 >> Libpri 1.4.11.4 >> >> A2Billing is also installed on this server, if that matters at all. >> >> Any help with this issue, including help in troubleshooting the cause, >> is >> highly appreciated. > > Simple > > In sip.conf please set "alwaysauthreject = yes" > Thanks for the tip, but we already did that a while ago. :) -- _ -- 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 1.6 produces *many* zombie processes on Debian.
On Monday 20 December 2010 14:39:36 Ernie Dunbar wrote: > We have an issue with our Asterisk install where Asterisk produces many > Zombie processes (on the order of several hundred per minute) until > either the Asterisk server is restarted (and the zombies die a natural > death), or the kernel runs out of PID space (happens within hours) and > brings the system to a halt. > > This problem only happens when the server is under some non-trivial > load. We were testing this server with 8 SCCP phones, making up to five > simultaneous calls through the DAHDI interface (a Digium Wildcard > TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) > start logging on and we get around 7 or 8 simultaneous DAHDI calls, > Asterisk starts producing zombie processes at a high rate. I know what the issue is. Please open a report on https://issues.asterisk.org and I'll get a patch uploaded pronto. -- Tilghman -- _ -- 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 1.6 produces *many* zombie processes on Debian.
Actually, no. This is part of a migration, and those are mostly customers' secondary lines (which for the most part, aren't even active). We get a lot of these bad logins because the retry times on the ATAs are quite short. Asterisk really *shouldn't* leave zombies around for every bad login, but if it does, then I suppose cleaning up these missing accounts might fix it. > Your server is being brute-forced. Read this article > (http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asterisk) > and set up fail2ban on your machine right now. > > Atenciosamente, > > Vinícius Fontes > Gerente de Segurança da Informação > Canall Tecnologia em Comunicações > Passo Fundo - RS - Brasil > +55 54 2104-7000 > > > > > Information Security Manager > Canall Tecnologia em Comunicações > Passo Fundo - RS - Brazil > +55 54 2104-7000 > > - Mensagem original - > > > >> Am 20.12.2010 21:39, schrieb Ernie Dunbar: >>> We have an issue with our Asterisk install where Asterisk produces many >>> Zombie processes (on the order of several hundred per minute) until >>> either >>> the Asterisk server is restarted (and the zombies die a natural death), >>> or >>> the kernel runs out of PID space (happens within hours) and brings the >>> system to a halt. >>> >>> This problem only happens when the server is under some non-trivial >>> load. >>> We were testing this server with 8 SCCP phones, making up to five >>> simultaneous calls through the DAHDI interface (a Digium Wildcard >>> TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) >>> start logging on and we get around 7 or 8 simultaneous DAHDI calls, >>> Asterisk starts producing zombie processes at a high rate. >>> >>> We are using the following software: >>> >>> Debian Lenny 5.0 >>> Asterisk 1.6.2.15 >>> `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 >>> Libpri 1.4.11.4 >>> >>> A2Billing is also installed on this server, if that matters at all. >>> >>> Any help with this issue, including help in troubleshooting the cause, >>> is >>> highly appreciated. >> >> What does /var/log/asterisk/messages say? And /var/log/syslog? >> > > Not much. In /var/log/asterisk/messages here's a lot of lines like this: > > [Dec 17 19:10:13] NOTICE[25518] chan_sip.c: Registration from > '' failed for 'XX.XXX.X.XXX' - No matching > peer found > > And /var/log/syslog has all the normal output from a2billing.php and > making calls complete and such. > > The other funny thing is that except for the massive number of zombie > processes, calls are being made and completed just fine. Even voice > quality is quite high. > > > -- > _ > -- 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 1.6 produces *many* zombie processes on Debian.
On Mon, Dec 20, 2010 at 5:39 PM, Ernie Dunbar wrote: > We have an issue with our Asterisk install where Asterisk produces many > Zombie processes (on the order of several hundred per minute) until either > the Asterisk server is restarted (and the zombies die a natural death), or > the kernel runs out of PID space (happens within hours) and brings the > system to a halt. > > This problem only happens when the server is under some non-trivial load. > We were testing this server with 8 SCCP phones, making up to five > simultaneous calls through the DAHDI interface (a Digium Wildcard > TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) > start logging on and we get around 7 or 8 simultaneous DAHDI calls, > Asterisk starts producing zombie processes at a high rate. > > We are using the following software: > > Debian Lenny 5.0 > Asterisk 1.6.2.15 > `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 > Libpri 1.4.11.4 > > A2Billing is also installed on this server, if that matters at all. > > Any help with this issue, including help in troubleshooting the cause, is > highly appreciated. Simple In sip.conf please set "alwaysauthreject = yes" ~~~ Andrew "lathama" Latham lath...@gmail.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 1.6 produces *many* zombie processes on Debian.
Your server is being brute-forced. Read this article (http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asterisk) and set up fail2ban on your machine right now.Atenciosamente,Vinícius FontesGerente de Segurança da InformaçãoCanall Tecnologia em ComunicaçõesPasso Fundo - RS - Brasil+55 54 2104-7000Information Security ManagerCanall Tecnologia em ComunicaçõesPasso Fundo - RS - Brazil+55 54 2104-7000> Am 20.12.2010 21:39, schrieb Ernie Dunbar:>> We have an issue with our Asterisk install where Asterisk produces many>> Zombie processes (on the order of several hundred per minute) until>> either>> the Asterisk server is restarted (and the zombies die a natural death),>> or>> the kernel runs out of PID space (happens within hours) and brings the>> system to a halt. This problem only happens when the server is under some non-trivial>> load.>> We were testing this server with 8 SCCP phones, making up to five>> simultaneous calls through the DAHDI interface (a Digium Wildcard>> TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients)>> start logging on and we get around 7 or 8 simultaneous DAHDI calls,>> Asterisk starts producing zombie processes at a high rate. We are using the following software: Debian Lenny 5.0>> Asterisk 1.6.2.15>> `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2>> Libpri 1.4.11.4 A2Billing is also installed on this server, if that matters at all. Any help with this issue, including help in troubleshooting the cause,>> is>> highly appreciated.>> What does /var/log/asterisk/messages say? And /var/log/syslog?>Not much. In /var/log/asterisk/messages here's a lot of lines like this:[Dec 17 19:10:13] NOTICE[25518] chan_sip.c: Registration from'' failed for 'XX.XXX.X.XXX' - No matchingpeer foundAnd /var/log/syslog has all the normal output from a2billing.php andmaking calls complete and such.The other funny thing is that except for the massive number of zombieprocesses, calls are being made and completed just fine. Even voicequality is quite high.--_-- 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/helloasterisk-users mailing listTo 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 1.6 produces *many* zombie processes on Debian.
> Am 20.12.2010 21:39, schrieb Ernie Dunbar: >> We have an issue with our Asterisk install where Asterisk produces many >> Zombie processes (on the order of several hundred per minute) until >> either >> the Asterisk server is restarted (and the zombies die a natural death), >> or >> the kernel runs out of PID space (happens within hours) and brings the >> system to a halt. >> >> This problem only happens when the server is under some non-trivial >> load. >> We were testing this server with 8 SCCP phones, making up to five >> simultaneous calls through the DAHDI interface (a Digium Wildcard >> TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) >> start logging on and we get around 7 or 8 simultaneous DAHDI calls, >> Asterisk starts producing zombie processes at a high rate. >> >> We are using the following software: >> >> Debian Lenny 5.0 >> Asterisk 1.6.2.15 >> `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 >> Libpri 1.4.11.4 >> >> A2Billing is also installed on this server, if that matters at all. >> >> Any help with this issue, including help in troubleshooting the cause, >> is >> highly appreciated. > > What does /var/log/asterisk/messages say? And /var/log/syslog? > Not much. In /var/log/asterisk/messages here's a lot of lines like this: [Dec 17 19:10:13] NOTICE[25518] chan_sip.c: Registration from '' failed for 'XX.XXX.X.XXX' - No matching peer found And /var/log/syslog has all the normal output from a2billing.php and making calls complete and such. The other funny thing is that except for the massive number of zombie processes, calls are being made and completed just fine. Even voice quality is quite high. -- _ -- 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 1.6 produces *many* zombie processes on Debian.
Am 20.12.2010 21:39, schrieb Ernie Dunbar: We have an issue with our Asterisk install where Asterisk produces many Zombie processes (on the order of several hundred per minute) until either the Asterisk server is restarted (and the zombies die a natural death), or the kernel runs out of PID space (happens within hours) and brings the system to a halt. This problem only happens when the server is under some non-trivial load. We were testing this server with 8 SCCP phones, making up to five simultaneous calls through the DAHDI interface (a Digium Wildcard TE410P/TE405P (1st Gen)). Once our customers (nearly all SIP clients) start logging on and we get around 7 or 8 simultaneous DAHDI calls, Asterisk starts producing zombie processes at a high rate. We are using the following software: Debian Lenny 5.0 Asterisk 1.6.2.15 `dahdi show version`: DAHDI Version: 2.4.0 Echo Canceller: MG2 Libpri 1.4.11.4 A2Billing is also installed on this server, if that matters at all. Any help with this issue, including help in troubleshooting the cause, is highly appreciated. What does /var/log/asterisk/messages say? And /var/log/syslog? -- _ -- 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