[asterisk-bugs] [JIRA] (ASTERISK-22614) Asterisk 12 using 308.000 handles with 60 open calls

Private Name (JIRA) noreply at issues.asterisk.org
Sat Sep 28 02:53:03 CDT 2013


Private Name created ASTERISK-22614:
---------------------------------------

             Summary: 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


My application crashes when it reaches 100 channels, and I just compiled it without optimization. With 67 opencalls,
 lsof | grep asterisk|wc -l
308261
There is a huge handles leak. 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.

dialplan

[inbound]
exten => _X.,1,Set(CODEC=${IF($["${REGEX("ulaw" ${CHANNEL(audioreadformat)})}" = "1"]?ulaw:g729)})
exten => _X.,n,Set(GROUP()=trunkgroup1)
exten => _X.,n,Set(Client=${CUT(CHANNEL(name),/,2)})
exten => _X.,n,Set(CDR(userfield)=${CUT(Client,-,1)})
exten => _X.,n,Set(CDR(client)=${CUT(Client,-,2)})
exten => _X.,n,Set(Target=${GW${RAND(${MXC},${MX})}})
exten => _X.,n,Set(CHANNEL(accountcode)=${CODEC},${CUT(Target,-,2)})
exten => _X.,n,Set(Target=PJSIP/${CODEC}.${Target}/sip:${EXTEN}@${CUT(Target,-,1)})
exten => _X.,n,Verbose(0,${GROUP_COUNT(trunkgroup1)} ANI ${CALLERID(num)} ${CODEC} ${Target} ${EXTEN} ${Client})
exten => _X.,n,Set(CHANNEL(hangup_handler_push)=hdlr1,s,1(args))
exten => _X.,n,Dial(${Target}) 
exten => _X.,n,Hangup()


[hdlr1]
exten => s,1,Set(CDR(LRN)=${HANGUPCAUSE},${DIALSTATUS})
exten => s,n,Return()



--
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