[Asterisk-Users] System Hang Problem

Michael Bielicki cypromis at gmail.com
Mon Oct 11 10:38:41 MST 2004


You have to adjust the file-max value for your kernel. If you use
sysctl the setting is in the
fs.file-max setting.

cheers
Michael

On Mon, 11 Oct 2004 10:48:21 -0400, Darren Sessions
<dsessions at ionosphere.net> wrote:
> I am getting some weird behavior and a rash of interesting messages in
> the log files. If anyone has some ideas, it would be appreciated.
> 
> Using Asterisk v1.0.1 on Suse Enterprise Linux v8.0. HP DL380 Server.
> 4GB Ram - Dual 3.2ghz processors.
> 
> This first entry is when asterisk simply goes unresponsive. We've got a
> script that automatically polls asterisk (via sip) and restarts it if
> it does not receive a response. Notice the 9:56 to 10:01 gap.
> 
> Oct 11 09:53:29 WARNING[6427661]: Failed to write frame
> Oct 11 09:55:53 WARNING[6445068]: Failed to write frame
> Oct 11 09:56:10 WARNING[6449163]: Failed to write frame
> Oct 11 10:01:59 NOTICE[6478861]: Removed default indication country 'us'
> Oct 11 10:01:59 NOTICE[6150]: Cannot find extension context 'default'
> Oct 11 10:01:59 NOTICE[6150]: Cannot find extension context 'default'
> Oct 11 10:01:59 NOTICE[6150]: Cannot find extension context 'default'
> Oct 11 10:02:01 NOTICE[1024]: parking.conf is deprecated in favor of
> 'features.c
> 
> We've started getting allot of these messages in our log files.
> Unlikely that this is not associated with the first problem.
> 
> Oct 11 10:02:05 WARNING[6150]: Unable to create RTP session: Too many
> open files
> Oct 11 10:02:05 WARNING[6150]: Unable to build sip pvt data for MWI
> Oct 11 10:02:05 WARNING[6150]: Unable to allocate socket: Too many open
> files
> Oct 11 10:02:05 WARNING[6150]: Unable to create RTP session: Too many
> open files
> Oct 11 10:02:05 WARNING[6150]: Unable to build sip pvt data for MWI
> Oct 11 10:02:05 WARNING[6150]: Unable to allocate socket: Too many open
> files
> Oct 11 10:02:05 WARNING[6150]: Unable to create RTP session: Too many
> open files
> Oct 11 10:02:05 WARNING[6150]: Unable to build sip pvt data for MWI
> Oct 11 10:02:06 WARNING[6150]: Unable to allocate socket: Too many open
> files
> Oct 11 10:02:06 WARNING[6150]: Unable to create RTP session: Too many
> open files
> Oct 11 10:02:06 WARNING[6150]: Unable to build sip pvt data for MWI
> Oct 11 10:02:06 WARNING[6150]: Unable to allocate socket: Too many open
> files
> Oct 11 10:02:06 WARNING[6150]: Unable to create RTP session: Too many
> open files
> Oct 11 10:02:06 WARNING[6150]: Unable to build sip pvt data for MWI
> Oct 11 10:02:06 WARNING[6150]: Unable to allocate socket: Too many open
> files
> Oct 11 10:02:06 WARNING[6150]: Unable to create RTP session: Too many
> open files
> Oct 11 10:02:06 WARNING[6150]: Unable to build sip pvt data for MWI
> Oct 11 10:02:06 WARNING[6150]: Unable to allocate socket: Too many open
> files
> Oct 11 10:02:06 WARNING[6150]: Unable to create RTP session: Too many
> open files
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 


-- 
Michael Bielicki



More information about the asterisk-users mailing list