Is there any way to see the number of AGI processes that Asterisk is handling? Either console, Asterisk Manager, or from within the AGI? I used to just count the number of running copies of my AGI process (ps aux | grep agi) but once in a blue moon one of my AGI processes will become a zombie or for some other reason not stop when Asterisk disconnects from it. I'd like to know, from Asterisk's point of view, the number of external applications it's communicating with. -- /Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080206/c2b1a2ce/attachment.htm
On Wednesday 06 February 2008 15:09:06 Nicholas Blasgen wrote:> Is there any way to see the number of AGI processes that Asterisk is > handling? Either console, Asterisk Manager, or from within the AGI? I > used to just count the number of running copies of my AGI process (ps aux | > grep agi) but once in a blue moon one of my AGI processes will become a > zombie or for some other reason not stop when Asterisk disconnects from it. > I'd like to know, from Asterisk's point of view, the number of external > applications it's communicating with.If you type 'show channels' and count the number of invocations of AGI in the output, you'll have your count. -- Tilghman
I am facing the same problem. I have noticed that (sometimes) under heavy load (70+ calls at 1GHz P4 with 1GB ram) some AGIs seem to run continously, and I have to kill them manually. I use 'core show channels verbose', and the duration is like 1 hr or more, while my telco does not allow calls longer than 59 mins.