[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 10:19:03 CDT 2013


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

Private Name commented on ASTERISK-22614:
-----------------------------------------

I think I found the issue. In my opinion, the failure to match an inbound call to a peer, in spite of the peer being there, is the issue. I have this case, that happens always

[X.Y.Z.T-5]
type=peer
host=X.Y.Z.T
context=inbound
directmedia=yes
insecure=port,invite
qualify=no
autoframing=no
directrtpsetup=yes
faxdetect=no


But in my cdr, I see tons of calls where the channel name implies that the call entered the dialplan not from a peer, but as a un-peered call.
Please look:
SIP/X.Y.Z.34-12-0000d514 |
| SIP/X.Y.Z.20-000114ce    |
| SIP/X.Y.Z.37-14-000114a1 |
| SIP/X.Y.Z.20-0001142c    |
| SIP/X.Y.Z.34-12-00011466 |
| SIP/X.Y.Z.37-14-00011468 |
| SIP/X.Y.Z.92-36-00011460 |
| SIP/X.Y.Z.20-0001141a    |
| SIP/X.Y.Z.20-000113b8    |
| SIP/X.Y.Z.92-36-00010ee1 |
| SIP/X.Y.Z.20-00011361    |
| SIP/X.Y.Z.37-14-0001145c |
| SIP/X.Y.Z.34-12-00011100 |
| SIP/X.Y.Z.20-00011440    |
| SIP/X.Y.Z.34-12-000111af

In all cases where the channel name lacks a hyphen and a number following, the call was not matched to a peer. My peers are named with the IP address followed by a client number. Always from IP X.Y.Z.20, the calls are not matched, but the peer is there.

How do I fix 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