tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Optimize CPU Hogging Tomcat 6
Date Wed, 02 Feb 2011 23:29:44 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jan,

On 2/2/2011 8:21 AM, jan gestre wrote:
> I already made those changes similar to what is mentioned here -->
> http://spiralbound.net/blog/2008/03/17/rhel-system-configuration-changes-for-oracle-10g,
> it appears that the changes improved the performance, the system no
> longer chokes. However I still want to optimize other settings like
> JVM configuration to further enhance systems performance,
> unfortunately I have where to find the JVM config.

You never told us how you know that your JVM process is the one using
all the CPU time.

If you run out of file descriptors and connections cannot be made, I
would expect that you'd get an app that was doing virtually nothing. If
all your threads are idle, where is the CPU being used?

That error message about having too many open files shouldn't be too
much of a big deal: the server should continue operating and should give
you an error each time your usage peaks such that you accept one-to-many
HTTP connections. You said you only have 30 users, though. What does
netstat show? Do you have lots of lingering connections? How many
request processing threads do you have configured in your <Connector>?

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

iEYEARECAAYFAk1J6OgACgkQ9CaO5/Lv0PCRegCfVh6bv/kbTKebKQqm8e7Jp+rE
+RYAnj1XNJPXjc7wQA6/b2Uc2FyEcnCc
=TvH/
-----END PGP SIGNATURE-----

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


Mime
View raw message