[asterisk-bugs] [JIRA] (ASTERISK-22833) channel: Channel reference leak

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Jan 9 16:33:03 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213888#comment-213888 ] 

Rusty Newton commented on ASTERISK-22833:
-----------------------------------------

Attempted to reproduce, using your suggestions.

 * Fresh install of CentOS 6.5 
 * Using your example dialplan loop, modified a little bit (see extensions.txt)
 * Using simply configured SIP extensions (see sip.txt)

Test was to make a thousand dial attempts using the dialplan outbound call loop.

After starting Asterisk, I looked at output of "*lsof -a -p 19194 | wc -l*" and it was at 324
A few minutes after making a thousand dial attempts using the loop, the open file count was the same.

I checked "*core show fd*" before and after the test, and the open fds shown were the same. See fd_at_idle.txt and fd_after_1000.txt.

I also setup ref count debugging per the wiki and logged /tmp/refs for chan_sip. See refs.txt and the output of utils/refcounter at refcounter_output.txt

>From debug I didn't notice a growth of file descriptors. Though refcounter output quite a number of "Problem"s. I'll ping a dev to take a look at the /tmp/refs and refcounter output, as I'm no Asterisk dev.
                
> channel: Channel reference leak
> -------------------------------
>
>                 Key: ASTERISK-22833
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22833
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Channels
>    Affects Versions: 11.5.1, 11.6.0
>         Environment: centos
>            Reporter: Mitch Rodrigues
>            Assignee: Rusty Newton
>            Severity: Critical
>         Attachments: extensions.txt, fd_after_1000.txt, fd_at_idle.txt, refcounter_output.txt, refs.txt, sip.txt
>
>
> fd pipes linger from channel internals after call has been terminated. Seems to to also leave around alot of anon_inodes when doing lsof 
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list