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: Also having issue on high CPU Usage on Tomcat 8

2015-06-15 Thread Ari Luoma
Hi, Does anyone have any ideas how this issue with ajp-apr-poller could be solved? Using CATALINA_OPTS: >> -XX:+HeapDumpOnOutOfMemoryError >> -XX:HeapDumpPath=/xyz/HeapDump.log >> -Xms384m >> -Xmx1024m >> -XX:PermSize=128m >> -XX:MaxPermSize=512m >> -XX:+UseParallelGC >> -XX:MaxGCPauseMil

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 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 just a 1

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,

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

2013-12-13 Thread Bob DeRemer
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, the time spent in the NIO logic starts t

Re: High CPU usage - tomcat 7 and need solutions

2013-08-31 Thread Mark Eggers
On 8/31/2013 7:05 PM, Karuppu Samy wrote: I need suggestion to limit the memory /CPU limit for tomcat. Is there any variable to setup to limit this? On Sun, Sep 1, 2013 at 2:31 AM, André Warnier wrote: Karuppu Samy wrote: Hi Team, I find tomcat is using high CPU usage in my server. Is

RE: High CPU usage - tomcat 7 and need solutions

2013-08-31 Thread Caldarale, Charles R
> From: Karuppu Samy [mailto:cskaru...@gmail.com] > Subject: Re: High CPU usage - tomcat 7 and need solutions > I need suggestion to limit the memory /CPU limit for tomcat. Is there any > variable to setup to limit this? 1. Don't top post. 2. Your question pertains more

Re: High CPU usage - tomcat 7 and need solutions

2013-08-31 Thread Karuppu Samy
I need suggestion to limit the memory /CPU limit for tomcat. Is there any variable to setup to limit this? On Sun, Sep 1, 2013 at 2:31 AM, André Warnier wrote: > Karuppu Samy wrote: > >> Hi Team, >> >> I find tomcat is using high CPU usage in my server. Is there

Re: High CPU usage - tomcat 7 and need solutions

2013-08-31 Thread André Warnier
Karuppu Samy wrote: Hi Team, I find tomcat is using high CPU usage in my server. Is there any way to limit the memoryCPU resource limit for tomcat 7? Any guide?? Remove your applications ? - To unsubscribe, e-mail: users

High CPU usage - tomcat 7 and need solutions

2013-08-31 Thread Karuppu Samy
Hi Team, I find tomcat is using high CPU usage in my server. Is there any way to limit the memoryCPU resource limit for tomcat 7? Any guide?? tomcat 88.5 jsvc.exec -user tomcat -cwd /usr/local/easy/share/easy-tomcat7 -pidfile /var/run/easy-tomcat7.pid -cp /usr/local/easy/bin/bootstrap.jar:/usr

Re: high CPU usage on tomcat 7

2012-10-06 Thread Jeff MAURY
Aren't you're clients polling the server, this may cause the session not to expire even if the user is not using the UI ? Jeff On Sat, Oct 6, 2012 at 9:42 PM, Mark Thomas wrote: > > > Kirill Kireyev wrote: > > >Thanks for all your thorough advice Shanti! (and everyone else) > > > >Here are my

Re: high CPU usage on tomcat 7

2012-10-06 Thread Mark Thomas
Kirill Kireyev wrote: >Thanks for all your thorough advice Shanti! (and everyone else) > >Here are my findings so far: >0) My servlet sessions store a large number (~10s of M) or data in RAM. > >This is by design, to optimize performance. I can also have ~3K active >sessions at any one time. H

Re: high CPU usage on tomcat 7

2012-10-05 Thread Shanti Suresh
her useful tips. Thanks. -Shanti On Thu, Oct 4, 2012 at 2:08 PM, Jeff MAURY wrote: > Le 4 oct. 2012 14:38, "Caldarale, Charles R" > a > écrit : > > > > > From: Kirill Kireyev [mailto:kir...@instagrok.com] > > > Subject: Re

RE: high CPU usage on tomcat 7

2012-10-04 Thread Jeff MAURY
Le 4 oct. 2012 14:38, "Caldarale, Charles R" a écrit : > > > From: Kirill Kireyev [mailto:kir...@instagrok.com] > > Subject: Re: high CPU usage on tomcat 7 > > > Perhaps what I need is to have the JVM do garbage collections more > > frequently, so that they

RE: high CPU usage on tomcat 7

2012-10-04 Thread Caldarale, Charles R
> From: Kirill Kireyev [mailto:kir...@instagrok.com] > Subject: Re: high CPU usage on tomcat 7 > Perhaps what I need is to have the JVM do garbage collections more > frequently, so that they don't become a huge CPU-hogging ordeals > when they do happen. That's not how

Re: high CPU usage on tomcat 7

2012-10-03 Thread Kirill Kireyev
threaddump.txt') or die "Could not open file: $!"; print $file @output; close $file; open LOG, "top_user_webinf_threads.log" or die $!; open (STDOUT, "| tee -ai top_cpu_preview_threads.log"); print "PID\tCPU\tMem\tJStack Info\n"; while ($l = ) { chop

Re: high CPU usage on tomcat 7

2012-10-03 Thread Shanti Suresh
>>> #!/usr/bin/perl >>> # >>> >>> use Cwd; >>> >>> # Make a dated directory for capturing current diagnostics >>> my ($sec,$min,$hour,$mday,$mon,$year, >>> $wday,$yday,$isdst) = localtime time; >>> $year += 1900; &

Re: high CPU usage on tomcat 7

2012-10-03 Thread Shanti Suresh
y $process_pattern = "preview"; >> my $preview_pid = `/usr/bin/pgrep -f $process_pattern`; >> my $login = getpwuid($<) ; >> if (kill 0, $preview_pid){ >> #Possible to send a signal to the Preview Tomcat - either "webinf" >> or "root"

Re: high CPU usage on tomcat 7

2012-10-03 Thread Shanti Suresh
ng > @top_cmd = ("/usr/bin/top", "-H", "-n1", "-b"); > @sort_cmd = ("/bin/sort", "-r", "-n", "-k", "9,9"); > @sed_cmd = ("/bin/sed", "-n", "'8,$p'"); > system(&

Re: high CPU usage on tomcat 7

2012-10-02 Thread Kirill Kireyev
die "Could not open file: $!"; print $file @output; close $file; open LOG, "top_user_webinf_threads.log" or die $!; open (STDOUT, "| tee -ai top_cpu_preview_threads.log"); print "PID\tCPU\tMem\tJStack Info\n"; while ($l = ) { chop $l; $pid = $

Re: high CPU usage on tomcat 7

2012-09-30 Thread mailingl...@j-b-s.de
Well, if you have 4 cores and all cores are looping tomcat definitely will not respond any more... Von meinem iPad gesendet Am 30.09.2012 um 12:42 schrieb Jeff MAURY : > I don't think a cpu loop will make tomcat stopping responding to requests > I will make it very slow to respond > But a short

Re: high CPU usage on tomcat 7

2012-09-30 Thread Jeff MAURY
I don't think a cpu loop will make tomcat stopping responding to requests I will make it very slow to respond But a shortage on memory is hard to recover Jeff Le vendredi 28 septembre 2012, mailingl...@j-b-s.de a écrit : > Maybe an infinite loop? We observed something similar due to a bug in the

Re: high CPU usage on tomcat 7

2012-09-27 Thread mailingl...@j-b-s.de
= split(/\s+/, $l); >> $pct = $values[8]; >> $mem = $values[9]; >> # Debugger breakpoint: >> $DB::single = 1; >> >> # Find the Java thread that corresponds to the thread-id from the TOP output >> for my $j (@output) { >>

Re: high CPU usage on tomcat 7

2012-09-27 Thread Kirill Kireyev
pct . "\t" . $mem . "\t" . $j . "\n"; } } close (STDOUT); close LOG; --end of script -- Thanks. -Shanti On Thu, Sep 27, 2012 at 2:11 PM, Bill Miller < millebi.subscripti...@gmail.com> wrote:

Re: high CPU usage on tomcat 7

2012-09-27 Thread Shanti Suresh
my $j (@output) { > chop $j; > ($j =~ m/nid=$hex_pid/) && print $hex_pid . "\t" . $pct . "\t" . > $mem . "\t" . $j . "\n"; > } > } > > close (STDOUT); > > close LOG; > > > --end

Re: high CPU usage on tomcat 7

2012-09-27 Thread Shanti Suresh
" . $mem . "\t" . $j . "\n"; } } close (STDOUT); close LOG; --end of script -- Thanks. -Shanti On Thu, Sep 27, 2012 at 2:11 PM, Bill Miller < millebi.subscripti...@gmail.com> wrote: > I agree; w

RE: high CPU usage on tomcat 7

2012-09-27 Thread Bill Miller
rom: Jeff MAURY [mailto:jeffma...@gmail.com] Sent: September-27-2012 2:01 PM To: Tomcat Users List Subject: Re: high CPU usage on tomcat 7 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, "Kiri

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

Re: High CPU usage in Tomcat 7

2012-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, On 6/20/12 12:27 PM, James Lampert wrote: > We just had a report of extremely high CPU usage from the Tomcat > job on one of our customer installations. A WRKACTJOB screen shot > from before we forcibly shut Tomcat down and restarted

High CPU usage in Tomcat 7

2012-06-20 Thread James Lampert
We just had a report of extremely high CPU usage from the Tomcat job on one of our customer installations. A WRKACTJOB screen shot from before we forcibly shut Tomcat down and restarted it shows: Subsystem/Job Type CPU % FunctionStatus CATALINA BCH .0 CMD-QSH

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-15 Thread pionier
ails application just love memmory :) 480MB and everything works fine. -- View this message in context: http://old.nabble.com/Tomcat-%2B-Apache-%2B-AJP-%3D-high-cpu-usage%3A--tp27154357p27174860.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-15 Thread Peter Crowther
2010/1/14 pionier : > Linux vs4160 2.6.22-vs2.2.0.7-gentoo #4 SMP Mon Jul 27 01:53:39 Local time > zone must be set--see zic  x86_64 AMD Phenom(tm) II X4 810 Processor > AuthenticAMD GNU/Linux Thanks. OK, you've got a few options here. This is all because a process can only bind to a port < 1024

RE: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread pionier
pionier wrote: > > > > n828cl wrote: >> >>> From: pionier [mailto:pionierp...@interia.pl] >>> Subject: Re: Tomcat + Apache + AJP = high cpu usage:/ >>> >>> that is imposible... my virtual unix account do not allow that >> >

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread Peter Crowther
2010/1/14 pionier > that is imposible... my virtual unix account do not allow that :/ > > OK. I noticed you didn't tell us before what OS you were running on. Please tell us about the operating system you're running on. At the moment, we're guessing. - Peter

RE: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread pionier
n828cl wrote: > >> From: pionier [mailto:pionierp...@interia.pl] >> Subject: Re: Tomcat + Apache + AJP = high cpu usage:/ >> >> that is imposible... my virtual unix account do not allow that > > Whatever userid you're starting httpd with that uses por

RE: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread Caldarale, Charles R
> From: pionier [mailto:pionierp...@interia.pl] > Subject: Re: Tomcat + Apache + AJP = high cpu usage:/ > > that is imposible... my virtual unix account do not allow that Whatever userid you're starting httpd with that uses port 80 will also let you run Tomcat on port 80 - b

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread pionier
Peter Crowther wrote: > > 2010/1/14 pionier > >> Tomcat : >> 6.0.20 >> Im useing apache only for transfering request from 80 to 8080 >> High CPU usage starts exacly the same time i start apache... >> >> Then uninstall httpd, set up an HTTP c

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread Peter Crowther
2010/1/14 pionier > Tomcat : > 6.0.20 > Im useing apache only for transfering request from 80 to 8080 > High CPU usage starts exacly the same time i start apache... > > Then uninstall httpd, set up an HTTP connector on port 80 on Tomcat, and run just Tomcat. - Peter

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread pionier
iles to > configure apache and tomcat. > > JVM is in version : > java version "1.6.0_13" > Java(TM) SE Runtime Environment (build 1.6.0_13-b03) > Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode) > > Tomcat : > 6.0.20 > Im useing apache only for t

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread pionier
otSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode) Tomcat : 6.0.20 Im useing apache only for transfering request from 80 to 8080 High CPU usage starts exacly the same time i start apache... i discovered that when i chance 2 things CPU usage is ok 1. I change ProxyRequests to On every th

Re: Tomcat + Apache + AJP = high cpu usage:/

2010-01-14 Thread Peter Crowther
2010/1/14 pionier : > When i configured Tomcat to work with Apache > I discovered that immediately after  i run Apache, Tomcat i using 100% of > cpu usage ;/ > can someone tell me whay is this happening ? Apart from one guess, not without a lot more information or Andre's Internet Telepathy add-on

Tomcat + Apache + AJP = high cpu usage:/

2010-01-13 Thread pionier
/ ServerEnvironment apache apache -- View this message in context: http://old.nabble.com/Tomcat-%2B-Apache-%2B-AJP-%3D-high-cpu-usage%3A--tp27154357p27154357.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: high CPU usage

2009-12-09 Thread Mark Thomas
ue. > > Any pointers, inputs will be greatly appreciated. I know the original message is heading towards three years old for but for the benefit of the archives this was a JVM bug, not a Tomcat one. I can reproduce the high CPU usage with Tomcat 5.5.20 and JDK 1.5.

RE: high cpu usage by thread

2009-07-09 Thread Caldarale, Charles R
> From: news [mailto:n...@ger.gmane.org] On Behalf Of R.P. Aditya > Subject: high cpu usage by thread > > doing a thread dump, I see: > "TP-Processor30" daemon prio=1 tid=0x2aac610b5060 nid=0x27e7 > runnable [0x4a31..0x00

high cpu usage by thread

2009-07-09 Thread R.P. Aditya
Tomcat 5.5.27 running on JVM 1.5.0_13 (64bit) on Linux 2.6 with 6GB heap -- single JVM per server occasionally we notice high cpu usage by the java process and using the SNMP agent we can find the offending thread by sorting on jvmThreadInstCpuTimeNs in the most recent example, I found: TP

RE: high CPU usage

2007-03-23 Thread Gurdeep Kaur \(gurdeep\)
Subject: Re: high CPU usage Gurdeep Kaur (gurdeep) wrote: > So why would tomcat create two threads for one tls session? Because Tomcat receives two requests. You might want to start looking more closely at what is going on at the network level. M

Re: high CPU usage

2007-03-23 Thread Mark Thomas
Gurdeep Kaur (gurdeep) wrote: > So why would tomcat create two threads for one tls session? Because Tomcat receives two requests. You might want to start looking more closely at what is going on at the network level. Mark - To

Re: high CPU usage

2007-03-23 Thread Martin Gainty
e destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Gurdeep Kaur (gurdeep)" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, March 22, 2

RE: high CPU usage

2007-03-22 Thread Gurdeep Kaur \(gurdeep\)
So why would tomcat create two threads for one tls session? Gurdeep -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 4:31 PM To: Tomcat Users List Subject: Re: high CPU usage Gurdeep Kaur (gurdeep) wrote: > Mark, > > Just thinking

Re: high CPU usage

2007-03-22 Thread Mark Thomas
Gurdeep Kaur (gurdeep) wrote: > Mark, > > Just thinking some more, as to who actually invokes the threads? Is it > Tomcat? They look like Tomcat created threads to me. Mark - To start a new topic, e-mail: users@tomcat.apache.o

RE: high CPU usage

2007-03-22 Thread Gurdeep Kaur \(gurdeep\)
Mark, Just thinking some more, as to who actually invokes the threads? Is it Tomcat? Thanks Gurdeep -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 7:07 PM To: Tomcat Users List Subject: Re: high CPU usage Gurdeep Kaur (gurdeep) wrote

Re: high CPU usage

2007-03-21 Thread Mark Thomas
Gurdeep Kaur (gurdeep) wrote: > Any pointers, inputs will be greatly appreciated. The handshake is handled by JSSE / the JDK. This looks like a JSSE / JDK issue rather than a Tomcat one. Mark - To start a new topic, e-mail: user

high CPU usage

2007-03-21 Thread Gurdeep Kaur \(gurdeep\)
) Sent: Tuesday, March 20, 2007 4:56 PM To: users@tomcat.apache.org Subject: high CPU usage with codenomicon TLS test case #91 We are using tomcat 5.5 with JSSE. When we execute codenomicon test case #91 from the TLS suit, tomcat CPU usage goes up to 90%. The platform is Redhat Linux. Was wondering

high CPU usage with codenomicon TLS test case #91

2007-03-20 Thread Gurdeep Kaur \(gurdeep\)
We are using tomcat 5.5 with JSSE. When we execute codenomicon test case #91 from the TLS suit, tomcat CPU usage goes up to 90%. The platform is Redhat Linux. Was wondering if someone has seen something like this before. Thanks Gurdeep -

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread Yann Rouillard
Using Dtrace , I tried to gather some more information. Here is the output of a Dtrace script called dapptrace. It confirms the fact that the tomcat thread spends its cpu time in the Poll functions however I still don't understand why listening to events on port can't use so much cpu. Any hint

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread Yann Rouillard
Yes from what I understand a native call is used when you use the apache portable runtime with tomcat. Yann David Delbecq a écrit : Nice, in a native call :/ "ajp-8009-Poller-0" daemon prio=5 tid=0x087670e0 nid=0x10 runnable [0xd4ccf000..0xd4ccfd98] at org.apache.tomcat.jni.Poll.poll(Nati

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread David Delbecq
Nice, in a native call :/ "ajp-8009-Poller-0" daemon prio=5 tid=0x087670e0 nid=0x10 runnable [0xd4ccf000..0xd4ccfd98] at org.apache.tomcat.jni.Poll.poll(Native Method) at org.apache.tomcat.util.net.AprEndpoint$Poller.run(AprEndpoint.java:1153) at java.lang.Thread.run(Thread.java:534)

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread Yann Rouillard
Here is the jvm thread dump: Full thread dump Java HotSpot(TM) Client VM (1.4.2_11-b06 mixed mode): "ajp-8009-3" daemon prio=5 tid=0x083ee530 nid=0x12 in Object.wait() [0xd4c4b000..0xd4c4bd98] at java.lang.Object.wait(Native Method) - waiting on <0xd5e5c1f8> (a org.apache.tomc

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread David Delbecq
Could you send us a few jvm thread dumps while the CPU usage, i bet this an be more helpful than an os dump. To generate a Thread dump, simply send the signal 3 to the java process (assuming you use a SUN jvm or derivative) Yann Rouillard a écrit : > Did you tried it with Tomcat 5.5.17? >>> >

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread Yann Rouillard
Did you tried it with Tomcat 5.5.17? No but I can try. Some modifications have been on this area ? Yes, a lots of them, see the: http://tomcat.apache.org/tomcat-5.5-doc/changelog.html The way how Poller is handled has changed, so just try the 5.5.17. Ok, I have tried with 5.5.17 and the

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread Mladen Turk
Yann Rouillard wrote: Mladen Turk a écrit : Yann Rouillard wrote: Hi, I am noticing high cpu usage with tomcat 5.5.12 using APR 1.2.7 that doesn't appear with tomcat without apr. Which version of native you use? I use version 1.1.3 Did you tried it with Tomcat 5.5.17? No but

Re: High CPU Usage with Apache Portable Runtime

2006-09-21 Thread Yann Rouillard
Mladen Turk a écrit : Yann Rouillard wrote: Hi, I am noticing high cpu usage with tomcat 5.5.12 using APR 1.2.7 that doesn't appear with tomcat without apr. Which version of native you use? I use version 1.1.3 Did you tried it with Tomcat 5.5.17? No but I can try. Some modifica

Re: High CPU Usage with Apache Portable Runtime

2006-09-20 Thread Mladen Turk
Yann Rouillard wrote: Hi, I am noticing high cpu usage with tomcat 5.5.12 using APR 1.2.7 that doesn't appear with tomcat without apr. Which version of native you use? Did you tried it with Tomcat 5.5.17? -- Mladen. ---

  1   2   >