2008/11/17 Voelker, Bernhard <span dir="ltr">&lt;<a href="mailto:bernhard.voelker@siemens.com">bernhard.voelker@siemens.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
...&nbsp;</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; [Errno 24] Too many open files: &#39;/tmp/testbzrtmJGu0.log&#39;<br>

<br>
 &nbsp; &nbsp; &nbsp; &nbsp;... many of these afterwards ...<br>
<br>
I thought 256 should be enough.<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;$ ulimit -a<br>
 &nbsp; &nbsp; &nbsp; &nbsp;time(seconds) &nbsp; &nbsp; &nbsp; &nbsp;unlimited<br>
 &nbsp; &nbsp; &nbsp; &nbsp;file(blocks) &nbsp; &nbsp; &nbsp; &nbsp; unlimited<br>
 &nbsp; &nbsp; &nbsp; &nbsp;data(kbytes) &nbsp; &nbsp; &nbsp; &nbsp; 2097152<br>
 &nbsp; &nbsp; &nbsp; &nbsp;stack(kbytes) &nbsp; &nbsp; &nbsp; &nbsp;8192<br>
 &nbsp; &nbsp; &nbsp; &nbsp;coredump(blocks) &nbsp; &nbsp; unlimited<br>
 &nbsp; &nbsp; &nbsp; &nbsp;nofiles(descriptors) 256<br>
 &nbsp; &nbsp; &nbsp; &nbsp;vmemory(kbytes) &nbsp; &nbsp; &nbsp;unlimited<br>
</blockquote></div><br>I had this problem with another program using java recently.<br>(<a href="http://amanica.blogspot.com/2008/11/javanetsocketexception-too-many-open.html">http://amanica.blogspot.com/2008/11/javanetsocketexception-too-many-open.html</a>)<br>
We got around it by increasing the amount of available memory.<br><br>If you are root you can also try to increase the limit and see if that helps. <br><br>regards<br>marius<br>