Re: high CPU usage on tomcat 7

2012-09-27 Thread mailingl...@j-b-s.de
Maybe an infinite loop? We observed something similar due to a bug in the java regex impl and certain user input causes this regex looping behaviour. As this locked one core but to the user it simply looked like server was not responding, guess what happend? Right: they press refresh page and ne

maxHTTPHeaderSize, and specific header lengths

2012-09-27 Thread Andrew Todd
I have a question about maxHttpHeaderSize [0]. In Apache httpd, there are two different parameters that affect the maximum size of an HTTP header, limitRequestFieldSize and limitRequestLine. [1] These configuration values specify about 8 kilobytes per _line_ in the incoming request. However, in Tom

Re: high CPU usage on tomcat 7

2012-09-27 Thread Kirill Kireyev
Thanks for all the advice everyone! There is a possibility that the CPU is caused by an app thread - I am looking into that possibility. Will let you know when I find out more. Thanks, Kirill On 9/27/12 12:17 PM, Shanti Suresh wrote:

Re: high CPU usage on tomcat 7

2012-09-27 Thread Shanti Suresh
Hi Kirill, I mistook that the CPU issue clears itself. Sorry. It may or may not be related to Garbage-collection settings then. -Shanti On Thu, Sep 27, 2012 at 2:17 PM, Shanti Suresh wrote: > Hi Kirill, > > Like Mark, Bill and Jeff said, those threads are normal reques

Re: high CPU usage on tomcat 7

2012-09-27 Thread Shanti Suresh
Hi Kirill, Like Mark, Bill and Jeff said, those threads are normal request-processing threads. I have included a script that might help with isolating high CPU issues with Tomcat. Also, I think it might be helpful to see how the Java heap is performing as well. Please bring up Jconsole and let i

RE: high CPU usage on tomcat 7

2012-09-27 Thread Bill Miller
I agree; we have reproducible instances where PermGen is not set to our requirements on the Tomcat startup parameters and it will cause a "lockup" every time. Do some JMX monitoring and you may discover a memory spike that's killing Tomcat. Bill -Original Message- From: Jeff MAURY [mailto:

Re: high CPU usage on tomcat 7

2012-09-27 Thread Jeff MAURY
This is probably due to out of memory, I have the same problem on my ubuntu ci machine Did you monitor your tomcat with jmx ? Jeff Le 27 sept. 2012 17:39, "Kirill Kireyev" a écrit : > Hi! > > I'm periodically getting unduly high (100%) CPU usage by the tomcat > process on my server. This problem

Re: high CPU usage on tomcat 7

2012-09-27 Thread Mark Thomas
Kirill Kireyev wrote: >Hi! > >I'm periodically getting unduly high (100%) CPU usage by the tomcat >process on my server. This problems happens intermittently, several >times a week. When the server goes into this high CPU it does not come >back (and becomes unresponsive to new requests), and

high CPU usage on tomcat 7

2012-09-27 Thread Kirill Kireyev
Hi! I'm periodically getting unduly high (100%) CPU usage by the tomcat process on my server. This problems happens intermittently, several times a week. When the server goes into this high CPU it does not come back (and becomes unresponsive to new requests), and the only recourse is to resta