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
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.
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
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
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
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
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
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
-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
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
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
-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
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
facility
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
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 several
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
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 still t
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
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
[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
-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
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, 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:MaxGCPauseMil
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
wrote:
> #1. Sorry, was not a
#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.
-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
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
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
> -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:
>
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
-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
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,
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
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
> 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
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
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
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
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
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
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
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
> 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
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
>>> #!/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;
&
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"
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(&
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 = $
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
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
= 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) {
>>
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:
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
" .
$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
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
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
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
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
-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
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
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
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
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
>>
>
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
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
> 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
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
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
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
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
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
/
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
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.
> 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
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
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
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
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
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
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
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:
> 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
)
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
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
-
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
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
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)
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
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?
>>>
>
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
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
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
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 - 100 of 102 matches
Mail list logo