Endre St�lsvik wrote:

> I'm trying desperately to get tomcat to use only ONE thread. But I always
> seem to end up with 10 or so..
>
> I guess this is because of tomcat internals, but just how many threads
> does tomcat really need?
>

Tomcat needs one thread for each simultaneous request you want it to be able to
handle, plus a few assorted background threads (such as checking for expired
sessions).

Even if you modified Tomcat to use only one thread, you would be terribly
disappointed with the performance.  Consider that most browsers (by default)
will initiate multiple requests, even for a single user, to retrieve images on
that page.

>
> --
> Mvh,
> Endre

Craig McClanahan


Reply via email to