[asterisk-bugs] [Asterisk 0015627]: Asterisk runs out of sockets
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Aug 10 23:17:09 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-10 23:17 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,
======================================================================
----------------------------------------------------------------------
(0108880) falves11 (reporter) - 2009-08-10 23:17
https://issues.asterisk.org/view.php?id=15627#c108880
----------------------------------------------------------------------
Asterisk SVN-branch-1.4-r211112 has the same issue. At the end of the day,
with no calls open or in process, the count of sockets in use as reported
by linux is high. I suggest a new CLI command be created to cleanup any
sockets that are not attached to any open objects. For example: "core
release sockets", which will somehow check with Linux, get the list of open
sockets open by the same process and tell Linux to release the ones that
are not attached to any object. Is this doable? The other option is to log
the function that opens and closes each socket and at the end of the day we
could determine what happened.
Issue History
Date Modified Username Field Change
======================================================================
2009-08-10 23:17 falves11 Note Added: 0108880
======================================================================
More information about the asterisk-bugs
mailing list