NioSocketAcceptor( number ) creates N threads. > 10 is a problem in most cases. The default backlog for a SocketAcceptor in Java is 50. I have mine set to 200 to prevent dropped "accept" requests. Each time a socket attempts to connect it gets put in the backlog waiting for an "accept" to be called. If this buffer overflows the TCP connections drop in a bad way.
On Mon, Sep 30, 2013 at 11:40 AM, praveen <[email protected]>wrote: > i have set the backlog to 12 but still i have the same problem > > > > -- > View this message in context: > http://apache-mina.10907.n7.nabble.com/Unable-to-open-more-than-1000-ports-in-Mina-Client-tp39936p39962.html > Sent from the Apache MINA User Forum mailing list archive at Nabble.com. >
