<p>Nope, this isn&#39;t about the select() limit.<br>
The soft limit on file handles should stay at 1024 so apps that use select() don&#39;t break.<br>
Apps like wine that have already switched away from select should be able to raise their soft limit if they want more file desciptors.  Wine already does this.<br>
But ubuntu is misconfigured by default with a hard limit identical to the soft limit.<br>
It&#39;s time for ubuntu to fix this by raising the default hard limit on file desciptors in /etc/security/limits.conf.<br>
Users who need this can edit that file to make their games work, but they shouldn&#39;t have to.</p>
<p>(Topposted from my cellphone)</p>
<p><blockquote type="cite">On Mar 25, 2011 8:03 AM, &quot;Paul Chitescu&quot; &lt;<a href="mailto:paulc@voip.null.ro">paulc@voip.null.ro</a>&gt; wrote:<br><br><p><font color="#500050">On Friday 25 March 2011 03:26:25 pm Dan Kegel wrote:<br>
&gt; Scott, correct me if I&#39;m wrong, but does Natt...</font></p>This is not an Ubuntu limitation but rather of the (g)libc API implementation.<br>
<br>
At least on glibc it is possible to increase the FD_SETSIZE at build time.<br>
Been there, done that, got the T-shirt. No need for header patching.<br>
<br>
<a href="http://yate.null.ro/websvn/filedetails.php?repname=yate&amp;path=%2Ftrunk%2Fengine%2FSocket.cpp" target="_blank">http://yate.null.ro/websvn/filedetails.php?repname=yate&amp;path=%2Ftrunk%2Fengine%2FSocket.cpp</a><br>

<br>
Caveat: FD_... operations take longer if FD_SETSIZE is increased.<br>
<br>
On all relevant platforms it is possible to check if a fd is above the limit.<br>
The application code must do so.<br>
<br>
Best is to internally replace select() with poll() on platforms that support<br>
it.<br>
<br>
</blockquote></p>