You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ozgur Ozdemircili <oz...@gmail.com> on 2010/07/05 11:07:33 UTC

Re: Tomcat current thread count

Hi Charles,

Is there any way I can clear the current thread count without restarting
tomcat? The programmer is unable to accept the problem so it seems I will
have to find a way to clear current thread number.

Thank you.


Özgür Özdemircili
http://www.acikkod.org
Code so clean you could eat off it






On Mon, Jun 28, 2010 at 3:26 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Ozgur Ozdemircili [mailto:ozgur.ozdemircili@gmail.com]
> > Subject: Re: Tomcat current thread count
> >
> > Here we go again.
>
> Same comments apply as before:
>
> You have numerous Timer-x threads going, which makes me suspicious that
> your webapp is starting up extra threads and not properly managing them.
>  Simply making them daemon (as they are) is not sufficient, since the daemon
> threads won't terminate until Tomcat is fully shut down.  There are also
> some other threads running that start in your webapp, including some waiting
> for input on UDP sockets.
>
> This still looks like poor resource management by your webapp.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Tomcat current thread count

Posted by Ozgur Ozdemircili <oz...@gmail.com>.
Was just a double check.

Thanks for all the help Chuck.

Özgür Özdemircili
http://www.acikkod.org
Code so clean you could eat off it




On Mon, Jul 5, 2010 at 3:59 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Ozgur Ozdemircili [mailto:ozgur.ozdemircili@gmail.com]
> > Subject: Re: Tomcat current thread count
> >
> > Is there any way I can clear the current thread count without
> > restarting tomcat?
>
> Clearing the thread *count* does nothing - you have to actually terminate
> the excess threads.
>
> > The programmer is unable to accept the problem
>
> Then you need another programmer; refusing to fix a blatant error isn't
> exactly a sterling recommendation.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

RE: Tomcat current thread count

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ozgur Ozdemircili [mailto:ozgur.ozdemircili@gmail.com]
> Subject: Re: Tomcat current thread count
> 
> Is there any way I can clear the current thread count without
> restarting tomcat?

Clearing the thread *count* does nothing - you have to actually terminate the excess threads.

> The programmer is unable to accept the problem

Then you need another programmer; refusing to fix a blatant error isn't exactly a sterling recommendation.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org