[asterisk-bugs] [Asterisk 0012648]: [patch] Asterisk leaves zombie agi processes when running under linux 2.6

noreply at bugs.digium.com noreply at bugs.digium.com
Wed May 14 14:57:45 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12648 
====================================================================== 
Reported By:                gkloepfer
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   12648
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 115937 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-14-2008 12:06 CDT
Last Modified:              05-14-2008 14:57 CDT
====================================================================== 
Summary:                    [patch] Asterisk leaves zombie agi processes when
running under linux 2.6
Description: 
[Note: re-open, duplicate of Problem ID 0005238]

I have actually found a way to duplicate this bug.  If a long-running AGI
script is executing by one user and another user hangs-up on an AGI script,
a zombie will be left running.  This can be duplicated by using the
following dialplan code:

exten =>_X.,1,Answer
exten =>_X.,n,AGI(time-request.agi)
exten =>_X.,n,Hangup

(time-request.agi is an AGI script that says the time every 10 seconds
until the user hangs-up or presses a button on the keypad ... any
long-running AGI script like this should work).
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 05-14-08 14:57  
---------------------------------------------------------------------- 
Here's an alternate approach.  What do you think about this?  It still
won't catch everything (any process that decides to continue past the
SIGHUP, basically), but it should collect all zombies, while permitting
some processes to continue, in parallel. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-14-08 14:57  Corydon76      Note Added: 0086867                          
======================================================================




More information about the asterisk-bugs mailing list