-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Markus,
On 10/25/17 10:53 AM, i...@flyingfischer.ch wrote:
>
>>
>> Yes, it's the SecureRandom initialization that is killing you.
>> Being a virtual server, it likely has no direct source of true
>> randomness so it needs to pull from whatever
And haveged works GREAT! Thanks Markus.
On Wednesday, October 25, 2017 10:53 AM, "i...@flyingfischer.ch"
wrote:
>
> Yes, it's the SecureRandom initialization that is killing you. Being a
> virtual server, it likely has no direct source of true randomness so
>
>
> Yes, it's the SecureRandom initialization that is killing you. Being a
> virtual server, it likely has no direct source of true randomness so
> it needs to pull from whatever the hypervisor is willing to provide.
>
> You'll need to ask your virtualization vendor for how to get access to
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Ray,
On 10/25/17 9:08 AM, Ray Holme wrote:
> I asked this question before (differently) and got some answers but
> now I think I understand what is really happening. I just want to
> confirm that I have finally understood what is happening. Given
I asked this question before (differently) and got some answers but now I think
I understand what is really happening.
I just want to confirm that I have finally understood what is happening.
Given two Linux boxes running the same application, one is much slower starting
(think that "slower"
:19 AM
Subject: RE: Performance question...
Could you please share the reference/link to spring framework fix as only code
cache increase didn't help?
Regards,
Vishal
-Original Message-
From: PerfGuru [mailto:myunipor...@yahoo.com.INVALID]
Sent: Monday, April 13, 2015 5:23 PM
: Performance question...
Sorry Jeff my Tocat emails are bouncing from the email address use so using
another one that works. Last Friday the development team tried the spring
framework fix sugested and it fixed the problem of higher than normal cpu and
performance. We did try the other idea
question...
-Original Message-
From: PerfGuru [mailto:myunipor...@yahoo.com.INVALID]
Sent: Thursday, April 09, 2015 10:17 AM
To: Tomcat Users List
Subject: Re: Performance question...
Looks like we have two potential root causes. 1. Spring Framework 4.0.0
and jdk 1.7.0_51 are used
To: PerfGuru myunipor...@yahoo.com; users users@tomcat.apache.org
Sent: Tuesday, April 7, 2015 5:55 PM
Subject: Re: Performance question...
Hello
Try to do a java thread dump and check the stuck threads (possibly by
comparing with the output of the tomcat server status page). Hopefully
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Tony,
On 4/7/15 12:54 PM, PerfGuru wrote:
Hi All,We are noticing when running a simple load test of 25
virtual users that our Tomcat server is running at 40% CPU and
transactions are taking over 40 seconds. We setup a test where we
focused (in
Hi All,We are noticing when running a simple load test of 25 virtual users that
our Tomcat server is running at 40% CPU and transactions are taking over 40
seconds. We setup a test where we focused (in a loop) one of the longer
response time requests. The access logs show the log response time
Hello
Try to do a java thread dump and check the stuck threads (possibly by
comparing with the output of the tomcat server status page). Hopefully this
will give you a clue about what the threads are doing at that time.
If the application uses a database, you may see that they are stuck waiting
Ashkan Rahmani wrote:
...
Application is under heavy developing, app has some page ( I call it page,
I don't know java or serverlet) with very high latency occurs for now, some
times we got out of memory error message.
This is test server with windows 2003 x86 and tomcat 6.x. Chief developer
Thank you, This is very completed answer and I found it really useful, and
hopeful!
Application is under heavy developing, app has some page ( I call it page,
I don't know java or serverlet) with very high latency occurs for now, some
times we got out of memory error message.
This is test
Hi Christopher,
-Original-Nachricht-
Von: Christopher Schultz ch...@christopherschultz.net
Datum: Mon, 29 Oct 2012 03:52:36 +0100
Personally, I prefer Linux based upon its friendliness to developers
and administrators: it's got the tools we need and it's easy to build
additional
On 10/29/2012 03:16 PM, verlag.preis...@t-online.de wrote:
3. Bizarre observations when using high-resolution (or even ms-res)
clocks and timers... seems like you can't get more than about 0.1-sec
resolution or so reliably -- or at least plausibly -- on a win32 box.
Hmm, I think this applies
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Konstantin,
On 10/29/12 3:16 PM, verlag.preis...@t-online.de wrote:
Hi Christopher,
-Original-Nachricht-
Von: Christopher Schultz ch...@christopherschultz.net Datum:
Mon, 29 Oct 2012 03:52:36 +0100
Personally, I prefer Linux based
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 10/29/12 2:45 PM, Pid wrote:
Thank you, This is very completed answer and I found it really
useful, and hopeful! Application is under heavy developing, app
has some page ( I call it page, I don't know java or serverlet)
with very high
Ashkan Rahmani wrote:
Hi,
Now I have a windows 2003 server and a Tomcat 6.x on it.
Our application has many many parts and it's very big.
Actually we are not happy with tomcat performance, (We are working very
hard on developing that software and improving
performance) .
We want to improve
On 28 Oct 2012, at 11:39, Ashkan Rahmani ashkan...@gmail.com wrote:
Hi,
Now I have a windows 2003 server and a Tomcat 6.x on it.
Our application has many many parts and it's very big.
Actually we are not happy with tomcat performance, (We are working very
hard on developing that software
André Warnier wrote:
Ashkan Rahmani wrote:
Hi,
Now I have a windows 2003 server and a Tomcat 6.x on it.
Our application has many many parts and it's very big.
Actually we are not happy with tomcat performance, (We are working very
hard on developing that software and improving
performance) .
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 10/28/12 10:40 AM, Pid * wrote:
On 28 Oct 2012, at 11:39, Ashkan Rahmani ashkan...@gmail.com
wrote:
Hi, Now I have a windows 2003 server and a Tomcat 6.x on it. Our
application has many many parts and it's very big.
Actually we are
On Sun, Oct 28, 2012 at 7:10 PM, André Warnier a...@ice-sa.com wrote:
André Warnier wrote:
Ashkan Rahmani wrote:
Hi,
Now I have a windows 2003 server and a Tomcat 6.x on it.
Our application has many many parts and it's very big.
Actually we are not happy with tomcat performance, (We are
On Mon, Oct 29, 2012 at 6:22 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 10/28/12 10:40 AM, Pid * wrote:
On 28 Oct 2012, at 11:39, Ashkan Rahmani ashkan...@gmail.com
wrote:
Hi, Now I have a windows 2003 server
Hello Ali, please find included below a link URL that addresses the JSF
performance issue. A much more rigorous test would be to use the JMeter
distributed testing using the JMeter server. HTH, David.
Ali Ok wrote ..
Hi,
We are building a web application with JSF. Last day I tested it with
Thanks David,
I mean, if I make 3 requests in a very short time (about 10 seconds);
Tomcat does not respond.
I read books, tutorials, faqs and threads at maling list about Tomcat
tuning. But I couldnt find an example server.xml file used in production or
real test results.
So I cant
30,000 requests in 10 seconds probably isn't normal traffic, but it could
represent a sudden spike.
think of it another way, that's 3,000 requests per second. If we calculate
that for a 10 hour period, it puts things in perspective
1000 req/sec * 60 sec/min = 60,000 req/min
60,000 req/min * 60
Hello Ali, there are no absolute benchmarks for what you are looking for. The
central theme to any performance questions invariably lead to the A word
(Architecture). You need to evaluate you overall architecture from a high level
perspective. With this said the questions then are:
* What is
Peter, thats ok, maybe some day we can get that much hit :)
What if someone make so much requests and confuse the server?
Does Tomcat have an prevention for this situation? Or is it beyond the
scope?
David, I have already read all of resources you sent.
Invariably performance issues are rarely
From: Ali Ok [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat Performance Question
What if someone make so much requests and confuse the server?
Does Tomcat have an prevention for this situation?
You can configure the maximum number of requests a Connector will
handle concurrently, as well
have you tried monitoring the CPU and IO usage of the system during the
test?
In the past, when I stress test an application, I monitor the cpu and io, to
determine which part is getting maxed out first. For example, if I was
serving up static pages, the first thing to mak out is the IO, so even
Ali Ok wrote:
Thanks David,
I mean, if I make 3 requests in a very short time (about 10 seconds);
Tomcat does not respond.
I read books, tutorials, faqs and threads at maling list about Tomcat
tuning. But I couldnt find an example server.xml file used in production or
real test results.
So
:18 PM
Subject: Re: Tomcat Performance Question
Ali Ok wrote:
Thanks David,
I mean, if I make 3 requests in a very short time (about 10
seconds);
Tomcat does not respond.
I read books, tutorials, faqs and threads at maling list about Tomcat
tuning. But I couldnt find an example
to possibly the
database (Oracle) I'm using?
can you tell me more about performance monitoring log files?
Regards,
Frank
--
View this message in context:
http://www.nabble.com/performance-question-tf2090969.html#a6713234
Sent from the Tomcat - User mailing list archive at Nabble.com
monitoring log files?
Regards,
Frank
--
View this message in context:
http://www.nabble.com/performance-question-tf2090969.html#a6713234
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail
Lambda Probe is a free+easy way to get some
instrumentation
Propes, Barry L wrote:
I'm having some problems this morning with performance. How can I easily
determine if it's servlets, or Tomcat, as opposed to possibly the database
(Oracle) I'm using?
I've not had this problem before.
Barry
hmm
check your probably not existing performance monitoring log files? :-)
Leon
On 8/11/06, Propes, Barry L [EMAIL PROTECTED] wrote:
I'm having some problems this morning with performance. How can I easily
determine if it's servlets, or Tomcat, as opposed to possibly the database
(Oracle)
I'm having some problems this morning with performance. How can I easily
determine if it's servlets, or Tomcat, as opposed to possibly the database
(Oracle) I'm using?
I've not had this problem before.
Barry
David Kerber wrote:
Pid wrote:
here's another obvious question:
if you're in a servlet, and you're getting an separated string from
somewhere, where is the somewhere that you're getting it from?
does the servlet activate and collection the data somehow, or does the
data get sent to the
From: David Kerber [mailto:[EMAIL PROTECTED]
Do you think
it be more efficient to scan the string once and grab the
field values as I get to each field marker?
Yes.
Yes, the machine is cpu-bound.
My 768k data line will spike the cpu to 100% and hold it
above 95% until
the
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: Peter Crowther [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, August 08, 2006 5:02 AM
Subject: RE: Code performance question
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Please read
http://www.javaranch.com/newsletter/200401/IntroToCodeCoverage.html
paying particular attention to race conditions, deadly
embraces and basic coverage of Functions
Martin, I'm confused - could you just outline how code coverage
Pid wrote:
David Kerber wrote:
Pid wrote:
here's another obvious question:
if you're in a servlet, and you're getting an separated string from
somewhere, where is the somewhere that you're getting it from?
does the servlet activate and collection the data somehow, or does the
data
Peter Crowther wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Do you think
it be more efficient to scan the string once and grab the
field values as I get to each field marker?
Yes.
Yes, the machine is cpu-bound.
My 768k data line will spike the cpu to 100% and hold it
I have a couple of questions about the performance of my code, but I'm
going to ask them in separate threads.
The first one is, if I have this loop:
for ( ii = 0; ii data.length; ii++ ) {
where data is defined as byte[] , is the .length property evaluated each
time through the loop,
By the way, this code is in a servlet running under 5.5.12, if it matters.
David Kerber wrote:
I have a couple of questions about the performance of my code, but I'm
going to ask them in separate threads.
The first one is, if I have this loop:
for ( ii = 0; ii data.length; ii++ ) {
data.length is evaluated each time.
here's the example to demonstrate it:
public class TestLoop {
public static void main(String a[]){
byte data[] = new byte[10];
int counter = 0;
for (int i=0; idata.length; i++){
thats ugly, why don't you tokenize it into string pairs, store the
pairs and works with them?
leon
On 8/7/06, David Kerber [EMAIL PROTECTED] wrote:
This code is part of a servlet running in TC 5.5.12, jre ver 1.5.0.6.
I use this code to break out individual data fields from a line which is
From: David Kerber [mailto:[EMAIL PROTECTED]
It is
executed for over 2 million data lines per day, so this routine is
executed over 10 million times per day.
[snippet of code that parses the line each time elided]
Opinion: You're optimising the wrong piece of code.
You're calling this 5
Thanks for the help!
Leon Rosenberg wrote:
data.length is evaluated each time.
here's the example to demonstrate it:
public class TestLoop {
public static void main(String a[]){
byte data[] = new byte[10];
int counter = 0;
for (int i=0; idata.length; i++){
I'm not sure how to Split it on the , put it into a suitably keyed
structure such as a Map other than the way I'm doing it already, unless
I'm not understanding your suggestion. So I think I need to give a bit
more info about how this is used:
I can't control the data coming in; it's from a
See my response to Peter; I can't control the format of that data string
(it's from a different application). I just need to split out the data
fields and store them away in a disk file. Or am I missing the point of
your suggestion?
Dave
Leon Rosenberg wrote:
thats ugly, why don't you
From: David Kerber [mailto:[EMAIL PROTECTED]
Is there a more efficient split method I could use? Or am I
completely missing the point of what you are suggesting?
I think you've slightly missed the point. I assume you're calling your
function 5 times, each with a different field name that
here's another obvious question:
if you're in a servlet, and you're getting an separated string from
somewhere, where is the somewhere that you're getting it from?
does the servlet activate and collection the data somehow, or does the
data get sent to the servlet (in, for example the query
Peter Crowther wrote:
From: David Kerber [mailto:[EMAIL PROTECTED]
Is there a more efficient split method I could use? Or am I
completely missing the point of what you are suggesting?
I think you've slightly missed the point. I assume you're calling your function 5 times, each with a
Pid wrote:
here's another obvious question:
if you're in a servlet, and you're getting an separated string from
somewhere, where is the somewhere that you're getting it from?
does the servlet activate and collection the data somehow, or does the
data get sent to the servlet (in, for example
David Kerber wrote:
I haven't run a profiler on this code; I've tried, but getting the
configuration figured out has stumped me every time.
I have had good results with YourKit. Simple to set up and a nice
output that shows where the time is spent. I have used to to
investigate reported
57 matches
Mail list logo