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" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> >Sent: Thursday, September 09, 2004 12:05 PM
> >To: [EMAIL PROTECTED]
> >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: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to