[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
Tue Nov 13 07:45:29 CST 2007


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             11-02-2007 13:16 CDT
Last Modified:              11-13-2007 07:45 CST
====================================================================== 
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

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-13-07 07:45  Corydon76      Status                   feedback => closed  
11-13-07 07:45  Corydon76      Resolution               open => no change
required
======================================================================




More information about the asterisk-bugs mailing list