-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
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
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
> -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,
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 the
> 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 any way to
>> limit the memoryCP
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-u
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
-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:
Gurdeep Kaur (gurdeep) wrote:
> I am going to add some more information to the question I asked
> yesterday.
>
> I am running a TLS test case to do a TLS handshake on port 8443 of our
> server that is running Tomcat 5.5.
>
> I noticed in the log file that there are two threads currently running
>
> 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]
> at
> com.sun.faces.context.MyHttpSe
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
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 I can tr
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 h
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.
-
To st
60 matches
Mail list logo