Hi, For those clients failed establish a connection, do they report any errors such as connection timeout, etc? I've run a simple experiment that tries to establish 300 connections to the example sumupserver running on another machine in the local network, and I found no problem. However, my client code is in Java, so it is different from your situation.
And could you also remove the threadmodel settings and set it to be Thread.manual, then increase the receiver buffer size in SocketAcceptorConfig.getSessionConfig().setReceiveBufferSize(), just for a experiment? Cheers, Qi -- View this message in context: http://www.nabble.com/How-can-i-improve-the-total-numbers-of-session-which-server-will--handle-connects-from-client-tp14429723s16868p14449315.html Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.
