I am currently benchmarking tomcat to see what sort of performance I can expect.

I setup tomcat with the default configuration and then run "ab -c 1000 -n 
1000000 http://localhost:8080/examples/servlets/servlet/HelloWorldExample";

Occasionally, ab will terminate prematurely with error such as 
"apr_socket_recv: Connection reset by peer (104)"

This happens with bio, nio, and apr connectors.

How do I configure tomcat or my OS to handle this workload? I have not 
experienced this problem with other webservers or Jetty... what is happening?

Versions:
Tomcat 7.0.29
ab 2.3

Reply via email to