[asterisk-bugs] [Asterisk 0011149]: Asterisk 1.4.13 Produces mutex errors and too many files open error
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Nov 3 02:18:41 CDT 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11149
======================================================================
Reported By: safarifone
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11149
Category: Core/Channels
Reproducibility: random
Severity: major
Priority: normal
Status: feedback
Asterisk Version: 1.4.13
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 11-02-2007 13:16 CDT
Last Modified: 11-03-2007 02:18 CDT
======================================================================
Summary: Asterisk 1.4.13 Produces mutex errors and too many
files open error
Description:
I just recently installed the Asterisk version 1.4.13 on Dell PowerEdge
Machine with 4GB RAM, Quad Core 1.8 Intel CPU Running RHEL5.
I am running SIP to SIP bridged calls with no transacoding.
When the number of calls reach between 70 and 80 active calls, i
experience the
following errors. Asterisk does crash, but also not accepting any new
calls.
--------------some output of
/var/log/asterisk/messages-------------------------[Oct 30 13:00:08]
ERROR[8405] /usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c
line 15721 (sip_request_call): mutex '&p->lock' freed more times than we've
locked!
[Oct 30 13:00:08] ERROR[8405]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Oct 30 13:00:08] ERROR[8408] rtp.c: Unable to allocate socket: Too many
open files
[Oct 30 13:00:08] ERROR[8408] chan_sip.c: Unable to build sip pvt data for
'251915755730 at 209.167.51.227' (Out of memory or socket error)
[Oct 30 13:00:08] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:00:08] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): Error releasing mutex: Operation not permitted
[Oct 30 13:00:08] ERROR[27207] rtp.c: Unable to allocate socket: Too many
open files
[Oct 30 13:00:10] ERROR[8413] rtp.c: Unable to allocate socket: Too many
open files
[Oct 30 13:00:10] ERROR[8413] chan_sip.c: Unable to build sip pvt data for
'25215924032 at 85.90.45.38' (Out of memory or socket error)
[Oct 30 13:00:11] ERROR[8420] rtp.c: Unable to allocate socket: Too many
open files
[Oct 30 13:00:11] ERROR[8420] chan_sip.c: Unable to build sip pvt data for
'25215512220 at 85.90.45.38' (Out of memory or socket error)
[Oct 30 13:00:18] ERROR[8467]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:00:18] ERROR[8467]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Oct 30 13:00:18] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:00:18] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): Error releasing mutex: Operation not permitted
[Oct 30 13:00:18] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:00:18] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): Error releasing mutex: Operation not permitted
[Oct 30 13:00:19] ERROR[8472]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:00:19] ERROR[8472]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Oct 30 13:00:20] ERROR[8477]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:00:20] ERROR[8477]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Oct 30 13:00:24] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:00:24] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): Error releasing mutex: Operation not permitted
[Oct 30 13:00:41] ERROR[8643]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:00:41] ERROR[8643]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Oct 30 13:17:17] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:17:17] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): Error releasing mutex: Operation not permitted
[Oct 30 13:17:18] ERROR[27207] rtp.c: Unable to allocate socket: Too many
open files
[Oct 30 13:17:18] ERROR[13276]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:17:18] ERROR[13276]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Oct 30 13:17:19] ERROR[13279] rtp.c: Unable to allocate socket: Too many
open files
[Oct 30 13:17:19] ERROR[13279] chan_sip.c: Unable to build sip pvt data
for '25215592933 at 85.90.45.38' (Out of memory or socket error)
[Oct 30 13:18:41] ERROR[13930]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:18:41] ERROR[13930]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Oct 30 13:18:41] ERROR[13936]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:18:41] ERROR[13936]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Oct 30 13:18:41] ERROR[13942]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): mutex '&p->lock' freed more times than we've locked!
[Oct 30 13:18:41] ERROR[13942]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Oct 31 13:35:05] ERROR[27207] rtp.c: Unable to allocate socket: Too many
open files
[Oct 31 13:35:06] ERROR[31058]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): mutex '&p->lock' freed more times than we've locked!
[Oct 31 13:35:06] ERROR[31058]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Oct 31 13:35:06] ERROR[31079]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): mutex '&p->lock' freed more times than we've locked!
[Oct 31 13:35:06] ERROR[31079]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15721
(sip_request_call): Error releasing mutex: Operation not permitted
[Nov 1 11:55:54] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): mutex '&p->lock' freed more times than we've locked!
[Nov 1 11:55:54] ERROR[27207]
/usr/src/asterisk-1.4.13/include/asterisk/lock.h: chan_sip.c line 15190
(sipsock_read): Error releasing mutex: Operation not permitted
[Nov 1 11:55:55] ERROR[27207] rtp.c: Unable to allocate socket: Too many
open files
[Nov 1 11:55:56] ERROR[27207] rtp.c: Unable to allocate socket: Too many
open files
======================================================================
----------------------------------------------------------------------
safarifone - 11-03-07 02:18
----------------------------------------------------------------------
Please find below the output of the ulimit -a:
------------------------------------------------------------------------------
[root at gw4 ~]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 65536
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
max rt priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 65536
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
[root at gw4 ~]#
Issue History
Date Modified Username Field Change
======================================================================
11-03-07 02:18 safarifone Note Added: 0073043
======================================================================
More information about the asterisk-bugs
mailing list