[asterisk-users] Asterisk 12 - zombie processes

Yaron Nachum nachum.yaron at gmail.com
Tue Oct 28 10:10:00 CDT 2014


Mathew,
When I run 'ps -ef|grep asterisk' the following processes are displayed:
root      6861     1  0 Aug27 ?        00:00:00 /bin/sh
/ivr/app/asterisk/sbin/safe_asterisk -U asterisk -G asterisk -C
/ivr/app/asterisk/etc/asterisk/asterisk.conf
asterisk  8062  6861  3 Oct27 ?        00:44:56
/ivr/app/asterisk/sbin/asterisk -f -U asterisk -G asterisk -C
/ivr/app/asterisk/etc/asterisk/asterisk.conf -vvvg -c
root     20776  2200  0 11:20 pts/2    00:00:33 tail -f asterisk.log
asterisk 23076  8062  0 17:01 ?        00:00:00 [asterisk] <defunct>
asterisk 23897  8062  0 17:03 ?        00:00:00 [asterisk] <defunct>

also when I run top the same amount of zombie processes are displayed:
Tasks: 185 total,   1 running, 182 sleeping,   0 stopped,   2 zombie

Regarding the AGI - we are using AGI in order to run php scripts for
external logic. I have printed the PIDs of the php scripts and none of them
are related to the PID's of those zombie processes.
Do you have any idea how to find out what are these processes?
Yaron.

On Tue, Oct 28, 2014 at 4:53 PM, Matthew Jordan <mjordan at digium.com> wrote:

> On Tue, Oct 28, 2014 at 9:44 AM, Yaron Nachum <nachum.yaron at gmail.com>
> wrote:
> > Hello Mathew,
> > In the following tutorial it says that channel are marked with ZOMBIE
> flag.
> > From your response I assume it has no connection to my problem.
> > https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Bridging+Project
> >
> > Regrading the zombie processes issue we are having. We have debug taken
> from
> > the server during such process is invoked. If you want I can attache it.
>
> A zombie channel has nothing to do with a process. It was an artefact
> of an internal process known as a masquerade. While masquerades do
> sometimes still occur in Asterisk 12+, they are far less frequent and
> are no longer externally visible.
>
> Why do you think you have zombie processes? Asterisk does use a large
> number of threads, but generally rarely forks processes unless you are
> using something like original AGI.
>
> --
> Matthew Jordan
> Digium, Inc. | Engineering Manager
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: http://digium.com & http://asterisk.org
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141028/bc507778/attachment.html>


More information about the asterisk-users mailing list