Re: Errant slow request

2010-09-06 Thread Kevin
Hi Rainer, On 9/6/2010 4:21 AM, Rainer Jung wrote: I can't find any thread being active in handling a request. I checked the first, second and last dump. I couldn't either. At first I thought maybe it was Apache Bench timing out because I saturated Tomcat's thread pool/backlog, but the acces

Re: Errant slow request

2010-09-06 Thread Rainer Jung
On 05.09.2010 22:36, Kevin wrote: Hi Rainer, On 9/5/2010 12:55 AM, Rainer Jung wrote: Can you share the Java thread dumps? If locking is involved, implementations are not necessarily fair. This can lead to such behaviour, especially when locks start to become overloaded. Here is a ZIP of fou

Re: Errant slow request

2010-09-05 Thread Kevin
Hi Pid, On 9/5/2010 9:49 AM, Pid wrote: Which OS are you using? Windows 7, 32-bit One of the (non-access) log files in tomcat/logs might have a stacktrace in it. You are right. I found a NullPointerException in org.apache.catalina.core.AsyncContextImpl.doInternalComplete which occurs at

Re: Errant slow request

2010-09-05 Thread Kevin
Hi Rainer, On 9/5/2010 12:55 AM, Rainer Jung wrote: Can you share the Java thread dumps? If locking is involved, implementations are not necessarily fair. This can lead to such behaviour, especially when locks start to become overloaded. Here is a ZIP of four javacores: http://www.filesavr

Re: Errant slow request

2010-09-05 Thread Pid
On 05/09/2010 03:19, Kevin wrote: > Hi, I'm using Apache Bench (ab) to send 1,000 requests with a > concurrency of 500 to a simple servlet on Tomcat trunk (revision 992708, > 2010-09-03) which uses request.startAsync() and > Executors.newFixedThreadPool(10) to do the work and return a few bytes >

Re: Errant slow request

2010-09-05 Thread Rainer Jung
On 05.09.2010 04:19, Kevin wrote: Hi, I'm using Apache Bench (ab) to send 1,000 requests with a concurrency of 500 to a simple servlet on Tomcat trunk (revision 992708, 2010-09-03) which uses request.startAsync() and Executors.newFixedThreadPool(10) to do the work and return a few bytes of respon

Errant slow request

2010-09-04 Thread Kevin
Hi, I'm using Apache Bench (ab) to send 1,000 requests with a concurrency of 500 to a simple servlet on Tomcat trunk (revision 992708, 2010-09-03) which uses request.startAsync() and Executors.newFixedThreadPool(10) to do the work and return a few bytes of response and asyncContext.complete().