Re: Found : Re: [Asterisk-Users] Sip too many open files?

2003-06-25 Thread Steven Critchfield
Php potentially has many bugs, especially when used in CLI. I would check to make sure you didn't open using pconnect first. Persistent connects in CLI mode PHP don't make sense and could cause that problem. Unless you need php, you should be able to convert it to perl really easy. If the script

Found : Re: [Asterisk-Users] Sip too many open files?

2003-06-25 Thread Matteo Brancaleoni
mmh, I think I found the problem. seems that my agi script that I use to lookup channels on a db doesn't close the pipe properly. So fd descriptors starts to pile up until the process max files is reached... My script is written in php-4.3.2 (cli). Is very simple, and I open & close sockets proper

Re: [Asterisk-Users] Sip too many open files?

2003-06-23 Thread Tilghman Lesher
On Monday 23 June 2003 09:32 am, Brancaleoni Matteo wrote: > Today my pbx stopped responding to my sip phones.. > looking into the log, here what I got: > > Jun 23 15:50:05 WARNING[7176]: File rtp.c, Line 586 (ast_rtp_new): > Unable to allocate socket: Too many open files The open file limit is pe

[Asterisk-Users] Sip too many open files?

2003-06-23 Thread Brancaleoni Matteo
Today my pbx stopped responding to my sip phones.. looking into the log, here what I got: Jun 23 15:50:05 WARNING[7176]: File rtp.c, Line 586 (ast_rtp_new): Unable to allocate socket: Too many open files Jun 23 15:50:05 WARNING[7176]: File chan_sip.c, Line 1308 (sip_alloc): Unable to create RTP se