Problem with Keep Alive in Snoop example

Dinesh dinesh.pathak at gmail.com
Tue Jun 21 01:44:37 EDT 2011


Hi, I am using HTTP snoop example. When I am testing it with ab -n 10000 -c
1000 -k, its giving errors. I have set child.keepAlive=true. Could this be
issue with ab. I am setting connection:keep-Alive in the response. ulimit is
set to 50000. It works fine without -k option for upto 5000 concurrent
requests. Do I need to specify/override some timeout settings somewhere

java.io.IOException: Connection reset by peer
	at sun.nio.ch.FileDispatcher.read0(Native Method)
	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:237)
	at sun.nio.ch.IOUtil.read(IOUtil.java:204)
	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236)
	at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:321)


--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Problem-with-Keep-Alive-in-Snoop-example-tp6498772p6498772.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list