Somik,

Are there really more than 1000 threads?  When I start tomcat I get about
35 threads... are you running a standardish configuration or have you
changed things?

When you say you've checked your servlets and none of them have threads
that dont end - are you sure?  maybe post one of your servlets so people
can check it.

cheesr
dim

On Tue, 31 Jul 2001, Somik Raha wrote:

> Hi,
>     Sorry for posting earlier in Rich Text.
> 
>     I am using Tomcat 3.2.1 with Apache.
>     I find a strange phenomenon - whenever an http request is made, a
> tomcat thread is created. But when the servlet finishes, the thread is
> not destroyed. This results in a big problem - after sometime, an
> OutOfMemory exception is thrown - with the message "Unable to create
> Native Thread".
>     Doing "pstree -ap" shows more than a thousand threads under the
> tomcat process (there are only a few servlets).  I have checked my
> servlets, none of them have threads that dont end.
>     
>     I checked the Tomcat page, and it says I ought to upgrade to
> 3.2.3, as there are a lot of performance fixes. Is this one of them ?
>     I want to make sure this is the problem, or the problem lies
> elsewhere..
> 
>     Will appreciate help on this issue.
>     Thanks.
> 
> Regards,
> Somik
> 

Reply via email to