tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrik Rathje <hrat...@ki.tng.de>
Subject Re: unexpected timeout during benchmark
Date Thu, 09 Sep 2004 16:41:20 GMT
Hi,
increasing the values of maxThreads and acceptCount decreases the number of requests when
the timeout occurs.

On Thu, 9 Sep 2004 12:09:03 -0400
"Shapira, Yoav" <Yoav.Shapira@mpi.com> wrote:

> 
> Hi,
> Maybe all the request processing threads are busy and the accept queue
> is full?  Check your Connector configuration and increase these
> parameters if needed to allow your test to complete.
> 
> Yoav Shapira
> Millennium Research Informatics
> 
> 
> >-----Original Message-----
> >From: Henrik Rathje [mailto:hrathje@ki.tng.de]
> >Sent: Thursday, September 09, 2004 12:05 PM
> >To: tomcat-user@jakarta.apache.org
> >Subject: unexpected timeout during benchmark
> >
> >Hi,
> >I want to measure the performance of a Servlet that I wrote. To have a
> >number to compare with i wrote a servlet which does only a single
> println
> >in its doget method.
> >
> >When i measure the throughput of this servlet with ab using this
> arguments:
> >ab -n 20000 -c 10  http://localhost:8080/Messung1/TestServlet
> >I receive:
> >..
> >Completed 14000 requests
> >apr_poll: The timeout specified has expired (70007)
> >Total of 15861 requests completed
> >
> >The jvm is defenitly not out of memory, (top says 50m of -Xmx170m are
> >used) no garbage collection is performed during the test. After some
> >minites of waitung the servlet answers again (no tomcat restart
> neccessary)
> >What causes this timeout?
> >(when running with half the amout of requests, the throughput is
> 500/sec)
> >Regards, Henrik
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 
> 
> This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged.  This e-mail
is intended only for the individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the sender.  Thank you.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message