tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bharath Vasudevan <bharath....@gmail.com>
Subject Re: Tomcat threads
Date Thu, 04 Mar 2010 07:30:03 GMT
Thanks Folks.

On Wed, Mar 3, 2010 at 1:03 PM, Peter Crowther
<peter.crowther@melandra.com>wrote:

> On 3 March 2010 18:24, Bharath Vasudevan <bharath.cng@gmail.com> 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
>

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