tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Crowther <>
Subject Re: Tomcat threads
Date Wed, 03 Mar 2010 21:03:13 GMT
On 3 March 2010 18:24, Bharath Vasudevan <> wrote:

> Hmmm...
> "No, the server will allocate maxThreads request handlers; the other
> requests would sit in the TCP stack's queue (not in the JVM), up to the
> configured acceptCount value - which you can set as high as your OS
> allows."
> I was assuming that the tomcat main thread is going to pick it up from the
> TCP stack and let the web server thread handle the request. Wont tomcat
> reject the request when max threads have been reached (since it would have
> already picked up tcp layer)?
> No, because the container doesn't know when a thread might become
available.  Serving content after a delay is considered better than not
serving content at all, so the requests are simply queued in the TCP stack.

- Peter

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message