asterisk2billing.org
http://forum.asterisk2billing.org/

a2billing.php defunct?
http://forum.asterisk2billing.org/viewtopic.php?f=16&t=5119
Page 1 of 1

Author:  nicl42 [ Tue Apr 07, 2009 6:39 pm ]
Post subject:  a2billing.php defunct?

Hi all,

I run Asterisk 1.4.23.2 and A2B 1.3.4 and mostly it's going great.

However, (of course there's a but) I noticed a memory leak on the server and under further investigation I noticed a number of a2billing.php processes like such:

asterisk 18317 0.0 0.0 0 0 ? Z 10:13 0:00 [a2billing.php] <defunct>
asterisk 19784 0.0 0.0 0 0 ? Z 11:06 0:00 [a2billing.php] <defunct>
asterisk 22940 0.0 0.0 0 0 ? Z 11:49 0:00 [a2billing.php] <defunct>

I'm not sure what is causing this, any ideas? (cos Google's fresh out)

Cheers
Nic

Author:  stavros [ Tue Apr 07, 2009 7:05 pm ]
Post subject: 

One likely cause of these defunct instances is SIGHUP not being received by A2B. This might be caused by missing pcntl support in PHP, or using AGI() rather than DeadAGI(), amongst other things.

Author:  nicl42 [ Wed Apr 08, 2009 6:59 am ]
Post subject:  a2billing.php defunct? cont.

Thanks for the suggestions, but definitely using DeadAGI and php -m shows pcntl as present.

What are those "other things" that you mentioned?

I should say that this is intermittent, roughly in about 1% of calls.

Cheers
Nic

Author:  stavros [ Wed Apr 08, 2009 4:15 pm ]
Post subject:  Re: a2billing.php defunct? cont.

nicl42 wrote:
What are those "other things" that you mentioned?
I've never experienced the problem you report, so the only thing I can be relatively sure of that A2B is not root cause of the problem. If I had to guess I'd suspect there may be an issue with your PHP interpreter.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/