Re: High cpu on Tomcat 8

2015-05-09 Thread Greg Huber
Hello, This is a follow up from last week, the server seemed to have the same issue, where it was over running to 75%. Using top (centos 6) there seemed a lot of java threads, the the top thread was 15209 >> 0x3b69 These are the start options. I increased -Xmx buy 256m to 768m since last week

Re: High cpu on Tomcat 8

2015-05-06 Thread Greg Huber
d. Cheers Greg On 5 May 2015 at 12:48, Caldarale, Charles R wrote: > > From: Greg Huber [mailto:gregh3...@gmail.com] > > Subject: Re: High cpu on Tomcat 8 > > > > Have you set a pollerThreadCount? > > > I have had a look and I cannot find where this is

RE: High cpu on Tomcat 8

2015-05-05 Thread Caldarale, Charles R
> From: Greg Huber [mailto:gregh3...@gmail.com] > Subject: Re: High cpu on Tomcat 8 > > Have you set a pollerThreadCount? > I have had a look and I cannot find where this is set. Is there any > documentation on this? The pollerThreadCount applies only to the HTTP version of

Re: High cpu on Tomcat 8

2015-05-05 Thread Greg Huber
>Have you set a pollerThreadCount? If so, what is it? If not, you might >want to consider setting it to "2", but probably not any higher, and >see if it improves things. I have had a look and I cannot find where this is set. Is there any documentation on this? >When the CPU usage goes high, doe

Re: High cpu on Tomcat 8

2015-05-04 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: High cpu on Tomcat 8 Car analogy: it's the distributor cap of all the bytes flying around the container. You're dating yourself :-) Haven't seen a distributor on a ca

Re: High cpu on Tomcat 8

2015-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 5/4/15 10:23 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: High cpu on Tomcat 8 > >> Car analogy: it's the distributor cap of all the

RE: High cpu on Tomcat 8

2015-05-04 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: High cpu on Tomcat 8 > Car analogy: it's the distributor cap of all the bytes flying around > the container. You're dating yourself :-) Haven't seen a distributor on a car in m

Re: High cpu on Tomcat 8

2015-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 5/3/15 2:30 PM, Greg Huber wrote: > Thanks for the reply, I will up the memory on the heap space and > have another go with the profiler if happens again. When I was > looking at the thread dumps there were no other active threads > other

Re: High cpu on Tomcat 8

2015-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 5/4/15 7:13 AM, Greg Huber wrote: > Thanks, I am going to up the memory. The profiler I used only > highlighted the ajp-apr-8009-Poller as active. Terminating the > thread stopped the high cpu. ... and probably killed your ability to pro

Re: High cpu on Tomcat 8

2015-05-04 Thread Greg Huber
Thanks, I am going to up the memory. The profiler I used only highlighted the ajp-apr-8009-Poller as active. Terminating the thread stopped the high cpu. Cheers Greg On 4 May 2015 at 10:18, Mark Thomas wrote: > On 03/05/2015 11:25, Greg Huber wrote: > > Hello, > > > > After an upgrade to Tomc

Re: High cpu on Tomcat 8

2015-05-04 Thread Mark Thomas
On 03/05/2015 11:25, Greg Huber wrote: > Hello, > > After an upgrade to Tomcat 8.0.21 and (Oracle jdk1.8.0_40) I seem to be > having an erratic high cpu issue, often when the server gets busy. The > application was OK tomcat 7 and has not been modified since the upgrade. Use ps to get the threa

RE: High cpu on Tomcat 8

2015-05-03 Thread Caldarale, Charles R
> From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] > Subject: Re: High cpu on Tomcat 8 > I believe java 8 combines the permgen into the heap space Not the whole story. A small part of what was in PermGen is now allocated in the Java heap, but the majority is moved to

Re: High cpu on Tomcat 8

2015-05-03 Thread Greg Huber
Thanks for the reply, I will up the memory on the heap space and have another go with the profiler if happens again. When I was looking at the thread dumps there were no other active threads other than the ajp-apr-8009-Poller so maybe it is only a memory issue. Cheers Greg. On 3 May 2015 at 17:3

Re: High cpu on Tomcat 8

2015-05-03 Thread Felix Schumacher
Am 3. Mai 2015 12:25:53 MESZ, schrieb Greg Huber : >Hello, > >After an upgrade to Tomcat 8.0.21 and (Oracle jdk1.8.0_40) I seem to be >having an erratic high cpu issue, often when the server gets busy. >The >application was OK tomcat 7 and has not been modified since the >upgrade. > >I use mod_

High cpu on Tomcat 8

2015-05-03 Thread Greg Huber
Hello, After an upgrade to Tomcat 8.0.21 and (Oracle jdk1.8.0_40) I seem to be having an erratic high cpu issue, often when the server gets busy. The application was OK tomcat 7 and has not been modified since the upgrade. I use mod_jk / apache # # workers.properties # # Define 1 real worker