[asterisk-bugs] [Asterisk 0019106]: rtp.c:2438 rtp_socket: Unable to allocate RTCP socket: Too many open files

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 12 10:17:48 CDT 2011


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=19106 
====================================================================== 
Reported By:                antonioasile
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19106
Category:                   Core/RTP
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     closed
Asterisk Version:           Older 1.6.2 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-04-12 09:51 CDT
Last Modified:              2011-04-12 10:17 CDT
====================================================================== 
Summary:                    rtp.c:2438 rtp_socket: Unable to allocate RTCP
socket: Too many open files
Description: 
Asterisk 1.6.1.18
120 SIP accounts
System: Linux asterisk-whs 2.6.18-164.15.1.el5PAE
https://issues.asterisk.org/view.php?id=1 SMP
System give me this error : "rtp.c:2438 rtp_socket: Unable to allocate
RTCP socket: Too many open files" 
when it reach about 4000 calls (4/5 working days). Then system crash, it
didn't accept inbound or outbound calls. I've setted in
/etc/init.d/asterisk:

echo -n "Setting ulimits: "
        ulimit -n 32768 -c unlimited && echo "OK" || echo "FAILED"

and I've setted in sip.conf
session-timers=refuse
But it didn't work.
Thanks a lot for any help, this server is used in a production enviroment,
actually I restart asterisk every 4 days and it works ( I suppose that when
I restart asterisk the system reset the number of open files)
====================================================================== 

---------------------------------------------------------------------- 
 (0133644) lmadsen (administrator) - 2011-04-12 10:17
 https://issues.asterisk.org/view.php?id=19106#c133644 
---------------------------------------------------------------------- 
Asterisk branch 1.6.1 is no longer supported other than for security fixes.
Information about branch support is found here:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-12 10:17 lmadsen        Note Added: 0133644                          
2011-04-12 10:17 lmadsen        Status                   new => closed       
======================================================================




More information about the asterisk-bugs mailing list