tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: tomcat 5.5 memory
Date Tue, 11 Nov 2008 22:08:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alberto,

Alberto Jesus La Rosa Agramonte wrote:
> [is ~25 Java processes normal for Tomcat?]

Yes. Most UNIX/Linux variants display individual threads as processes.
This means that you have around 25 threads within the JVM. What kernel
version are you running? Recent Linux kernels do not show all these
threads as processes, but rather show just the master process once.

Try running ps with the '-f' (forest) switch which will show you
relationships between processes. You'll see that there's a main process
and many sub-processes which represent the threads.

There's nothing to worry about, here: the threads don't really take up
7MB a piece. A lot of this memory is shared between the threads.

- -chris

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

iEYEARECAAYFAkkaAk4ACgkQ9CaO5/Lv0PCmfgCgur8AjS2uzip+XukrpWWyaq1e
TasAnjA+MHS+ERe3XGUfB2Sl5/05qdsT
=IaPN
-----END PGP SIGNATURE-----

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


Mime
View raw message