You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by S Arvind <ar...@gmail.com> on 2009/05/02 09:37:00 UTC

Doubt in threads

Is there any possibility that tomcat 6 process  threads will increase even
in the idle state without working on any request.

since if i check the tomcat thread by
*ps -C java -L -o pid,tid,pcpu,state,args | grep tomcat6 | wc -l *
in cent os after few hrs it get increased. Is it tomcat's behaviour or leak
in application?

Arvind S




*
"Many of lifes failure are people who did not realize how close they were to
success when they gave up."
-Thomas Edison*

Re: Doubt in threads

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arvind,

On 5/2/2009 3:37 AM, S Arvind wrote:
> Is there any possibility that tomcat 6 process  threads will increase even
> in the idle state without working on any request.
>
> since if i check the tomcat thread by
> *ps -C java -L -o pid,tid,pcpu,state,args | grep tomcat6 | wc -l *
> in cent os after few hrs it get increased. Is it tomcat's behaviour or leak
> in application?

Take a thread dump of your running application and see what threads
exist. If you think there are too many request processors, come back and
show us.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkn/UiEACgkQ9CaO5/Lv0PAVtQCfYy/1NjpaA18OmUMDYu8CFYZt
IiAAnRt8nE7BAGt6yMUousWjYT6Mqw21
=fZ8d
-----END PGP SIGNATURE-----

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