[asterisk-bugs] [JIRA] (ASTERISK-22614) Asterisk 12 using 308.000 handles with 60 open calls
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Sun Oct 27 14:06:03 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211270#comment-211270 ]
Matt Jordan commented on ASTERISK-22614:
----------------------------------------
The most recent backtrace devolves this issue into a duplicate of ASTERISK-22709 - that is, there is a race condition in creating a channel snapshot for a channel on a thread other than the PBX thread. The channel is not locked; hence, there is no guarantee that the channel is not disposed of during creation of the snapshot.
As such, I'm going to go ahead and close this issue out as a duplicate of ASTERISK-22709. If you are able to reproduce the handle usage problems with the latest from the 12 branch, please comment on this issue and we'll reopen it. Thanks!
> Asterisk 12 using 308.000 handles with 60 open calls
> ----------------------------------------------------
>
> Key: ASTERISK-22614
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22614
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_pjsip
> Affects Versions: 12.0.0-alpha1
> Environment: Debian 7
> Reporter: Private Name
> Assignee: Private Name
> Attachments: backtrace.txt, backtrace.txt, backtrace.txt, dialplan.txt
>
>
> My application crashes when it reaches 100 channels, and I just compiled it without optimization. With 67 opencalls,
> lsof | grep asterisk|wc -l
> 308261
> but
> lsof -i | grep asterisk|wc -l
> 1024
> There is a huge handles leak. Even 1024 network handles for 68 calls is unheard of Another problem is that the command "core restart now" does not work, hangs forever. No new calls are accepted.
> I am not an engineer, so if somebody gracefully wants to log into my box, I will point the traffic to it. If nobody can help, I understand.
> But I think we can take advantage of my testing with lots of traffic, and this debug the app.
> If I compile Asterisk with "debug threads" the app never finishes loading.
> The amount of handles keeps going up, with the same amount of channels
> In 1/2 hour reaches
> lsof | grep asterisk|wc -l
> 613388
--
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