[Asterisk-Users] Child PID's

Tzafrir Cohen tzafrir at cohens.org.il
Sat Mar 4 07:02:58 MST 2006


On Thu, Mar 02, 2006 at 02:19:29PM -0600, Matt Schulte wrote:
> All, I'm not sure how to word this question but we're noticing a lot of
> our asterisk boxes no longer have multiple asterisk child processes.
> i.e. doing a 'ps ax' reveals only 1 asterisk PID when normally I'm used
> to seeing 8+ .. There is no rhyme or reason to it, and we're using the
> safe_asterisk script which has always worked in the past. Ast 1.2.4, zap
> 1.2.4, naturally..
> 
> All my research has revealed nothing, regarding this, any suggestions?
> What I'm worried about, of course, is the single process getting
> overloaded with CPU calls and potentially denying service.

A single process, just as before. Multiple theads of it, as before.

Take a look at /proc/<PID>/tasks

Also, try 'ps auxm' rather than 'ps aux' . See ps(1) and look for
"threads".

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend




More information about the asterisk-users mailing list