[asterisk-bugs] [Asterisk 0015627]: Asterisk runs out of sockets
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Aug 14 04:24:51 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15627
======================================================================
Reported By: falves11
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15627
Category: Core/Netsock
Reproducibility: always
Severity: block
Priority: normal
Status: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2
SVN Revision (number only!): 209626
Request Review:
======================================================================
Date Submitted: 2009-07-31 17:12 CDT
Last Modified: 2009-08-14 04:24 CDT
======================================================================
Summary: Asterisk runs out of sockets
Description:
The Parallels engineers have found a bug that takes down asterisk because
the server runs out of sockets, and also it degrades the performance
because over time it takes more and more time for the processor to find an
empty socket. The load on the processor grows over time,
======================================================================
----------------------------------------------------------------------
(0109032) falves11 (reporter) - 2009-08-14 04:24
https://issues.asterisk.org/view.php?id=15627#c109032
----------------------------------------------------------------------
Please find attached the log that was requested. I sent a SIP call to an IP
address that is down. As you may see, Asterisk sends the same INVITE 5
times and then the call is rejected. That is fine, except that if you look
at the end, when I type "sip show channels", there is a dialog open
sip show channels
Peer User/ANR Call ID Format Hold
Last Message Expiry
86.100.217.35 1954444740 OGUyMDc4OWQxMDQ 0x0 (nothing) No
Rx: ACK
72.187.243.97 1256428616 3077f28a76e6e01 0x0 (nothing) No
Init: INVITE
2 active SIP dialogs
The second line shows a dialog that lingers on for ever, and also if you
look in Linux with "lsof -i | grep UDP", it shows that two ports get taken
and are never returned to the Linux pool, or reused,
This is what happens to me daily. I have a carrier that goes down and
since I have many, many calls, I exhaust the UDP pool and the server needs
to be recycled.
Issue History
Date Modified Username Field Change
======================================================================
2009-08-14 04:24 falves11 Note Added: 0109032
======================================================================
More information about the asterisk-bugs
mailing list