Did you increase the number of file descriptors that can be used by a single process? IIRC, Ubuntu 10.04 defaults to 1024 ...<div><br></div><div> - Bruce<br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 4:54 PM, David <span dir="ltr">&lt;<a href="mailto:dekana@neotech.ge">dekana@neotech.ge</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Trustin<br>
<br>
We use Netty 3.2.2 and we are satisfied with communication. We moved to a<br>
Linux server ( Ubuntu 10.04) and for testing created simulation platform<br>
which tries to create clients and communicate with server. When creating<br>
clients up to 500, we have no problem and everything is working fine. But<br>
when adding more than 500 clients ( from 500 to 700 ) the server freezes and<br>
don&#39;t add more clients. The server communicated without any problem with<br>
connected clients, but doesn&#39;t add new clients. We don&#39;t know exactly if the<br>
problem is in the OS or in software. Do you know or can help us with this<br>
problem?<br>
<br>
We are using following Parameters:<br>
<br>
    ChannelFactory factory = new NioServerSocketChannelFactory(<br>
                    Executors.newCachedThreadPool(),<br>
                    Executors.newCachedThreadPool());<br>
    // instance Bootstrap object<br>
    bootstrap = new ServerBootstrap(factory);<br>
<br>
    bootstrap.setPipelineFactory(new GPSPipelineFactory(listener));<br>
<br>
    // set bootstrap propertys<br>
    bootstrap.setOption(&quot;reuseAddress&quot;, true);<br>
    bootstrap.setOption(&quot;tcpNoDelay&quot;, true);<br>
    bootstrap.setOption(&quot;keepAlive&quot;, true);<br>
    bootstrap.setOption(&quot;receiveBufferSize&quot;, BUFFER_SIZE);  // 1048576<br>
    bootstrap.setOption(&quot;sendBufferSize&quot;, BUFFER_SIZE);<br>
    bootstrap.setOption(&quot;oobInline&quot;, false);<br>
<font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Problem-with-700-users-connections-tp6448836p6448836.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Problem-with-700-users-connections-tp6448836p6448836.html</a><br>

Sent from the Netty User Group mailing list archive at Nabble.com.<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
</font></blockquote></div><br></div>