General question about concurrent connections and Netty.

javadevmtl java.dev.mtl at gmail.com
Mon Jun 14 15:54:16 EDT 2010


Using Netty 3.1.5 GA

I'm getting some client side errors when I stress my server using JMeter. So
I'm wondering if I need to anything to configure my Windows Server 2003 SP2

These are the errors I'm getting recorded by JMeter (No particular order):
- Read error:java.net.SocketException: Connection reset
- Write error java.net.SocketException: Software caused connection abort:
socket write error
- Write error java.net.SocketException: Connection reset by peer: socket
write error
- Read error:java.net.SocketException: Software caused connection abort:
recv failed 

At about 250 requests a second I get the above errors. Anything below it's
ok. Does the application logic possibly affect this also? If the handler is
doing a decent load, does connection accepting get affected or is everything
queued up?

I initialize the server the standard way pretty much...

factory = new NioServerSocketChannelFactory(Executors.newCachedThreadPool(),
Executors.newCachedThreadPool());		
ServerBootstrap bootstrap = new ServerBootstrap(factory);


-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/General-question-about-concurrent-connections-and-Netty-tp5179056p5179056.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list