[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 09:51:47 CDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
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:                     new
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:              
====================================================================== 
Date Submitted:             2011-04-12 09:51 CDT
Last Modified:              2011-04-12 09:51 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)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-12 09:51 antonioasile   New Issue                                    
2011-04-12 09:51 antonioasile   Asterisk Version          => Older 1.6.2 -
please test a newer version
2011-04-12 09:51 antonioasile   Regression                => No              
2011-04-12 09:51 antonioasile   SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list