tack 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 cpu us
(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.
This works good
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 figure out
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
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
=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:19 PM
>
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 cpu usage
Alan
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
by a 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.jsp?p
-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
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
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
-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
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
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
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
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...
>
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
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
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
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
> 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 stil
rk Thomas
> [mailto:ma...@apache.org] Sent: Thursday, October 27, 2016 4:48 AM
> To: Tomcat Users List <users@tomcat.apache.org> 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 Win
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 <users@tomcat.apache.org>
Subject: Re: Tomcat 9 exe, High CPU usage due to TCP I/O with
...@christopherschultz.net]
Sent: Thursday, October 27, 2016 12:03 PM
To: Tomcat Users List <users@tomcat.apache.org>
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/2
-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
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
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:
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:MaxGCPauseMillis=1500
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
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
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
2014-04-30 23:41 GMT+04:00 srinivas rapolu rapolu.srini...@gmail.com:
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
-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 again
#1. Sorry, was not aware of attachments. Uploaded screenshot at:
http://www.imageurlhost.com/images/souyh4ks07ber4kwu9u.png
#2. Connector details from server.xml
Connector port=80 protocol=HTTP/1.1 connectionTimeout=2
redirectPort=443 /
Connector port=8009 protocol=AJP/1.3 redirectPort=8443 /
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 showed
-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:
We have been profiling
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
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
-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
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
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
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 a...@ice-sa.com wrote:
Karuppu Samy wrote:
Hi Team,
I find tomcat is using high CPU usage in my server. Is there any way to
limit
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 to your operating system
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 a...@ice-sa.com wrote:
Karuppu Samy wrote:
Hi Team,
I find tomcat is using high CPU usage
Kirill Kireyev kir...@instagrok.com 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
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 ma...@apache.org wrote:
Kirill Kireyev kir...@instagrok.com wrote:
Thanks for all your thorough advice Shanti! (and
tips.
Thanks.
-Shanti
On Thu, Oct 4, 2012 at 2:08 PM, Jeff MAURY jeffma...@gmail.com wrote:
Le 4 oct. 2012 14:38, Caldarale, Charles R chuck.caldar...@unisys.com
a
écrit :
From: Kirill Kireyev [mailto:kir...@instagrok.com]
Subject: Re: high CPU usage
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 it works. The amount of time
Le 4 oct. 2012 14:38, Caldarale, Charles R chuck.caldar...@unisys.com 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 don't become a huge CPU
...@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
-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
-
To unsubscribe
a memory spike
that's killing Tomcat.
Bill
-Original Message-
From: Jeff MAURY [mailto:jeffma...@gmail.com 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
le ($l = LOG) {
chop $l;
$pid = $l;
$pid =~ s/webinf.*//g;
$pid =~ s/ *//g;
## Hex PID is available in the Sun HotSpot Stack Trace */
$hex_pid = sprintf("%#x", $pid);
@values = split(/\s+/, $l)
print "PID\tCPU\tMem\tJStack Info\n";
while ($l = LOG) {
chop $l;
$pid = $l;
$pid =~ s/webinf.*//g;
$pid =~ s/ *//g;
## Hex PID is available in the Sun HotSpot Stack Trace */
$hex_pid = sprintf("%#x", $pid);
@values = split(/\s+/, $l);
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
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 jeffma...@jeffmaury.com:
I don't think a cpu loop will make tomcat stopping responding to requests
I will make it very slow to
: 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
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
Kirill Kireyev kir...@instagrok.com 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
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 kir...@instagrok.com a écrit :
Hi!
I'm periodically getting unduly high (100%) CPU usage by the tomcat
process on my
[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, Kirill Kireyev kir
a memory spike
that's killing Tomcat.
Bill
-Original Message-
From: 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
JMX monitoring and you may discover a memory spike
that's killing Tomcat.
Bill
-Original Message-
From: 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
DOUT);
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; we have reproducible instances where PermGen is not set to our
requireme
-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 it shows
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
2010/1/14 pionier pionierp...@interia.pl:
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
helpfull in future...
but in my case the problem was more trivial... I had to buy exta 100MB of
ram...
it looks like grails 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
2010/1/14 pionier pionierp...@interia.pl:
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
://localhost:8009/
to
ProxyPass /something ajp://localhost:8009/
ProxyPassReverse /something ajp://localhost:8009/
it is also ok... but when i map it directly to / cpu usage is up to 100%;/
--
View this message in context:
http://old.nabble.com/Tomcat-%2B-Apache-%2B-AJP-%3D-high-cpu-usage%3A
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 thing is ok but after few minutes
request gets timeout,
2.
when i change proxy pass from
ProxyPass / ajp
2010/1/14 pionier pionierp...@interia.pl
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
Peter Crowther wrote:
2010/1/14 pionier pionierp...@interia.pl
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
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 - but you do have to stop
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 port 80 will also let
you run Tomcat on port 80
2010/1/14 pionier pionierp...@interia.pl
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
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
Whatever userid you're starting httpd with that uses port 80 will also
let you run
/VirtualHost
/IfDefine
--
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.
-
To unsubscribe
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.0_10.
Updating the JVM to 1.5.0_22 or 1.6.0_17 resolves the issue.
Mark
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..0x4a324c10
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
CPU usage
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 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
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.
Mark
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
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.org
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 some more
)
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
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:
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
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
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 modifications
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 I can
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
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?
No but
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)
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
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.
The server is a Solaris 10 x86, bi processor.
As soon as several ajp13 connections are made, the cpu usage of the java
process increase to 50%.
Is this expected behaviour
I am running Tomcat 5.0.28 and Axis 1.2.1 using Java 1.4.2. For some
it is causing my server to become very slow. When doing a top i
notice that the load average is very high. Tomcat's/Axis' usage of
java is causing this. The only modification we made to Tomcat was
increasing it's jvm heap
100 matches
Mail list logo