[asterisk-bugs] [JIRA] (ASTERISK-22614) Asterisk 12 using 308.000 handles with 60 open calls
Private Name (JIRA)
noreply at issues.asterisk.org
Sun Sep 29 09:35:03 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210672#comment-210672 ]
Private Name commented on ASTERISK-22614:
-----------------------------------------
The issue is in the CDR portion. After reading the trace, I disabled the hangup handler and it is holding steady with 400 channels.
If you read my dialplan, the only purpose of the hangup handler is to populate a CDR(field) with HANGUPCAUSE and DIALSTATUS. The CDR is not there and that is the cause of the crash. (guessing here)
But, I still get on the screen this error every 10 or so calls
[Sep 29 10:24:22] ERROR[14822][C-000060d0]: cdr.c:2958 ast_cdr_getvar: Unable to find CDR for channel SIP/8.19.245.37-14-0000c0e7
It may mean that the CDR records are lost, the memory is not there, etc. I am afraid I am losing records and tons of money. Could somebody look into this?
> 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, 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