tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Optimize CPU Hogging Tomcat 6
Date Wed, 02 Feb 2011 23:29:44 GMT
Hash: SHA1


On 2/2/2011 8:21 AM, jan gestre wrote:
> I already made those changes similar to what is mentioned here -->
> 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
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message