[asterisk-dev] Exceptionally long queue length queuing - Asterisk 1.2.9.1

Matthew Fredrickson creslin at digium.com
Fri Jun 30 13:57:52 MST 2006


On Jun 30, 2006, at 3:07 PM, Dov Bigio wrote:

> Dear developers,
>  
> Since we've upgraded from 1.2.6 to 1.2.9.1 our Asterisk box has been 
> crashing very often. I am not sure about the reason and have not been 
> able to reproduce it yet, but here is piece of the logs in case it 
> might be helpful for a deeper analysis.
>  
> I tend to think it is a bug, since this was not a problem on previous 
> versions...
>  
> Thank you
> Dov
>  
> == verbose ==
>  
> Jun 30 16:23:32 WARNING[10460] channel.c: Exceptionally long queue 
> length queuing to Local/348 at default-2130,2
> Jun 30 16:23:33 WARNING[10460] channel.c: Exceptionally long queue 
> length queuing to Local/348 at default-2130,2
> Jun 30 16:23:33 WARNING[10460] channel.c: Exceptionally long queue 
> length queuing to Local/348 at default-2130,2
> Jun 30 16:23:33 WARNING[10460] channel.c: Exceptionally long queue 
> length queuing to Local/348 at default-2130,2
> Jun 30 16:23:34 WARNING[10460] channel.c: Exceptionally long queue 
> length queuing to Local/348 at default-2130,2
> Jun 30 16:26:27 VERBOSE[14243] logger.c:     -- x=0, open writing:  
> /var/spool/asterisk/voicemail/default/304/tmp/e6KPcG format: wav, 
> 0x91a50d8
> Jun 30 16:28:14 WARNING[29922] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:28:14 ERROR[29922] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:28:14 WARNING[29922] chan_sip.c: Unable to create RTP audio 
> and video session: Too many open files
> Jun 30 16:28:15 ERROR[29922] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:28:15 ERROR[29922] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:28:15 WARNING[29922] chan_sip.c: Unable to create RTP audio 
> and video session: Too many open files
> Jun 30 16:28:21 WARNING[14286] file.c: Couldn't open file 
> /var/lib/asterisk/mohmp3/defaultfila/01.pcm
> Jun 30 16:28:21 WARNING[14286] res_musiconhold.c: Unable to open file 
> '/var/lib/asterisk/mohmp3/defaultfila/01': No such file or directory
> Jun 30 16:28:49 WARNING[29922] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:28:49 WARNING[29922] channel.c: Channel allocation failed: 
> Can't create alert pipe!
> Jun 30 16:28:49 WARNING[29922] chan_sip.c: Unable to allocate SIP 
> channel structure
> Jun 30 16:28:54 WARNING[29922] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:28:54 WARNING[29922] channel.c: Channel allocation failed: 
> Can't create alert pipe!
> Jun 30 16:28:54 WARNING[29922] chan_sip.c: Unable to allocate SIP 
> channel structure
> Jun 30 16:28:59 WARNING[29922] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:28:59 WARNING[29922] channel.c: Channel allocation failed: 
> Can't create alert pipe!
> Jun 30 16:28:59 WARNING[29922] chan_sip.c: Unable to allocate SIP 
> channel structure
> Jun 30 16:29:00 WARNING[29922] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:29:00 WARNING[29922] channel.c: Channel allocation failed: 
> Can't create alert pipe!
> Jun 30 16:29:00 WARNING[29922] chan_sip.c: Unable to allocate SIP 
> channel structure
> Jun 30 16:29:01 WARNING[29922] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:29:01 WARNING[29922] channel.c: Channel allocation failed: 
> Can't create alert pipe!
> Jun 30 16:29:01 WARNING[29922] chan_sip.c: Unable to allocate SIP 
> channel structure
> Jun 30 16:29:01 WARNING[29922] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:29:01 WARNING[29922] channel.c: Channel allocation failed: 
> Can't create alert pipe!
> Jun 30 16:29:01 WARNING[29922] chan_sip.c: Unable to allocate SIP 
> channel structure
> Jun 30 16:29:04 WARNING[14357] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:29:04 ERROR[14357] rtp.c: Unable to allocate socket: Too 
> many open files
> Jun 30 16:29:04 WARNING[14357] chan_sip.c: Unable to create RTP audio 
> and video session: Too many open files
> Jun 30 16:29:04 ERROR[14357] chan_sip.c: Unable to build sip pvt data 
> for 'GWTRK02/065250116' (Out of memory)
> Jun 30 16:29:04 ERROR[14357] rtp.c: Unable to allocate socket: Too 
> many open files
>

Looks like that might be your problem.  For more help on how to 
alleviate it, do a `man ulimit`

Matthew Fredrickson




More information about the asterisk-dev mailing list