Problem with 700 users connections
Bruce Mitchener
bruce.mitchener at gmail.com
Tue Jun 7 06:44:12 EDT 2011
Did you increase the number of file descriptors that can be used by a single
process? IIRC, Ubuntu 10.04 defaults to 1024 ...
- Bruce
On Tue, Jun 7, 2011 at 4:54 PM, David <dekana at neotech.ge> wrote:
> Hello Trustin
>
> We use Netty 3.2.2 and we are satisfied with communication. We moved to a
> Linux server ( Ubuntu 10.04) and for testing created simulation platform
> which tries to create clients and communicate with server. When creating
> clients up to 500, we have no problem and everything is working fine. But
> when adding more than 500 clients ( from 500 to 700 ) the server freezes
> and
> don't add more clients. The server communicated without any problem with
> connected clients, but doesn't add new clients. We don't know exactly if
> the
> problem is in the OS or in software. Do you know or can help us with this
> problem?
>
> We are using following Parameters:
>
> ChannelFactory factory = new NioServerSocketChannelFactory(
> Executors.newCachedThreadPool(),
> Executors.newCachedThreadPool());
> // instance Bootstrap object
> bootstrap = new ServerBootstrap(factory);
>
> bootstrap.setPipelineFactory(new GPSPipelineFactory(listener));
>
> // set bootstrap propertys
> bootstrap.setOption("reuseAddress", true);
> bootstrap.setOption("tcpNoDelay", true);
> bootstrap.setOption("keepAlive", true);
> bootstrap.setOption("receiveBufferSize", BUFFER_SIZE); // 1048576
> bootstrap.setOption("sendBufferSize", BUFFER_SIZE);
> bootstrap.setOption("oobInline", false);
>
>
>
> --
> View this message in context:
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Problem-with-700-users-connections-tp6448836p6448836.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110607/35d642aa/attachment.html
More information about the netty-users
mailing list