[Home]

Summary:ASTERISK-00692: app_agi leaves open pipes, * crashes depending on system's ulimit
Reporter:paulohm2 (paulohm2)Labels:
Date Opened:2003-12-22 05:09:27.000-0600Date Closed:2008-01-15 14:39:32.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) agi.diff
Description:App_agi leaves one open pipe handle per request, making asterisk crash if the system reaches the maximum number of file handles.

****** ADDITIONAL INFORMATION ******

I believe the attached patch corrects the issue. The unclosed pipe seems to be an unused sound pipe. Can anyone check this?
Comments:By: Mark Spencer (markster) 2003-12-27 17:48:24.000-0600

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:39:32.000-0600

Repository: asterisk
Revision: 1883

U   trunk/apps/app_agi.c

------------------------------------------------------------------------
r1883 | markster | 2008-01-15 14:39:32 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix EAGI fd leak (bug ASTERISK-692)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=1883