Summary:ASTERISK-00004: System stops processing calls about one per day. Built from 07/18/03 CVS
Reporter:daryl (daryl)Labels:
Date Opened:2003-07-19 20:51:31Date Closed:2004-09-25 02:40:14
Versions:Frequency of
Description:Asterisk stops processing calls about once per day for the past week.  Need to kill the asterisk process and restart to recover. The following messages appear in the log file.

Jul 19 18:24:23 WARNING[1158913328]: File rtp.c, Line 683
(ast_rtp_new): Unable to allocate socket: Too many open files
Jul 19 18:24:23 WARNING[1158913328]: File chan_sip.c, Line 1367 (sip_alloc): Unable to create RTP session: Too many open files


Comments:By: Mark Spencer (markster) 2003-07-22 17:48:58

When it gets stuck, or even after a few calls, can you do ls -l /proc/<pid of asterisk>/fds and tell me what you see.

By: daryl (daryl) 2003-07-22 21:14:10

Will do.  It's been stable for about 24 hours running yesterday's CVS.  Also, I disabled music on hold. Unknown if there is a connection to MOH.

By: Mark Spencer (markster) 2003-07-26 10:10:50

Any update on this bug?  Has the problem shown up again?  If not, does turning on MOH cause it to show up again?

By: daryl (daryl) 2003-07-27 10:40:59

I turned MOH back on yesterday morning and the system ran for at least 12 hours without a problem. I stopped the system to build the latest CVS and restarted. It has been running for 10 hours without a problem.

By: daryl (daryl) 2003-07-28 13:57:45

The host crashed with a PCI bus error message that was rapidly scrolling on the console. Unable to get a shell prompt. Calls were not being processed. Had to power-cycle to recover.  This host is dedicated to running Asterisk.  MOH was disabled in musiconhold.conf and the mohmp3 directory was emptied. Asterisk was successfully restarted. Unknown if the crash was related to MOH.  This is the first time that this host has done anything like this.

By: Mark Spencer (markster) 2003-07-29 14:38:54

This is unrelated.  Probably related to a TDM card perhaps?  Is there one installed in this system?

By: daryl (daryl) 2003-07-29 14:45:43

There is one T100P in the system.  The system has been running fine for 30 hours with MOH disabled.

By: Mark Spencer (markster) 2003-08-02 15:03:05

Is this bug report ready to be resolved?

By: daryl (daryl) 2003-08-02 17:23:16

Mark... Close this if you want to.  I think there may be a problem with MOH on Redhat-9 systems, however I am going to leave MOH disabled for now.