I don't have to time to see how relevant this is to you but this bug <a href="http://bugs.digium.com/view.php?id=9235">http://bugs.digium.com/view.php?id=9235</a> may also be of some interest to you. <br><br><div><span class="gmail_quote">
On 4/18/07, <b class="gmail_sendername">Giorgio Incantalupo</b> <<a href="mailto:gincantalupo@fgasoftware.com">gincantalupo@fgasoftware.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Hi,<br>found a web page explaining the bug:<br><a href="http://bugs.digium.com/view.php?id=7878">http://bugs.digium.com/view.php?id=7878</a><br>It seems that a patch or driver upgrade can solve the problem.<br><br><br>Giorgio Incantalupo
<br><br><br><br>Tzafrir Cohen wrote:<br>> On Mon, Apr 16, 2007 at 10:11:39AM +0200, Giorgio Incantalupo wrote:<br>><br>>> Hi,<br>>> I have an Asterisk <a href="http://1.2.9.1">1.2.9.1</a> on a Debian Sarge box with an ISDN beronet
<br>>> card. Sometimes my Asterisk frezees and user complain they cannot<br>>> make/receive calls. I took a look inside messages log file and I saw<br>>> errors like this:<br>>><br>>> WARNING[21701] res_agi.c: unable to create fromast pipe: Too many open files
<br>>> WARNING[2894] acl.c: Cannot create socket<br>>> ERROR[21971] rtp.c: Unable to allocate socket: Too many open files<br>>> WARNING[21971] chan_sip.c: Unable to create RTP audio session: Too many<br>
>> open files<br>>> ERROR[21971] chan_sip.c: Unable to build sip pvt data for '1' (Out of<br>>> memory)<br>>> NOTICE[21971] app_dial.c: Unable to create channel of type 'SIP' (cause
<br>>> 42 - Switching equipment congestion)<br>>> WARNING[2894] acl.c: Cannot create socket<br>>> ...<br>>><br>><br>> and naturally: asterisk -rx "stop now" will fail to connect due to
<br>> lack of file handles.<br>><br>><br>>> Before restarting Asterisk I typed lsof getting a lot of lines like this<br>>> (about 1000 lines):<br>>> asterisk 31417 asterisk 1021w FIFO 0,5 749130 pipe
<br>>> asterisk 31417 asterisk 1022w FIFO 0,5 749266 pipe<br>>> asterisk 31417 asterisk 1023w FIFO 0,5 749285<br>>> pipe <---last one of my output!
<br>>><br>>> It seems that asterisk is creating pipes for some unknown (to me) reason.<br>>><br>>> Is there anybody who knows what is creating all these pipes? I'd like to<br>>> avoid a scheduled "restart now" every day (smells like Microsoft style...)
<br>>> Consider that we have many PBXes but this strange phenomena seems to<br>>> happen only with ISDN (we have Asterisk Boxes with PRI cards but got no<br>>> problems at all even with a lot of calls per minutes).
<br>>><br>><br>> What do you see in:<br>><br>> ls -l /proc/`cat /var/run/asterisk/asterisk.pid`/fd<br>><br>> (note: this should have 1024 lines)<br>><br>> If this is a an unnamed pipe, how do you find the other side?
<br>><br>><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br>