Summary: | ASTERISK-23772: Asterisk Leaks FileDescriptor in handle_recordfile res_agi.c | ||
Reporter: | balamurugan (balam) | Labels: | |
Date Opened: | 2014-05-21 19:40:08 | Date Closed: | 2014-06-09 09:02:18 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Resources/res_agi |
Versions: | 1.8.19.0 11.1.1 12.2.0 | Frequency of Occurrence | Frequent |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When there is a SIP Call Disconnect While Playing Beep to Caller , Either in ast_stream_file or in res_agi.c we are not closing the stream opened to read BEEP File and this leads to FileDescriptor Leak heavily ,whenever we call the RECORD agi command which points to handle_recordfile . | ||
Comments: | By: Rusty Newton (rnewton) 2014-05-22 07:17:37.744-0500 Please attach a full Asterisk log with AGI debug demonstrating the scenario, and command output showing how you identified the leak. By: Matt Jordan (mjordan) 2014-06-09 09:02:08 Based on the lack of response to my questions on the {{-dev}} list - see [http://lists.digium.com/pipermail/asterisk-dev/2014-May/067537.html] - I'm going to recommend we close out this issue. If there is a file descriptor leak due to a 'standard' playback call, we either have: # A ridiculous systemic leak of file descriptors that should be crippling systems on a fortnightly basis # Something very subtle going on that isn't obvious from the issue description or the communication on the {{-dev}} list. Either way, we can re-open this issue if more evidence presents itself. By: Rusty Newton (rnewton) 2014-06-09 09:07:50.220-0500 Sounds good. I just attempted reproduction. I tried ending the call during beep playback by both hanging up the call from the SIP phone normally, and also using the exit DTMF. Neither method over a couple dozen calls was able to reproduce the issue in Asterisk 12 r415523. |