Summary: | ASTERISK-17680: rtp.c:2438 rtp_socket: Unable to allocate RTCP socket: Too many open files | ||
Reporter: | Antonio Asile (antonioasile) | Labels: | |
Date Opened: | 2011-04-12 09:51:47 | Date Closed: | 2011-04-12 10:17:48 |
Priority: | Blocker | Regression? | No |
Status: | Closed/Complete | Components: | Core/RTP |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Asterisk 1.6.1.18 120 SIP accounts System: Linux asterisk-whs 2.6.18-164.15.1.el5PAE #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) | ||
Comments: | By: Leif Madsen (lmadsen) 2011-04-12 10:17:48 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 |