-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 the
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
> it needs to pull from wha
>
> 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
> more
-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 tw
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" mac
Here is the bug reference I found:https://jira.spring.io/i#browse/SPR-11335
Regards,-Tony
From: "Balana, Vishal"
To: Tomcat Users List ; PerfGuru
; Jeffrey Janner
Sent: Tuesday, April 14, 2015 8:19 AM
Subject: RE: Performance question...
Could you please share the refe
27;
Subject: Re: 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 th
cache but as
expected it did not make a difference. Again thanks for all the
suggestions.-Tony
From: Jeffrey Janner
To: 'Tomcat Users List' ; 'PerfGuru'
Sent: Friday, April 10, 2015 1:03 PM
Subject: RE: Performance question...
> -Original Messag
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 this
will give you a clue about what the threads are doing at that time.
If
-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 (
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
for
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 a
-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 ver
-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 Datum:
>> Mon, 29 Oct 2012 03:52:36 +0100
>>
>> Personally, I prefer Linux based upon its friendlines
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
Hi Christopher,
-Original-Nachricht-
> Von: Christopher Schultz
> 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 tools if necessary.
Wel
> 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 t
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
bel
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
> > wrote:
> >
> >> Hi, Now I have a windows 2003 server and a
On Sun, Oct 28, 2012 at 7:10 PM, André Warnier 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
-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
> 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
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) .
W
On 28 Oct 2012, at 11:39, 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
>
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 app
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 application performance (wo
ubject: 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
> >
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
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
t
> 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 will
handle concurrently,
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 a
Hello Ali, there are no absolute benchmarks for what you are looking for. The
central theme to any performance questions invariably lead to the word
(Architecture). You need to evaluate you overall architecture from a high level
perspective. With this said the questions then are:
* What is your
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 mi
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 understan
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 wit
Hi,
We are building a web application with JSF. Last day I tested it with
JMeter. Results are bad (I guess).
Then I tried to send 3 requests with JMeter to "Shuffle Example" in
Tomcat's examples directory with a limited size of (256 MB I think) memory
resource given to Tomcat. This "Shuffle E
atabase (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.
---
t's servlets, or Tomcat, as opposed 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 fro
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
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
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
above
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
da
> 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
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"
Sent: Tuesday, August 08, 2006 5:02 AM
Subject: RE: Code perfor
> 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 t
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
>> da
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 perfor
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 exampl
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
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 st
> 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 t
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 to
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
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; i
System.out
> 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
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
st
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> data.length is evaluated each time.
>
> here's the example to demonstrate it:
[Example elided that reassigns data inside the loop]
That example would indeed be evaluated each time. However, *if* the
compiler's sufficiently smart, it could detec
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
structured as "a=1&b=2&c=3&d=4&e=5". It is
executed for over 2 million data lines per day, so this routine is
executed over 10 mi
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; i wrote:
I have a couple of questions about t
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++ ) {
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,
61 matches
Mail list logo