I don&#39;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&nbsp;be&nbsp;of&nbsp;some&nbsp;interest&nbsp;to&nbsp;you.&nbsp; <br><br><div><span class="gmail_quote">
On 4/18/07, <b class="gmail_sendername">Giorgio Incantalupo</b> &lt;<a href="mailto:gincantalupo@fgasoftware.com">gincantalupo@fgasoftware.com</a>&gt; 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>&gt; On Mon, Apr 16, 2007 at 10:11:39AM +0200, Giorgio Incantalupo wrote:<br>&gt;<br>&gt;&gt; Hi,<br>&gt;&gt; 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>&gt;&gt; card. Sometimes my Asterisk frezees and user complain they cannot<br>&gt;&gt; make/receive calls. I took a look inside messages log file and I saw<br>&gt;&gt; errors like this:<br>&gt;&gt;<br>&gt;&gt; WARNING[21701] res_agi.c: unable to create fromast pipe: Too many open files
<br>&gt;&gt; WARNING[2894] acl.c: Cannot create socket<br>&gt;&gt; ERROR[21971] rtp.c: Unable to allocate socket: Too many open files<br>&gt;&gt; WARNING[21971] chan_sip.c: Unable to create RTP audio&nbsp;&nbsp;session: Too many<br>
&gt;&gt; open files<br>&gt;&gt; ERROR[21971] chan_sip.c: Unable to build sip pvt data for &#39;1&#39; (Out of<br>&gt;&gt; memory)<br>&gt;&gt; NOTICE[21971] app_dial.c: Unable to create channel of type &#39;SIP&#39; (cause
<br>&gt;&gt; 42 - Switching equipment congestion)<br>&gt;&gt; WARNING[2894] acl.c: Cannot create socket<br>&gt;&gt; ...<br>&gt;&gt;<br>&gt;<br>&gt; and naturally:&nbsp;&nbsp; asterisk -rx &quot;stop now&quot;&nbsp;&nbsp; will fail to connect due to
<br>&gt; lack of file handles.<br>&gt;<br>&gt;<br>&gt;&gt; Before restarting Asterisk I typed lsof getting a lot of lines like this<br>&gt;&gt; (about 1000 lines):<br>&gt;&gt; asterisk&nbsp;&nbsp;31417 asterisk 1021w&nbsp;&nbsp;&nbsp;&nbsp; FIFO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0,5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;749130 pipe
<br>&gt;&gt; asterisk&nbsp;&nbsp;31417 asterisk 1022w&nbsp;&nbsp;&nbsp;&nbsp; FIFO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0,5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;749266 pipe<br>&gt;&gt; asterisk&nbsp;&nbsp;31417 asterisk 1023w&nbsp;&nbsp;&nbsp;&nbsp; FIFO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0,5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;749285<br>&gt;&gt; pipe&nbsp;&nbsp;&nbsp;&nbsp;&lt;---last one of my output!
<br>&gt;&gt;<br>&gt;&gt; It seems that asterisk is creating pipes for some unknown (to me) reason.<br>&gt;&gt;<br>&gt;&gt; Is there anybody who knows what is creating all these pipes? I&#39;d like to<br>&gt;&gt; avoid a scheduled &quot;restart now&quot; every day (smells like Microsoft style...)
<br>&gt;&gt; Consider that we have many PBXes but this strange phenomena seems to<br>&gt;&gt; happen only with ISDN (we have Asterisk Boxes with PRI cards but got no<br>&gt;&gt; problems at all even with a lot of calls per minutes).
<br>&gt;&gt;<br>&gt;<br>&gt; What do you see in:<br>&gt;<br>&gt;&nbsp;&nbsp; ls -l /proc/`cat /var/run/asterisk/asterisk.pid`/fd<br>&gt;<br>&gt; (note: this should have 1024 lines)<br>&gt;<br>&gt; If this is a an unnamed pipe, how do you find the other side?
<br>&gt;<br>&gt;<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>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br>