[asterisk-users] Perl AGI defunct process

Ruddy Gbaguidi plugworld at micnes.com
Tue Aug 19 13:37:29 CDT 2008


I'm using DeadAgi and has set AGISIGHUP to no because I don't want my 
script to stop if the user hangs up.
But when it reach the end of the script, the child process should die.
And I don't see why I only have this trouble with perl agis.

Eric "ManxPower" Wieling wrote:
> Your script is not catching SIGHUP, which is what Asterisk uses to tell 
> the AGI the channel went away.
>
> Ruddy Gbaguidi wrote:
>   
>> Hi all.
>> I'm using asterisk 1.4.21.2 and when I run
>> ps -ef |grep defunct,
>> I can see a lot of my perl agi still pending there.
>> The channel has been cleaned up in asterisk.
>> I don't have this kind of problem with python or php.
>>
>> I'm using ubuntu ...
>> Anyone has an idea ?
>> I've tried export LD_ASSUME_KERNEL=2.4.1  but after that I fail to even 
>> start asterisk.
>>     
>
>
>   
> ------------------------------------------------------------------------
>
>
> Internal Virus Database is out of date.
> Checked by AVG. 
> Version: 8.0.100 / Virus Database: 269.23.16/1448 - Release Date: 5/16/2008 7:42 PM
>   




More information about the asterisk-users mailing list