[asterisk-bugs] [JIRA] (ASTERISK-24768) res_timing_pthread: file descriptor leak

Private Name (JIRA) noreply at issues.asterisk.org
Wed Aug 17 19:36:56 CDT 2016


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

Private Name commented on ASTERISK-24768:
-----------------------------------------

Asterisk 13.11.0-rc1
 asterisk -rx "core show channels count" 
224 active channels
112 active calls
1099 calls processed
asterisk -rx "core show  uptime"        
System uptime: 11 minutes
Last reload: 11 minutes

lsof | grep asterisk | grep FIFO | wc -l
183992

I don't think this is fixed.


> res_timing_pthread: file descriptor leak
> ----------------------------------------
>
>                 Key: ASTERISK-24768
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24768
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_timing_pthread
>    Affects Versions: 13.2.0
>         Environment: Current Debian (jessie/testing), i386, up-to-date
>            Reporter: Matthias Urlichs
>            Assignee: Joshua Colp
>      Target Release: 13.3.0, 14.0.0
>
>         Attachments: timer.patch
>
>
> Pthread timers are never deallocated because their link into the pthread_timers chain is never undone.
> This causes a file descriptor leak (at least two per incoming call).
> The locking in this patch probably needs review; the ao2_unlink() call does not. :-P
> \[Edit:\] *Inline patch removed*



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list