AW: help with high cpu usage

2022-02-04 Thread Thomas Hoffmann (Speed4Trade GmbH)
ack trace there is a tid which identifies the thread. Maybe you need to convert between decimal and hex to find the right Thread. Hope this helps, Thomas Von: Alan F Gesendet: Freitag, 4. Februar 2022 13:00:29 An: Tomcat Users List Betreff: RE: help with high c

RE: help with high cpu usage

2022-02-04 Thread Alan F
s Hoffmann (Speed4Trade GmbH) Sent: 04 February 2022 09:18 To: Tomcat Users List Subject: AW: help with high cpu usage Hello, when I encounter high CPU usage, it's best to identify the thread Id which is eating CPU. Making a thread dump, you can then search for the thread id within this dump.

AW: help with high cpu usage

2022-02-04 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, when I encounter high CPU usage, it's best to identify the thread Id which is eating CPU. Making a thread dump, you can then search for the thread id within this dump. This works good for long lasting threads. If the CPU eating thread changes quickly, it's harder to

Re: help with high cpu usage

2022-02-03 Thread Alan F
John thanks so much !! Will pass this on tomorrow. Cheers. From: john.e.gr...@wellsfargo.com.INVALID Sent: 03 February 2022 22:45 To: users@tomcat.apache.org Subject: RE: help with high cpu usage Alan, > -Original Message- > From: Alan F

RE: help with high cpu usage

2022-02-03 Thread John.E.Gregg
Alan, > -Original Message- > From: Alan F > Sent: Thursday, February 03, 2022 2:51 PM > To: Tomcat Users List > Subject: RE: help with high cpu usage > > My bad here are the correct dumps 10 secs apart > > https://urldefense.com/v3/__https://fastthread.i

RE: help with high cpu usage

2022-02-03 Thread Alan F
sp?p=c2hhcmVkLzIwMjIvMDIvMy8tLWFwaS00NTE3MWUxNy1jYWRiLTRkY2UtODBlNS1lMDk0YTJjNTg1OGEudHh0&; -Original Message- From: john.e.gr...@wellsfargo.com.INVALID Sent: 03 February 2022 19:33 To: users@tomcat.apache.org Subject: RE: help with high cpu usage Alan, > -Original Message- > From: Alan F > Sent: Thursday, February 03, 2022 12:1

RE: help with high cpu usage

2022-02-03 Thread Alan F
gling to see anything glaring apart from GC I see old Gen taking about 5hrs before it drops back one node2 as opposed to 3 on node 1. -Original Message- From: john.e.gr...@wellsfargo.com.INVALID Sent: 03 February 2022 19:33 To: users@tomcat.apache.org Subject: RE: help with high c

RE: help with high cpu usage

2022-02-03 Thread John.E.Gregg
Alan, > -Original Message- > From: Alan F > Sent: Thursday, February 03, 2022 12:19 PM > To: Tomcat Users List > Subject: help with high cpu usage > > Had some issues today with one prod host. One is fine the other has stuck > around 80%Cpu. > Ive taken a

help with high cpu usage

2022-02-03 Thread Alan F
hardware balancer. Node1 is ok (relatively!) https://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMjIvMDIvMy8tLWFwaS1hODllYzBkZS01OGJjLTQ2ZDQtYWRhNS1kYjkxZjM2NjI1ZTAudHh0&; Node 2 still has high CPU usage https://fastthread.io/my-thread-report.j

Re: High CPU Usage with Tomcat 9 in SSL

2019-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sumit, On 7/15/19 08:05, Sumit Bhardwaj wrote: > On 7/12/19, Christopher Schultz wrote: >> Are you using JSSE or OpenSSL for crypto? > > JSSE. will there be any difference with openssl? Yes. Especially with some cipher suites, JSSE will use softwa

Re: High CPU Usage with Tomcat 9 in SSL

2019-07-15 Thread Sumit Bhardwaj
Hi Chris, Thanks for your response,please find my response inline below Are you using JSSE or OpenSSL for crypto? JSSE. will there be any difference with openssl? How are you measuring CPU usage? using jconsole/jvisualvm Have you tried to correlate that CPU usage with user-request load? I am no

Re: High CPU Usage with Tomcat 9 in SSL

2019-07-12 Thread Sumit Bhardwaj
Are you using JSSE or OpenSSL for crypto? JSSE. will there be any difference with openssl? How are you measuring CPU usage? using jconsole/jvisualvm Have you tried to correlate that CPU usage with user-request load? I am not sure if I understood the question, but I ran similar load for over a week

Re: High CPU Usage with Tomcat 9 in SSL

2019-07-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sumit, On 7/12/19 08:30, Sumit Bhardwaj wrote: > Hi, > > We are using tomcat 9.0.14,and we are running some performance > tests for our application. > > What we have observed is that 1- CPU usage of tomcat is less than > 10%, when using tomcat wit

High CPU Usage with Tomcat 9 in SSL

2019-07-12 Thread Sumit Bhardwaj
Hi, We are using tomcat 9.0.14,and we are running some performance tests for our application. What we have observed is that 1- CPU usage of tomcat is less than 10%, when using tomcat without SSL for a week. 2. CPU Usage is around 20% and it keeps growing after a day to 40% and keeps increasing

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-09 Thread Christopher Schultz
Mark, On 4/9/18 11:11 AM, Mark Thomas wrote: > On 09/04/18 14:20, Christopher Schultz wrote: >> Mark, >> >> On 4/8/18 6:39 PM, Mark Thomas wrote: >>> On 08/04/2018 21:29, Christopher Schultz wrote: >>> >>> >>> Does Tomcat do its own UTF-8 decoding because the JVM doesn't have a facility

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-09 Thread Mark Thomas
On 09/04/18 14:20, Christopher Schultz wrote: > Mark, > > On 4/8/18 6:39 PM, Mark Thomas wrote: >> On 08/04/2018 21:29, Christopher Schultz wrote: >> >> >> >>> Does Tomcat do its own UTF-8 decoding because the JVM doesn't have a >>> facility to convert from ByteBuffer to CharBuffer? That seems li

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-09 Thread Christopher Schultz
Mark, On 4/8/18 6:39 PM, Mark Thomas wrote: > On 08/04/2018 21:29, Christopher Schultz wrote: > > > >> Does Tomcat do its own UTF-8 decoding because the JVM doesn't have a >> facility to convert from ByteBuffer to CharBuffer? That seems like >> something the JVM really should be providing... >

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-08 Thread Mark Thomas
On 08/04/2018 21:29, Christopher Schultz wrote: Does Tomcat do its own UTF-8 decoding because the JVM doesn't have a facility to convert from ByteBuffer to CharBuffer? That seems like something the JVM really should be providing... No. It does it because the JRE UTF-8 decoder is buggy. Some

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-08 Thread Christopher Schultz
Mark, On 4/7/18 6:57 AM, Mark Thomas wrote: > On 06/04/18 22:10, dharmon wrote: >> environment: >> tomcat 8.5.23 >> CentOS 6.9 >> jdk8u162 b12 >> >> I recently upgraded from tomcat 7.0.61/jdk8u92 to tomcat 8.5.23/jdk8u162. >> Our application war file on tomcat7 has cpu >75% idle per vmstat several

Re: High CPU usage with Utf8Decoder in 8.5.23

2018-04-07 Thread Mark Thomas
On 06/04/18 22:10, dharmon wrote: > environment: > tomcat 8.5.23 > CentOS 6.9 > jdk8u162 b12 > > I recently upgraded from tomcat 7.0.61/jdk8u92 to tomcat 8.5.23/jdk8u162. > Our application war file on tomcat7 has cpu >75% idle per vmstat several > hours after tomcat start. Same war file on same se

High CPU usage with Utf8Decoder in 8.5.23

2018-04-06 Thread dharmon
environment: tomcat 8.5.23 CentOS 6.9 jdk8u162 b12 I recently upgraded from tomcat 7.0.61/jdk8u92 to tomcat 8.5.23/jdk8u162. Our application war file on tomcat7 has cpu >75% idle per vmstat several hours after tomcat start. Same war file on same server with tomcat8.5.23 has cpu 0% idle per vmstat

RE: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

2016-10-27 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself > On 10/27/16 1:45 PM, Dustin Delage wrote: > > Looks like the app is now slated for redevelopment. Thanks > > everyone. > I still t

Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

2016-10-27 Thread Christopher Schultz
rk Thomas > [mailto:ma...@apache.org] Sent: Thursday, October 27, 2016 4:48 AM > To: Tomcat Users List Subject: Re: Tomcat > 9 exe, High CPU usage due to TCP I/O with itself > > On 26/10/2016 18:07, Dustin Delage wrote: >> Tomcat 9, running on Windows Server 2008, runs the CPU at

RE: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

2016-10-27 Thread Dustin Delage
Looks like the app is now slated for redevelopment. Thanks everyone. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, October 27, 2016 4:48 AM To: Tomcat Users List Subject: Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself On 26/10/2016 18:07

RE: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

2016-10-27 Thread Dustin Delage
[mailto:ch...@christopherschultz.net] Sent: Thursday, October 27, 2016 12:03 PM To: Tomcat Users List Subject: Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 10/27/16 4:47 AM, Mark Thomas wrote: > On 26/10/2016 18:07, Dustin Delage wro

Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

2016-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 10/27/16 4:47 AM, Mark Thomas wrote: > On 26/10/2016 18:07, Dustin Delage wrote: >> Tomcat 9, running on Windows Server 2008, runs the CPU at 79% - >> 90% continuously. The only activity is tomcat spamming itself >> with TCP traffic. Same p

Re: Tomcat 9 exe, High CPU usage due to TCP I/O with itself

2016-10-27 Thread Mark Thomas
On 26/10/2016 18:07, Dustin Delage wrote: > Tomcat 9, running on Windows Server 2008, runs the CPU at 79% - 90% > continuously. The only activity is tomcat spamming itself with TCP > traffic. Same proc ID, out one port, to another port back to itself. Tomcat doesn't do that. That looks more likely

Tomcat 9 exe, High CPU usage due to TCP I/O with itself

2016-10-26 Thread Dustin Delage
Tomcat 9, running on Windows Server 2008, runs the CPU at 79% - 90% continuously. The only activity is tomcat spamming itself with TCP traffic. Same proc ID, out one port, to another port back to itself. A small sample from Process Monitor:

Re: High CPU Consumption with Tomcat 8.5.4 NIO and SSL

2016-08-30 Thread Rémy Maucherat
2016-08-30 15:31 GMT+02:00 Mark Thomas : > On 30/08/2016 14:27, Rémy Maucherat wrote: > > 2016-08-30 15:22 GMT+02:00 Mark Thomas : > > > >> Either or both of these: > >> http://bz.apache.org/bugzilla/show_bug.cgi?id=60030 > >> > > I wasn't 100% sure NIO2 wasn't affected by the SNI IO loop, but it

Re: High CPU Consumption with Tomcat 8.5.4 NIO and SSL

2016-08-30 Thread Mark Thomas
On 30/08/2016 14:27, Rémy Maucherat wrote: > 2016-08-30 15:22 GMT+02:00 Mark Thomas : > >> Either or both of these: >> http://bz.apache.org/bugzilla/show_bug.cgi?id=60030 >> > I wasn't 100% sure NIO2 wasn't affected by the SNI IO loop, but it does > fine then reading his email. It isn't. The issu

Re: High CPU Consumption with Tomcat 8.5.4 NIO and SSL

2016-08-30 Thread Rémy Maucherat
2016-08-30 15:22 GMT+02:00 Mark Thomas : > Either or both of these: > http://bz.apache.org/bugzilla/show_bug.cgi?id=60030 > > I wasn't 100% sure NIO2 wasn't affected by the SNI IO loop, but it does fine then reading his email. Rémy

Re: High CPU Consumption with Tomcat 8.5.4 NIO and SSL

2016-08-30 Thread Mark Thomas
On 30/08/2016 14:11, Chen Levy wrote: > Hello All > > Since Tomcat 8.0.x development is about to be stopped, we’ve decided to > switch to 8.5.4, but since are facing the following issue: > A few hours after startup, the Java process starts consuming 100% CPU, and > while Tomcat is still responsi

High CPU Consumption with Tomcat 8.5.4 NIO and SSL

2016-08-30 Thread Chen Levy
Hello All Since Tomcat 8.0.x development is about to be stopped, we’ve decided to switch to 8.5.4, but since are facing the following issue: A few hours after startup, the Java process starts consuming 100% CPU, and while Tomcat is still responsive, it is very slow. This is consistent, been goi

Re: Sporadic High CPU consumption on 8.5.x

2016-08-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 8/22/16 11:27 AM, Chuck Syperski wrote: > I think I found a larger part of the puzzle with the OpenSSL > support for tomcat, it looks like when using the ssl config > provided below (directly from Let's encrypt in this case) in your > serv

Re: Sporadic High CPU consumption on 8.5.x

2016-08-22 Thread Chuck Syperski
I think I found a larger part of the puzzle with the OpenSSL support for tomcat, it looks like when using the ssl config provided below (directly from Let's encrypt in this case) in your server.xml you can consume a large amount of a server's CPU. If you use this config and you attempt to conne

Sporadic High CPU consumption on 8.5.x

2016-08-22 Thread Chuck Syperski
Hello, I am having an issue with a product box running tomcat 8.5.3 consuming a high percent of CPU cycles on a single core at what seems like random intervals (typically days apart), trigger by nothing other than a simple http get request. This didn’t happen when I was using the 8.0.x branch with

Re: Tomcat 8 uses high CPU

2016-04-13 Thread tomcat
not a Tomcat related problem, WildFly 10 has the same behavior. The WildFly high CPU threads also calls sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method). 2. When switching from NIO to NIO.2 the problem goes away. 3. It seems clearly a Java 8 for Windows problem that

Re: Tomcat 8 uses high CPU

2016-04-13 Thread David Kerber
has the same behavior. The WildFly high CPU threads also calls sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method). 2. When switching from NIO to NIO.2 the problem goes away. 3. It seems clearly a Java 8 for Windows problem that happens in several versions. I tested

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Josep M Beleta
Following André suggestion I replaced the connector protocols, both for HTTP and AJP ports, to force NIO.2. Now Tomcat is working for seven hours without any problem. My findings until now are: 1. It is not a Tomcat related problem, WildFly 10 has the same behavior. The WildFly high CPU

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Josep M Beleta
I'll try it. Thanks a lot. 2016-04-13 15:24 GMT+02:00 André Warnier (tomcat) : > On 13.04.2016 13:55, Josep M Beleta wrote: > >> > >Could I find a workaround? >>> >> > Maybe for the meantime, you could try another Connector protocol ? > http://tomcat.apache.org/tomcat-8.5-doc/config/http.html#Com

Re: Tomcat 8 uses high CPU

2016-04-13 Thread tomcat
On 13.04.2016 13:55, Josep M Beleta wrote: > >Could I find a workaround? Maybe for the meantime, you could try another Connector protocol ? http://tomcat.apache.org/tomcat-8.5-doc/config/http.html#Common_Attributes -> protocol Note: I am not an expert, and not sure that in this particular case

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Josep M Beleta
Ok. I will try to debug the issue this weekend. Josep *Josep M Beleta* *Director de Tecnologia* Carver Advanced Systems, S.L. París, 184. 4º 08036 - Barcelona Tel: 93 238 5880 Fax: 93 238 5881 *segueix-nos *

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Mark Thomas
On 13/04/2016 12:11, Josep M Beleta wrote: > I was wrong in my last message. One of the threads is different, is is not > related to AJP. This thread is: > > "NioBlockingSelector.BlockPoller-2" #15 daemon prio=5 os_prio=0 > tid=0x1ce0c800 nid=0x19b8 runnable [0x1dfff000] >java.

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Josep M Beleta
I was wrong in my last message. One of the threads is different, is is not related to AJP. This thread is: "NioBlockingSelector.BlockPoller-2" #15 daemon prio=5 os_prio=0 tid=0x1ce0c800 nid=0x19b8 runnable [0x1dfff000] java.lang.Thread.State: RUNNABLE at sun.nio.ch.WindowsSelect

Re: Tomcat 8 uses high CPU

2016-04-13 Thread Josep M Beleta
I produced a new dump on our production server that runs Tomcat 8.0. This time I identified the three threads that are consuming high CPU. I marked them with: ** This thread uses high CPU ** All these threads are named "ajp-nio-8009-ClientPoller" This is the information it l

Re: Tomcat 8 uses high CPU

2016-04-12 Thread Josep M Beleta
Mark, I tested Tomcat 8.5 and experienced the same problem. I am enclosing a new dump. I hope it will be useful. Regards Josep M Beleta 2016-04-13 01:50:55 Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.77-b03 mixed mode): "ajp-nio-8209-AsyncTimeout" #26 daemon prio=5 os_prio=0 tid=0x0

Re: Tomcat 8 uses high CPU

2016-04-12 Thread Mark Thomas
On 12/04/2016 19:53, Josep M Beleta wrote: > Again, Thanks. They came thought this time but aren't that helpful as several key bits of information are missing: - thread name - thread ID There should be an option in Tomcat8w.exe to trigger a thread dump. This will be written to the log files and s

Re: Tomcat 8 uses high CPU

2016-04-12 Thread Josep M Beleta
Again, Attaching to process ID 1964, please wait... Debugger attached successfully. Server compiler detected. JVM version is 25.66-b18 Deadlock Detection: No deadlocks found. Thread 124: (state = BLOCKED) - sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise

Re: Tomcat 8 uses high CPU

2016-04-12 Thread Mark Thomas
2008 R2 Standard with Service Pack 1 running as a virtual > > machine on top of ESXi, 5.1.0. The virtual machine has 16 GB of > memory > > and 4 CPUs. The physical host computer has lots of memory and is not > > stressed at all. > > >

Re: Tomcat 8 uses high CPU

2016-04-12 Thread Josep M Beleta
at 8, with Java 8 on >> > a Windows 2008 R2 Standard with Service Pack 1 running as a virtual >> > machine on top of ESXi, 5.1.0. The virtual machine has 16 GB of memory >> > and 4 CPUs. The physical host computer has lots of memory and is not >> > stressed at

Re: Tomcat 8 uses high CPU

2016-04-12 Thread Christopher Schultz
chine has 16 > GB of memory and 4 CPUs. The physical host computer has lots of > memory and is not stressed at all. > > One week ago our Tomcats, we have two, began to use high CPU. When > the problem started we had no made any change we can remember in > the preceding week

Re: Tomcat 8 uses high CPU

2016-04-12 Thread Josep M Beleta
ava 8 on > > a Windows 2008 R2 Standard with Service Pack 1 running as a virtual > > machine on top of ESXi, 5.1.0. The virtual machine has 16 GB of memory > > and 4 CPUs. The physical host computer has lots of memory and is not > > stressed at all. > > > > One wee

Re: Tomcat 8 uses high CPU

2016-04-12 Thread Mark Thomas
CPUs. The physical host computer has lots of memory and is not > stressed at all. > > One week ago our Tomcats, we have two, began to use high CPU. When the > problem started we had no made any change we can remember in the > preceding week, and no Windows update was installed. >

Re: Idle Thread high CPU

2016-03-10 Thread Christopher Schultz
used, 1864928k free, >>>>>>>> 2125868k cached >>>>>>> >>>>>>>> PID USER PR NI VIRT RES SHR S %CPU %MEM >>>>>>>> TIME+ COMMAND 15648 tomcat20 0 9649m 4.8g 4520 >>>>>>>> R 87.3 62.6

Re: Idle Thread high CPU

2016-03-10 Thread Rallavagu
corresponds to PID shown above. https://java.net/projects/threadlogic This way it helps to determine the thread that might potentially causing high cpu. Okay. Are you serving a high rate of requests? It's possible that the thread is just doing a lot of (legitimate) work. The BIO connect

Re: Idle Thread high CPU

2016-03-10 Thread Christopher Schultz
t;>>> 62.6 5:44.99 java 21694 tomcat20 0 9649m 4.8g 4520 S >>>>> 74.3 62.6 5:39.40 java 7889 tomcat20 0 9649m 4.8g >>>>> 4520 S 29.7 62.6 4:24.44 java 7878 tomcat20 0 9649m >>>>> 4.8g 4520 S 27.8 62.6 4:36.82 java 21701 tomc

Re: Idle Thread high CPU

2016-03-10 Thread Rallavagu
ermine the thread that might potentially causing high cpu. Okay. Are you serving a high rate of requests? It's possible that the thread is just doing a lot of (legitimate) work. The BIO connector is very basic: it uses blocking reads, and the thread dump you showed before showed it waiting

Re: Idle Thread high CPU

2016-03-10 Thread Christopher Schultz
62.6 >> 4:36.82 java 21701 tomcat20 0 9649m 4.8g 4520 S 26.0 62.6 >> 5:49.83 java > >> After taking thread dump, I used Threadlogic which will show >> Native-ID as column which corresponds to PID shown above. > >> https://java.net/projects/threadlogic > >&g

Re: Idle Thread high CPU

2016-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/10/16 5:18 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Idle Thread high CPU > >> My version of 'top' (Debian Linux) doesn't show

RE: Idle Thread high CPU

2016-03-10 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Idle Thread high CPU > My version of 'top' (Debian Linux) doesn't show thread ids. :( Can you try "top -H" (case sensitive option)? - Chuck THIS COMMUNICATION MAY CON

Re: Idle Thread high CPU

2016-03-10 Thread Rallavagu
g 4520 S 26.0 62.6 5:49.83 java After taking thread dump, I used Threadlogic which will show Native-ID as column which corresponds to PID shown above. https://java.net/projects/threadlogic This way it helps to determine the thread that might potentially causing high cpu. Can you post yo

Re: Idle Thread high CPU

2016-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rallavagu, On 3/10/16 4:02 PM, Rallavagu wrote: > On 3/10/16 11:54 AM, Christopher Schultz wrote: >> Are you sure you have matched-up the correct thread within the >> JVM that is using all that CPU? > >> How are you measuring the CPU usage? > > It w

Re: Idle Thread high CPU

2016-03-10 Thread Rallavagu
ING (parking)" wonder why this shows up as consuming high CPU. Any clues would be highly appreciated. Thanks in advance. Are you sure you have matched-up the correct thread within the JVM that is using all that CPU? How are you measuring the CPU usage? Can you post your and/or configuratio

Re: Idle Thread high CPU

2016-03-10 Thread Konstantin Kolinko
ava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:615) >> >> at java.lang.Thread.run(Thread.java:744) >> >> Considering it is a thread from tomcat's thread pool and it >> suggests that it is "java.lang.Thread.State: TIMED_WAITING &

Re: Idle Thread high CPU

2016-03-10 Thread Rallavagu
(parking)" wonder why this shows up as consuming high CPU. Any clues would be highly appreciated. Thanks in advance. Are you sure you have matched-up the correct thread within the JVM that is using all that CPU? How are you measuring the CPU usage? It would the ID output from "

Re: Idle Thread high CPU

2016-03-10 Thread Christopher Schultz
ad from tomcat's thread pool and it > suggests that it is "java.lang.Thread.State: TIMED_WAITING > (parking)" wonder why this shows up as consuming high CPU. Any > clues would be highly appreciated. Thanks in advance. Are you sure you have matched-up the correct thread wit

Idle Thread high CPU

2016-03-10 Thread Rallavagu
eadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Considering it is a thread from tomcat's thread pool and it suggests that it is "java.lang.Thread.State: TIMED_WAITING (parking)" wonder why this shows up as consuming high CPU. Any clue

Re: Tomcat 8 AprEndpoint Poller thread consuming high CPU

2015-07-09 Thread Konstantin Kolinko
2015-06-30 21:06 GMT+03:00 Rich Mayfield : > Moved from Tomcat 7.0.55 to Tomcat 8.0.23 and now see the AJP Poller > thread churning through a lot of CPU in a pretty much quiet system. > > This seems like a bug. > > * Restarting does not resolve the issue Is it easy to observe the issue? Does it ha

Re: Tomcat 8 AprEndpoint Poller thread consuming high CPU

2015-07-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rich, On 6/30/15 2:06 PM, Rich Mayfield wrote: > Moved from Tomcat 7.0.55 to Tomcat 8.0.23 and now see the AJP > Poller thread churning through a lot of CPU in a pretty much quiet > system. > > This seems like a bug. > > * Restarting does not reso

Tomcat 8 AprEndpoint Poller thread consuming high CPU

2015-06-30 Thread Rich Mayfield
Moved from Tomcat 7.0.55 to Tomcat 8.0.23 and now see the AJP Poller thread churning through a lot of CPU in a pretty much quiet system. This seems like a bug. * Restarting does not resolve the issue * I've seen some mention of bumping up the memory. Doubling the max heap (-Xmx from 506m to 1012m

Re: Also having issue on high CPU Usage on Tomcat 8

2015-06-15 Thread Ari Luoma
s >> -XX:+PrintGCApplicationStoppedTime >> -XX:+PrintGCApplicationConcurrentTime >> -XX:-HeapDumpOnOutOfMemoryError See also thread: High cpu on Tomcat 8 https://mail-archives.apache.org/mod_mbox/tomcat-users/201505.mbox/thread Best regards, Ari Luoma On Wed, Jun 10, 2015 at 10:01 AM, Greg Huber w

Re: Also having issue on high CPU Usage on Tomcat 8

2015-06-10 Thread Greg Huber
Ari, No, I could not find the cause. I checked the source and there does not look like there was any changes in the polling code, so it maybe something else. I changed to 7.0.62 with exactly the same startup scripts/jdk and the problem goes away. It sometimes also happens on my dev box running

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
3 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 process requests, unless you > configure

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
the distributor cap of all the bytes flying around the container. - -chris > On 3 May 2015 at 17:35, Felix Schumacher > wrote: > >> >> >> Am 3. Mai 2015 12:25:53 MESZ, schrieb Greg Huber >> : >>> Hello, >>> >>> After an upgrade to To

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 a

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, > > > >

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. Us

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
:35, Felix Schumacher wrote: > > > 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 >

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

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

Re: mod_jk busyness , sending more request's to backend tomcats causing high cpu

2014-12-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rajesh, On 12/28/14 1:54 AM, Rajesh Cherukuri wrote: > Thanks for the response here are the details , i can also see that > the backend tomcat which has high cpu has processed less number of > request when compared with other tomcat&#x

Re: mod_jk busyness , sending more request's to backend tomcats causing high cpu

2014-12-27 Thread Rajesh Cherukuri
Chris Thanks for the response here are the details , i can also see that the backend tomcat which has high cpu has processed less number of request when compared with other tomcat's i checked this from tomcat access logs , in the monotoring tool i can see that the tomcat which has issues

Re: mod_jk busyness , sending more request's to backend tomcats causing high cpu

2014-12-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rajesh, On 12/24/14 7:50 AM, Rajesh Cherukuri wrote: > Qe have noticed that mod_jk method busyness is sending more > requests to backend tomcat and causing hung threads and high CPU. > > [I] need to understand why it's doi

ModJK Busyness , sending more request's to backend tomcats causing high cpu

2014-12-24 Thread Rajesh Cherukuri
we have noticed that modJk method busyness is sending more requests to backend tomcat and causing hing threads and high CPU need to understand why its doind that

Re: High CPU Usage on restarting the Tomcat 7.0.39

2014-05-01 Thread srinivas rapolu
Hi, any clue can draw from the screenshot is really appreciated. http://www.imageurlhost.com/images/souyh4ks07ber4kwu9u.png I can get the thread dump if it is needed to figure out the root cause. Thanks for the help! On Wed, Apr 30, 2014 at 4:24 PM, srinivas rapolu wrote: > #1. Sorry, was not a

Re: High CPU Usage on restarting the Tomcat 7.0.39

2014-04-30 Thread srinivas rapolu
#1. Sorry, was not aware of attachments. Uploaded screenshot at: http://www.imageurlhost.com/images/souyh4ks07ber4kwu9u.png #2. Connector details from server.xml On Wed, Apr 30, 2014 at 3:50 PM, Konstantin Kolinko wrote: > 2014-04-30 23:41 GMT+04:00 srinivas rapolu : > > We are using Tomcat 7.

Re: High CPU Usage on restarting the Tomcat 7.0.39

2014-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Srinivas, On 4/30/14, 3:41 PM, srinivas rapolu wrote: > We are using Tomcat 7.0.39 ((java version "1.7.0_25"), and > Sometimes CPU goes high when we restart the TOMCAT. > > We have to stop the Tomcat in-order to release the release > resources and

Re: High CPU Usage on restarting the Tomcat 7.0.39

2014-04-30 Thread Konstantin Kolinko
2014-04-30 23:41 GMT+04:00 srinivas rapolu : > We are using Tomcat 7.0.39 ((java version "1.7.0_25"), and Sometimes CPU > goes high when we restart the TOMCAT. > > We have to stop the Tomcat in-order to release the release resources and > again restarting the Tomcat fixes the problem. > > On profil

High CPU Usage on restarting the Tomcat 7.0.39

2014-04-30 Thread srinivas rapolu
We are using Tomcat 7.0.39 ((java version "1.7.0_25"), and Sometimes CPU goes high when we restart the TOMCAT. We have to stop the Tomcat in-order to release the release resources and again restarting the Tomcat fixes the problem. On profiling, found that Invocations on sum.rmi.transport.tcp.TCPT

RE: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-14 Thread Bob DeRemer
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Saturday, December 14, 2013 9:06 AM > To: Tomcat Users List > Subject: Re: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49? > > On 13/12/2013 13:12, Bob DeRemer wrote: >

Re: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-14 Thread Mark Thomas
On 13/12/2013 13:12, Bob DeRemer wrote: > We have been profiling this in YourKit and as we increase the number of > websockets, naturally we see the CPU utilization increase. The concern > is that we’re seeing this at what seems to be a fairly low number of > websockets. The YourKit profiling sho

Re: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bob, On 12/13/13, 8:12 AM, Bob DeRemer wrote: > Hi Mark (et al), While Mark is one of the most likely to respond, please address your questions only to the community at least at first ;) > We’re seeing really high CPU utilization with

Re: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-13 Thread David kerber
On 12/13/2013 8:12 AM, Bob DeRemer wrote: Hi Mark (et al), We’re seeing really high CPU utilization with just a 1000 active websockets that are sending/receiving 100 byte binary messages. The profiling snippet below was with 1000 connections. If we start to increase the number of connections

  1   2   3   >