Re: Is their any tutorial for optimizing tomcat performance?

2004-11-08 Thread Peter Lin
first we need to know what kind of hardware you're using. there are
articles on tomcat's resource page.
http://jakarta.apache.org/tomcat/resources.html

tuning the performance should take into consideration what kind of
load you expect, so if you don't have those written down as
requirements, I would get that information first.

peter


On Mon, 8 Nov 2004 10:19:46 +0530, Amit Gupta
[EMAIL PROTECTED] wrote:
 Hi,
 
 Is their any tutorial for optimizing tomcat performance? I run it on 64 MB 
 RAM and 64 SWAP Space. is it Ok or not?
 
 Amit Gupta
 Email: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Is their any tutorial for optimizing tomcat performance?

2004-11-07 Thread Amit Gupta
Hi,

Is their any tutorial for optimizing tomcat performance? I run it on 64 MB RAM 
and 64 SWAP Space. is it Ok or not?
 
Amit Gupta
Email: [EMAIL PROTECTED]



RE: tomcat performance/GC with JVMStat's visualgc

2004-08-13 Thread Dale, Matt

Its quite easy. Download jvmstat and add the bin directory (bat on windows) to your 
path. Run jvmps in a command window to find out the process id of your tomcat, it is 
the one with Bootstrap in it. Then run visualgc with the process id. 

You can also do this remotely by supplying a machine name to jvmps and visualgc. Read 
the instructions for jvmstat and all will become clear.

-Original Message-
From: Rajesh [mailto:[EMAIL PROTECTED]
Sent: 13 August 2004 06:08
To: [EMAIL PROTECTED]
Subject: tomcat performance/GC with JVMStat's visualgc 


Hai all

how to check Tomcat's garbage collectioin with JVMStat's visualgc

Rajesh

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: tomcat performance/GC with JVMStat's visualgc

2004-08-13 Thread Nandish Rudra
JProbe is also a nice tool for tracking JVM behaviour. You may want to look
into it. 

Nandish Rudra
ECI Conference Call Services, LLC

-Original Message-
From: Rajesh [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 1:08 AM
To: [EMAIL PROTECTED]
Subject: tomcat performance/GC with JVMStat's visualgc 


Hai all

how to check Tomcat's garbage collectioin with JVMStat's visualgc

Rajesh

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat performance/GC with JVMStat's visualgc

2004-08-13 Thread Peter Lin
you can always try JFluid, which is an experimental VM from sun that
has some cool profiling features.

peter


On Fri, 13 Aug 2004 09:05:51 -0400, Nandish Rudra [EMAIL PROTECTED] wrote:
 JProbe is also a nice tool for tracking JVM behaviour. You may want to look
 into it.
 
 Nandish Rudra
 ECI Conference Call Services, LLC
 
 
 
 -Original Message-
 From: Rajesh [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 13, 2004 1:08 AM
 To: [EMAIL PROTECTED]
 Subject: tomcat performance/GC with JVMStat's visualgc
 
 Hai all
 
 how to check Tomcat's garbage collectioin with JVMStat's visualgc
 
 Rajesh
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat performance/GC with JVMStat's visualgc

2004-08-12 Thread Rajesh
Hai all
how to check Tomcat's garbage collectioin with JVMStat's visualgc
Rajesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SunONE versus Tomcat performance

2004-08-03 Thread Nikola Milutinovic
Jérôme Duval wrote:
Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot of
overhead in using the connector and all that? Seems to me a more logical
test would be Tomcat vs SunONE and the most recent version of both, which
Tomcat 4.1.30 is not. I smell bogus test results!
When I see 2-5 times, I smell bogus results. I know that SunONE is 
professional, I know that Tomcat is free and contributed, but it CANNOT 
be 2x-5x faster. Even if SunONE is written in assembler (which I doubt).

Even if they wrote it in C++, they still need Java classloader and other 
stuff. There just isn't that much room for code optimization. If they 
are stating that with high user load SunONE outperforms Tomcat, I'd say 
it's either misconfigured Tomcat or connector issues.

Nix.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SunONE versus Tomcat performance

2004-08-03 Thread Peter Lin
having used SunOne in the past, I would agree 2-5x faster is not
likely or even possible.  SunOne is a combination of the old Netscape
code, jvm and the reference implementation of the servlet spec.

In practice, it is no different than servlet containers that use
native library for handling sockets. The last time I benchmarked
Netscape on a real application, it was slower than tomcat 4.1.x.  The
configuration and debugging mode of SunOne is also a pain to use and
often didn't work correctly.

As usual, the only way to know which is better is to write your app
and stick to the standard API. Once you have the app done, benchmark
the app on both and get real data. Developers should know better than
take benchmarks as truth. At best they're only reference points and
baseline data. When you consider most servlet containers are already
in their 4th/5th release and everyone has had plenty of time to
optimize performance and scalability, the differences are not going to
be significant at this point.

peter


On Tue, 03 Aug 2004 08:09:22 +0200, Nikola Milutinovic
[EMAIL PROTECTED] wrote:
 Jérôme Duval wrote:
  Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot of
  overhead in using the connector and all that? Seems to me a more logical
  test would be Tomcat vs SunONE and the most recent version of both, which
  Tomcat 4.1.30 is not. I smell bogus test results!
 
 When I see 2-5 times, I smell bogus results. I know that SunONE is
 professional, I know that Tomcat is free and contributed, but it CANNOT
 be 2x-5x faster. Even if SunONE is written in assembler (which I doubt).
 
 Even if they wrote it in C++, they still need Java classloader and other
 stuff. There just isn't that much room for code optimization. If they
 are stating that with high user load SunONE outperforms Tomcat, I'd say
 it's either misconfigured Tomcat or connector issues.
 
 Nix.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: SunONE versus Tomcat performance

2004-08-02 Thread Jérôme Duval
Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot of
overhead in using the connector and all that? Seems to me a more logical
test would be Tomcat vs SunONE and the most recent version of both, which
Tomcat 4.1.30 is not. I smell bogus test results!

-Original Message-
From: V D [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 31, 2004 11:24 PM
To: Tomcat Users List
Subject: Re: SunONE versus Tomcat performance


I used it for webservice before, and it is faster than Tomcat, but I
wouldn't say that was 2 to 5 times for that particular case.  You can get it
for free because it's bundled with the Application Server platform which is
free.

Julian wrote:


 Just downloaded it to give it a try. There's a trial version but 
 nevertheless it costs only $75.



 David Rees wrote:

 David Wall wrote:

 It is worth noting that Sun Java Web Server has better performance 
 than Apache Tomcat; you can learn more about this from Sun Java Web 
 Server vs.
 Apache/Tomcat Benchmarks.

 The link to the KeyLabs report is at 
 http://www.keylabs.com/results/sun/SunONEFinalReport_Solaris.pdf

 Why would SunONE be anywhere from 2 to 5 times faster than Tomcat?

 They also suggest that Tomcat would start to show errors when 
 loading 200 users at a time, whereas SunONE could handle up to 500 
 users without any errors.



 It's hard to say why the Apache/Tomcat combination would not perform 
 as well as SunONE (which I am not familar with), but without more 
 details of the Apache/Tomcat configuration it's too difficult to say.

 Has anyone independantly tested SunONE compared to Apache/Tomcat?

 -Dave


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 .


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SunONE versus Tomcat performance

2004-08-02 Thread Vy Ho
I am sorry for not being clear enough.
The test did not run with both Apache and Tomcat, only Tomcat 5.0.  
Please understand that I do not try to create a flame war here.  This is 
only a particular case, no scientific comparison, and no pointing out 
which one is better overall.  Please download it yourself, and try with 
your application if performance is something you want to find out.

Jérôme Duval wrote:
Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot of
overhead in using the connector and all that? Seems to me a more logical
test would be Tomcat vs SunONE and the most recent version of both, which
Tomcat 4.1.30 is not. I smell bogus test results!
-Original Message-
From: V D [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 31, 2004 11:24 PM
To: Tomcat Users List
Subject: Re: SunONE versus Tomcat performance

I used it for webservice before, and it is faster than Tomcat, but I
wouldn't say that was 2 to 5 times for that particular case.  You can get it
for free because it's bundled with the Application Server platform which is
free.
Julian wrote:
 

Just downloaded it to give it a try. There's a trial version but 
nevertheless it costs only $75.


David Rees wrote:
   

David Wall wrote:
 

It is worth noting that Sun Java Web Server has better performance 
than Apache Tomcat; you can learn more about this from Sun Java Web 
Server vs.
Apache/Tomcat Benchmarks.

The link to the KeyLabs report is at 
http://www.keylabs.com/results/sun/SunONEFinalReport_Solaris.pdf

Why would SunONE be anywhere from 2 to 5 times faster than Tomcat?
They also suggest that Tomcat would start to show errors when 
loading 200 users at a time, whereas SunONE could handle up to 500 
users without any errors.
   

It's hard to say why the Apache/Tomcat combination would not perform 
as well as SunONE (which I am not familar with), but without more 
details of the Apache/Tomcat configuration it's too difficult to say.

Has anyone independantly tested SunONE compared to Apache/Tomcat?
-Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: SunONE versus Tomcat performance

2004-08-02 Thread Jérôme Duval
The report you linked to ran with Apache and Tomcat version 4.1.30. Don't
believe me?
3.2 Web Server Configuration

3.2.1 Apache /Tomcat
For this test KeyLabs used Apache 2 and Tomcat 4.1.24. The Apache web server
was configured with
the Coyote connector. During the test all request were directed to the
Apache web server, which then
routed only the JSP requests to Tomcat. When the Apache server was compiled
SSL enabled, and the
worker mpm was specified. Tomcat used the Sun Java version 1.4.1_03.

In any case, I am just saying that the test results appear bogus to me,
because I would use only Tomcat as a web server (for both dynamic and static
content). That being said, SunONE might be better then Tomcat, but I don't
know because I haven't seen a reliable comparison and haven't tested them
myself.

Cheers!

-Original Message-
From: Vy Ho [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 02, 2004 10:07 AM
To: Tomcat Users List
Subject: Re: SunONE versus Tomcat performance


I am sorry for not being clear enough.
The test did not run with both Apache and Tomcat, only Tomcat 5.0.  
Please understand that I do not try to create a flame war here.  This is
only a particular case, no scientific comparison, and no pointing out which
one is better overall.  Please download it yourself, and try with your
application if performance is something you want to find out.

Jérôme Duval wrote:

Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot 
of overhead in using the connector and all that? Seems to me a more 
logical test would be Tomcat vs SunONE and the most recent version of 
both, which Tomcat 4.1.30 is not. I smell bogus test results!

-Original Message-
From: V D [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 31, 2004 11:24 PM
To: Tomcat Users List
Subject: Re: SunONE versus Tomcat performance


I used it for webservice before, and it is faster than Tomcat, but I 
wouldn't say that was 2 to 5 times for that particular case.  You can 
get it for free because it's bundled with the Application Server 
platform which is free.

Julian wrote:

  

Just downloaded it to give it a try. There's a trial version but 
nevertheless it costs only $75.



David Rees wrote:



David Wall wrote:

  

It is worth noting that Sun Java Web Server has better performance 
than Apache Tomcat; you can learn more about this from Sun Java Web 
Server vs.
Apache/Tomcat Benchmarks.

The link to the KeyLabs report is at 
http://www.keylabs.com/results/sun/SunONEFinalReport_Solaris.pdf

Why would SunONE be anywhere from 2 to 5 times faster than Tomcat?

They also suggest that Tomcat would start to show errors when 
loading 200 users at a time, whereas SunONE could handle up to 500 
users without any errors.



It's hard to say why the Apache/Tomcat combination would not perform 
as well as SunONE (which I am not familar with), but without more 
details of the Apache/Tomcat configuration it's too difficult to say.

Has anyone independantly tested SunONE compared to Apache/Tomcat?

-Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


.

  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SunONE versus Tomcat performance

2004-08-02 Thread Vy Ho
That wasn't me who put that link out.  Check the name.
Jérôme Duval wrote:
The report you linked to ran with Apache and Tomcat version 4.1.30. Don't
believe me?
3.2 Web Server Configuration
3.2.1 Apache /Tomcat
For this test KeyLabs used Apache 2 and Tomcat 4.1.24. The Apache web server
was configured with
the Coyote connector. During the test all request were directed to the
Apache web server, which then
routed only the JSP requests to Tomcat. When the Apache server was compiled
SSL enabled, and the
worker mpm was specified. Tomcat used the Sun Java version 1.4.1_03.
In any case, I am just saying that the test results appear bogus to me,
because I would use only Tomcat as a web server (for both dynamic and static
content). That being said, SunONE might be better then Tomcat, but I don't
know because I haven't seen a reliable comparison and haven't tested them
myself.
Cheers!
-Original Message-
From: Vy Ho [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 02, 2004 10:07 AM
To: Tomcat Users List
Subject: Re: SunONE versus Tomcat performance

I am sorry for not being clear enough.
The test did not run with both Apache and Tomcat, only Tomcat 5.0.  
Please understand that I do not try to create a flame war here.  This is
only a particular case, no scientific comparison, and no pointing out which
one is better overall.  Please download it yourself, and try with your
application if performance is something you want to find out.

Jérôme Duval wrote:
 

Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot 
of overhead in using the connector and all that? Seems to me a more 
logical test would be Tomcat vs SunONE and the most recent version of 
both, which Tomcat 4.1.30 is not. I smell bogus test results!

-Original Message-
From: V D [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 31, 2004 11:24 PM
To: Tomcat Users List
Subject: Re: SunONE versus Tomcat performance
I used it for webservice before, and it is faster than Tomcat, but I 
wouldn't say that was 2 to 5 times for that particular case.  You can 
get it for free because it's bundled with the Application Server 
platform which is free.

Julian wrote:

   

Just downloaded it to give it a try. There's a trial version but 
nevertheless it costs only $75.


David Rees wrote:
  

 

David Wall wrote:


   

It is worth noting that Sun Java Web Server has better performance 
than Apache Tomcat; you can learn more about this from Sun Java Web 
Server vs.
Apache/Tomcat Benchmarks.

The link to the KeyLabs report is at 
http://www.keylabs.com/results/sun/SunONEFinalReport_Solaris.pdf

Why would SunONE be anywhere from 2 to 5 times faster than Tomcat?
They also suggest that Tomcat would start to show errors when 
loading 200 users at a time, whereas SunONE could handle up to 500 
users without any errors.
  

 

It's hard to say why the Apache/Tomcat combination would not perform 
as well as SunONE (which I am not familar with), but without more 
details of the Apache/Tomcat configuration it's too difficult to say.

Has anyone independantly tested SunONE compared to Apache/Tomcat?
-Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.


   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SunONE versus Tomcat performance

2004-08-02 Thread Robert Bateman
I've just finished reading the report and can find no where in the report that 
Tomcat failed

It *does* indicate that the combination of Apache httpd and Apache Tomcat had 
problems - but the report does not indicate, as far as I can tell, which 
component reported the failure.  Without knowing where the error came from 
and what the error was - it's impossible to determine if httpd or Tomcat was 
the source of the error.

I wish the report would have detailed the configurations of all 3 tests as 
well as some of the errors that were received and where the error came from.  
That way we could more easily identify what the failing component was.


Just my opinion though.


On Friday 30 July 2004 05:40 pm, David Wall wrote:
  It is worth noting that Sun Java Web Server has better performance than
 Apache Tomcat; you can learn more about this from Sun Java Web Server vs.
 Apache/Tomcat Benchmarks.

 The link to the KeyLabs report is at
 http://www.keylabs.com/results/sun/SunONEFinalReport_Solaris.pdf

 Why would SunONE be anywhere from 2 to 5 times faster than Tomcat?

 They also suggest that Tomcat would start to show errors when loading 200
 users at a time, whereas SunONE could handle up to 500 users without any
 errors.

 David


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SunONE versus Tomcat performance

2004-08-02 Thread Vic Cekvenich
http://news.netcraft.com/archives/2003/04/10/java_servlet_engines.html
Above is Sun's market share of production sites.
So...
.V


On Friday 30 July 2004 05:40 pm, David Wall wrote:
It is worth noting that Sun Java Web Server has better performance than
Apache Tomcat; you can learn more about this from Sun Java Web Server vs.
Apache/Tomcat Benchmarks.
The link to the KeyLabs report is at
http://www.keylabs.com/results/sun/SunONEFinalReport_Solaris.pdf
Why would SunONE be anywhere from 2 to 5 times faster than Tomcat?
They also suggest that Tomcat would start to show errors when loading 200
users at a time, whereas SunONE could handle up to 500 users without any
errors.
David

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SunONE versus Tomcat performance

2004-07-31 Thread V D
I used it for webservice before, and it is faster than Tomcat, but I 
wouldn't say that was 2 to 5 times for that particular case.  You can 
get it for free because it's bundled with the Application Server 
platform which is free.

Julian wrote:
Just downloaded it to give it a try. There's a trial version but 
nevertheless it costs only $75.


David Rees wrote:
David Wall wrote:
It is worth noting that Sun Java Web Server has better performance than
Apache Tomcat; you can learn more about this from Sun Java Web 
Server vs.
Apache/Tomcat Benchmarks.

The link to the KeyLabs report is at
http://www.keylabs.com/results/sun/SunONEFinalReport_Solaris.pdf
Why would SunONE be anywhere from 2 to 5 times faster than Tomcat?
They also suggest that Tomcat would start to show errors when 
loading 200
users at a time, whereas SunONE could handle up to 500 users without 
any
errors.

It's hard to say why the Apache/Tomcat combination would not perform as
well as SunONE (which I am not familar with), but without more 
details of
the Apache/Tomcat configuration it's too difficult to say.

Has anyone independantly tested SunONE compared to Apache/Tomcat?
-Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


SunONE versus Tomcat performance

2004-07-30 Thread David Wall
Sun's update on the WSDP 1.4 
(http://java.sun.com/developer/technicalArticles/WebServices/JWSDP_1.4/) includes this 
note about web containers:

 It is worth noting that Sun Java Web Server has better performance than Apache 
Tomcat; you can learn more about this from Sun Java Web Server vs. Apache/Tomcat 
Benchmarks. 

The link to the KeyLabs report is at 
http://www.keylabs.com/results/sun/SunONEFinalReport_Solaris.pdf

Why would SunONE be anywhere from 2 to 5 times faster than Tomcat?

They also suggest that Tomcat would start to show errors when loading 200 users at a 
time, whereas SunONE could handle up to 500 users without any errors.

David



Re: SunONE versus Tomcat performance

2004-07-30 Thread David Rees
David Wall wrote:

  It is worth noting that Sun Java Web Server has better performance than
 Apache Tomcat; you can learn more about this from Sun Java Web Server vs.
 Apache/Tomcat Benchmarks.

 The link to the KeyLabs report is at
 http://www.keylabs.com/results/sun/SunONEFinalReport_Solaris.pdf

 Why would SunONE be anywhere from 2 to 5 times faster than Tomcat?

 They also suggest that Tomcat would start to show errors when loading 200
 users at a time, whereas SunONE could handle up to 500 users without any
 errors.

It's hard to say why the Apache/Tomcat combination would not perform as
well as SunONE (which I am not familar with), but without more details of
the Apache/Tomcat configuration it's too difficult to say.

Has anyone independantly tested SunONE compared to Apache/Tomcat?

-Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SunONE versus Tomcat performance

2004-07-30 Thread Julian
Just downloaded it to give it a try. There's a trial version but 
nevertheless it costs only $75.


David Rees wrote:
David Wall wrote:
It is worth noting that Sun Java Web Server has better performance than
Apache Tomcat; you can learn more about this from Sun Java Web Server vs.
Apache/Tomcat Benchmarks.
The link to the KeyLabs report is at
http://www.keylabs.com/results/sun/SunONEFinalReport_Solaris.pdf
Why would SunONE be anywhere from 2 to 5 times faster than Tomcat?
They also suggest that Tomcat would start to show errors when loading 200
users at a time, whereas SunONE could handle up to 500 users without any
errors.

It's hard to say why the Apache/Tomcat combination would not perform as
well as SunONE (which I am not familar with), but without more details of
the Apache/Tomcat configuration it's too difficult to say.
Has anyone independantly tested SunONE compared to Apache/Tomcat?
-Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat performance issue?

2004-04-19 Thread Daniel Gibby






I'm sending my JVM stack trace to see if any of you are better at
reading it than I am. ;-)

I'm guessing that you can somehow tell by looking at the stack trace
whether the connections between apache and tomcat are somehow being
held onto or locked waiting for something and not released. Maybe a
database connection is not released? Maybe apache graceful causes the
problem? Any input is appreciated.

Thanks for your help!

apache version 2.0.40
mod_jk 2.0.2
tomcat 4.1.27 and 4.1.30

I've attached the javacore file (I stripped out classloader lines since
they take up the majority of the file) Let me know if you need to see
those.

Daniel Gibby

David Rees wrote:

  Daniel Gibby wrote:
  
  
Tomcat config:
Connector
className="org.apache.catalina.connector.http.HttpConnector"
   port="8080" minProcessors="5" maxProcessors="255"
   enableLookups="true" redirectPort="8443"
   acceptCount="100" debug="0" connectionTimeout="6"/

Hey, I just realized something... I think I have been having lockups
around every 16 hours... 6 seconds! So what does that mean about
this configuration?

  
  
connectionTimeout is defined in milliseconds, not seconds, so that is 60
seconds, not 16 hours.

  
  
Is some servlet not returning content but hanging on to a connection?

  
  
Could be, or could be that your server is really busy.  When you look at
the server-status through Apache, does it show 255 processes busy as well?

  
  
Could you explain a little further about 'bug in a servlet causing it to
not return'?

  
  
You could either have a deadlock (synchronization issue) in your code, or
an infinite loop.

  
  
I have a stack trace, but I don't see how that helps me figure out where
my problem might be... I'm not sure what exactly to look for.

  
  
Compress it and post it to the list or put it on a public webserver so we
can take a look.

Cheers

Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  






javacore.20040413.36.23498-short.txt.gz
Description: application/gzip
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat performance issue?

2004-04-13 Thread Shapira, Yoav

Hi,
Absolutely.  Peter and I have been preaching this for years now ;)  I'm
glad this has helped you...

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 10:17 PM
To: Tomcat Users List
Subject: RE: Tomcat performance issue?


glad the suggestion helps. I firmly believe in
profiling code to make sure simple little mistakes
that appear harmless aren't killing performance.

I'm constantly amazed at how little things improve
performance. the benefit of using OptimizeIt or any
other good profiling tool is well worth it. that's my
biased perspective :)

peter lin


--- Allistair Crossley [EMAIL PROTECTED]
wrote:
 This evening I did the same with JProbe under 360
 requests as you describe and this led to me gaining
 a 38% speedup.

 The main bottleneck I found was some very simple
 tags I have were calling out.flush() at the end.
 Thiw was consuming 14 seconds of time to flush 1
 string from the tag. The tag is called many times
 within our JSPs because it calls the current skin
 label.

 By simply removing the flush call the tag call
 method time across the load test went down to 2s.
 Not bad hey. There were other areas which I solved
 with application scope caching and a bean pool for a
 3rd party bean that takes ages to initialise a
 connection.

 I am getting there slowly but surely but Yoav I
 think was right all along and it is the code and you
 have to profile it and examine those call graphs!!!

 ADC

  -Original Message-
  From: Peter Lin [mailto:[EMAIL PROTECTED]
  Sent: Mon 12/04/2004 19:53
  To: Tomcat Users List
  Cc:
  Subject: Re: Tomcat performance issue?




  luckily I have a license of Borland OptimizeIt.

  What I do is I start tomcat using OptimizeIt. Then
 I create a test plan in JMeter. Once tomcat is
 running, I warm it up by sending it a couple hundred
 requests to make sure all the pages are compiled.

  before the test starts, use OptimizeIt to garbage
 collect. Once that is done, I start the test and
 look at the number of threads and size of the heap.
 If there's a memory leak, either the thread count
 will increase, or the heap will grow rapidly. Once I
 see either one, I then switch to the call graph to
 get a better picture of which methods are getting
 called. Usually, that is enough to point towards a
 culprit.

  repeat, and rinse as many times as needed until
 you've squashed all bugs and leaks.

  peter lin




  Matt Woodings [EMAIL PROTECTED] wrote:
  I just read your post this morning (I am lurking
 today as I have a few
  issues of my own to clear up :-) ) and I think that
 is some really good
  advice you gave. I do have a question though.

  Once you have noticed you have a memory leak, how
 do you go about locating
  it?

  Matt


  -
  Do you Yahoo!?
  Yahoo! Tax Center - File online by April 15th



 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE

---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474

---
 /FONT

 
-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
[EMAIL PROTECTED]





__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance issue?

2004-04-12 Thread Daniel Gibby
I have this same problem. It creeped up without any configuration 
changes on 4.1.27
It doesn't always print this error message out, but the effect is the same.

SEVERE: All threads (75) are currently busy, waiting. Increase
 maxThreads (75) or check the servlet status

My apache config:

Timeouts: connection: 300keep-alive: 300
MPM Name: Prefork
MPM Information: Max Daemons: 255 Threaded: no Forked: yes
IfModule prefork.c
StartServers   8
MinSpareServers5
MaxSpareServers   20
MaxClients   255
MaxRequestsPerChild  1000
/IfModule
Tomcat config:
   Connector className=org.apache.catalina.connector.http.HttpConnector
  port=8080 minProcessors=5 maxProcessors=255
  enableLookups=true redirectPort=8443
  acceptCount=100 debug=0 connectionTimeout=6/
Hey, I just realized something... I think I have been having lockups 
around every 16 hours... 6 seconds! So what does that mean about 
this configuration?
Why is the connectionTimeout being reached? I think I had set it to a 
really high number because I figured I didn't want anything to ever hit it.

Is some servlet not returning content but hanging on to a connection?

Could you explain a little further about 'bug in a servlet causing it to 
not return'?
I have a stack trace, but I don't see how that helps me figure out where 
my problem might be... I'm not sure what exactly to look for.

Daniel Gibby

David Rees wrote:
 

Like the messages say, all Tomcat threads are busy and you've hit the
maximum number of threads which can be processed concurrently.  Sounds
like you've got either a bug in a servlet causing it to not return, or
your server is simply overloaded.  You can get a stack trace from the
JVM to help debug this issue pretty easily.
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat performance issue?

2004-04-12 Thread Daniel Gibby
I forgot to mention that I have All threads (255) are currently busy, 
not (75) which makes sense.

Daniel Gibby wrote:

I have this same problem. It creeped up without any configuration 
changes on 4.1.27
It doesn't always print this error message out, but the effect is the 
same.

SEVERE: All threads (75) are currently busy, waiting. Increase

 maxThreads (75) or check the servlet status


My apache config:

Timeouts: connection: 300keep-alive: 300
MPM Name: Prefork
MPM Information: Max Daemons: 255 Threaded: no Forked: yes
IfModule prefork.c
StartServers   8
MinSpareServers5
MaxSpareServers   20
MaxClients   255
MaxRequestsPerChild  1000
/IfModule
Tomcat config:
   Connector 
className=org.apache.catalina.connector.http.HttpConnector
  port=8080 minProcessors=5 maxProcessors=255
  enableLookups=true redirectPort=8443
  acceptCount=100 debug=0 connectionTimeout=6/

Hey, I just realized something... I think I have been having lockups 
around every 16 hours... 6 seconds! So what does that mean about 
this configuration?
Why is the connectionTimeout being reached? I think I had set it to a 
really high number because I figured I didn't want anything to ever 
hit it.

Is some servlet not returning content but hanging on to a connection?

Could you explain a little further about 'bug in a servlet causing it 
to not return'?
I have a stack trace, but I don't see how that helps me figure out 
where my problem might be... I'm not sure what exactly to look for.

Daniel Gibby

David Rees wrote:
 

Like the messages say, all Tomcat threads are busy and you've hit the
maximum number of threads which can be processed concurrently.  Sounds
like you've got either a bug in a servlet causing it to not return, or
your server is simply overloaded.  You can get a stack trace from the
JVM to help debug this issue pretty easily.
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat performance issue?

2004-04-12 Thread Trieu, Jason T - CNF
It could be a bug in your servlet that hangs your connection or you
might actually have a big enough load to max out your number of
concurrent Tomcat threads (maxProcessors).  If it is load, you should
look into increasing your maxProcessors.  Make sure though that you have
enough JVM heap memory (Xmx parm) to handle it or you will run into
OutOfMemory error which is worse than out-of-connections.

Jason

-Original Message-
From: Daniel Gibby [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 9:43 AM
To: Tomcat Users List
Subject: Re: Tomcat performance issue?


I have this same problem. It creeped up without any configuration 
changes on 4.1.27
It doesn't always print this error message out, but the effect is the
same.

SEVERE: All threads (75) are currently busy, waiting. Increase
  maxThreads (75) or check the servlet status


My apache config:

Timeouts: connection: 300keep-alive: 300
MPM Name: Prefork
MPM Information: Max Daemons: 255 Threaded: no Forked: yes IfModule
prefork.c
StartServers   8
MinSpareServers5
MaxSpareServers   20
MaxClients   255
MaxRequestsPerChild  1000
/IfModule

Tomcat config:
Connector
className=org.apache.catalina.connector.http.HttpConnector
   port=8080 minProcessors=5 maxProcessors=255
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=6/

Hey, I just realized something... I think I have been having lockups 
around every 16 hours... 6 seconds! So what does that mean about 
this configuration?
Why is the connectionTimeout being reached? I think I had set it to a 
really high number because I figured I didn't want anything to ever hit
it.

Is some servlet not returning content but hanging on to a connection?

Could you explain a little further about 'bug in a servlet causing it to

not return'?
I have a stack trace, but I don't see how that helps me figure out where

my problem might be... I'm not sure what exactly to look for.

Daniel Gibby

David Rees wrote:
  

Like the messages say, all Tomcat threads are busy and you've hit the 
maximum number of threads which can be processed concurrently.  Sounds 
like you've got either a bug in a servlet causing it to not return, or 
your server is simply overloaded.  You can get a stack trace from the 
JVM to help debug this issue pretty easily.
  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance issue?

2004-04-12 Thread Daniel Gibby
255 is as high as apache will go without recompiling. Therefore, it 
wouldn't make a difference if I go higher on the tomcat end either, right?

Trieu, Jason T - CNF wrote:

It could be a bug in your servlet that hangs your connection or you
might actually have a big enough load to max out your number of
concurrent Tomcat threads (maxProcessors).  If it is load, you should
look into increasing your maxProcessors.  Make sure though that you have
enough JVM heap memory (Xmx parm) to handle it or you will run into
OutOfMemory error which is worse than out-of-connections.
Jason

-Original Message-
From: Daniel Gibby [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 9:43 AM
To: Tomcat Users List
Subject: Re: Tomcat performance issue?

I have this same problem. It creeped up without any configuration 
changes on 4.1.27
It doesn't always print this error message out, but the effect is the
same.

 

SEVERE: All threads (75) are currently busy, waiting. Increase
   

maxThreads (75) or check the servlet status
   

My apache config:

Timeouts: connection: 300keep-alive: 300
MPM Name: Prefork
MPM Information: Max Daemons: 255 Threaded: no Forked: yes IfModule
prefork.c
StartServers   8
MinSpareServers5
MaxSpareServers   20
MaxClients   255
MaxRequestsPerChild  1000
/IfModule
Tomcat config:
   Connector
className=org.apache.catalina.connector.http.HttpConnector
  port=8080 minProcessors=5 maxProcessors=255
  enableLookups=true redirectPort=8443
  acceptCount=100 debug=0 connectionTimeout=6/
Hey, I just realized something... I think I have been having lockups 
around every 16 hours... 6 seconds! So what does that mean about 
this configuration?
Why is the connectionTimeout being reached? I think I had set it to a 
really high number because I figured I didn't want anything to ever hit
it.

Is some servlet not returning content but hanging on to a connection?

Could you explain a little further about 'bug in a servlet causing it to

not return'?
I have a stack trace, but I don't see how that helps me figure out where
my problem might be... I'm not sure what exactly to look for.

Daniel Gibby

 

David Rees wrote:

Like the messages say, all Tomcat threads are busy and you've hit the 
maximum number of threads which can be processed concurrently.  Sounds 
like you've got either a bug in a servlet causing it to not return, or 
your server is simply overloaded.  You can get a stack trace from the 
JVM to help debug this issue pretty easily.

   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat performance issue?

2004-04-12 Thread David Rees
Daniel Gibby wrote:

 Tomcat config:
 Connector
 className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5 maxProcessors=255
enableLookups=true redirectPort=8443
acceptCount=100 debug=0 connectionTimeout=6/

 Hey, I just realized something... I think I have been having lockups
 around every 16 hours... 6 seconds! So what does that mean about
 this configuration?

connectionTimeout is defined in milliseconds, not seconds, so that is 60
seconds, not 16 hours.

 Is some servlet not returning content but hanging on to a connection?

Could be, or could be that your server is really busy.  When you look at
the server-status through Apache, does it show 255 processes busy as well?

 Could you explain a little further about 'bug in a servlet causing it to
 not return'?

You could either have a deadlock (synchronization issue) in your code, or
an infinite loop.

 I have a stack trace, but I don't see how that helps me figure out where
 my problem might be... I'm not sure what exactly to look for.

Compress it and post it to the list or put it on a public webserver so we
can take a look.

Cheers

Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance issue?

2004-04-12 Thread Peter Lin
From my own experience, this kind of behavior appears when a session isn't getting 
timed out for one reason or another.  For example, say you get data from some remote 
site using your own Http client libraries that is multi-threaded. If that thread sits 
around and the socket it has isn't explicitly closed, it can prevent tomcat from 
invalidating the session. this would create a memory leak which may not be noticeable 
if you don't get a lot of load. One easy way to expose this kind of bug is to load 
test your webapp before deploying.
 
Throw the load you get in 16 hrs at tomcat and you'll likely see the memory leak. In 
all cases, issues with performance was due to a bug in our application. egular load 
testing is the best way to expose these issues during development.
 
peter
 
 


David Rees [EMAIL PROTECTED] wrote:
Daniel Gibby wrote:

 Tomcat config:
  className=org.apache.catalina.connector.http.HttpConnector
 port=8080 minProcessors=5 maxProcessors=255
 enableLookups=true redirectPort=8443
 acceptCount=100 debug=0 connectionTimeout=6/

 Hey, I just realized something... I think I have been having lockups
 around every 16 hours... 6 seconds! So what does that mean about
 this configuration?

connectionTimeout is defined in milliseconds, not seconds, so that is 60
seconds, not 16 hours.

 Is some servlet not returning content but hanging on to a connection?

Could be, or could be that your server is really busy. When you look at
the server-status through Apache, does it show 255 processes busy as well?

 Could you explain a little further about 'bug in a servlet causing it to
 not return'?

You could either have a deadlock (synchronization issue) in your code, or
an infinite loop.

 I have a stack trace, but I don't see how that helps me figure out where
 my problem might be... I'm not sure what exactly to look for.

Compress it and post it to the list or put it on a public webserver so we
can take a look.

Cheers

Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th

Re: Tomcat performance issue?

2004-04-12 Thread Matt Woodings
I just read your post this morning (I am lurking today as I have a few
issues of my own to clear up :-) ) and I think that is some really good
advice you gave.  I do have a question though.

Once you have noticed you have a memory leak, how do you go about locating
it?

Matt
- Original Message - 
From: Peter Lin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 12, 2004 1:07 PM
Subject: Re: Tomcat performance issue?


 From my own experience, this kind of behavior appears when a session isn't
getting timed out for one reason or another.  For example, say you get data
from some remote site using your own Http client libraries that is
multi-threaded. If that thread sits around and the socket it has isn't
explicitly closed, it can prevent tomcat from invalidating the session. this
would create a memory leak which may not be noticeable if you don't get a
lot of load. One easy way to expose this kind of bug is to load test your
webapp before deploying.

 Throw the load you get in 16 hrs at tomcat and you'll likely see the
memory leak. In all cases, issues with performance was due to a bug in our
application. egular load testing is the best way to expose these issues
during development.

 peter




 David Rees [EMAIL PROTECTED] wrote:
 Daniel Gibby wrote:
 
  Tomcat config:
   className=org.apache.catalina.connector.http.HttpConnector
  port=8080 minProcessors=5 maxProcessors=255
  enableLookups=true redirectPort=8443
  acceptCount=100 debug=0 connectionTimeout=6/
 
  Hey, I just realized something... I think I have been having lockups
  around every 16 hours... 6 seconds! So what does that mean about
  this configuration?

 connectionTimeout is defined in milliseconds, not seconds, so that is 60
 seconds, not 16 hours.

  Is some servlet not returning content but hanging on to a connection?

 Could be, or could be that your server is really busy. When you look at
 the server-status through Apache, does it show 255 processes busy as well?

  Could you explain a little further about 'bug in a servlet causing it to
  not return'?

 You could either have a deadlock (synchronization issue) in your code, or
 an infinite loop.

  I have a stack trace, but I don't see how that helps me figure out where
  my problem might be... I'm not sure what exactly to look for.

 Compress it and post it to the list or put it on a public webserver so we
 can take a look.

 Cheers

 Dave

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 Do you Yahoo!?
 Yahoo! Tax Center - File online by April 15th



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat performance issue?

2004-04-12 Thread Shapira, Yoav

Hi,

Once you have noticed you have a memory leak, how do you go about
locating
it?

You don't just notice it out of the blue: you typically notice it
because a profiler shows it.  The same profiler shows you where it is.
Noticing and locating is typically one and the same for memory leaks.
It's fixing that's the 2nd step.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance issue?

2004-04-12 Thread Peter Lin
 
luckily I have a license of Borland OptimizeIt.
 
What I do is I start tomcat using OptimizeIt. Then I create a test plan in JMeter. 
Once tomcat is running, I warm it up by sending it a couple hundred requests to make 
sure all the pages are compiled.
 
before the test starts, use OptimizeIt to garbage collect. Once that is done, I start 
the test and look at the number of threads and size of the heap. If there's a memory 
leak, either the thread count will increase, or the heap will grow rapidly. Once I see 
either one, I then switch to the call graph to get a better picture of which methods 
are getting called. Usually, that is enough to point towards a culprit.
 
repeat, and rinse as many times as needed until you've squashed all bugs and leaks.
 
peter lin
 
 


Matt Woodings [EMAIL PROTECTED] wrote:
I just read your post this morning (I am lurking today as I have a few
issues of my own to clear up :-) ) and I think that is some really good
advice you gave. I do have a question though.

Once you have noticed you have a memory leak, how do you go about locating
it?

Matt


-
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th

RE: Tomcat performance issue?

2004-04-12 Thread Allistair Crossley
This evening I did the same with JProbe under 360 requests as you describe and this 
led to me gaining a 38% speedup.
 
The main bottleneck I found was some very simple tags I have were calling out.flush() 
at the end. Thiw was consuming 14 seconds of time to flush 1 string from the tag. The 
tag is called many times within our JSPs because it calls the current skin label.
 
By simply removing the flush call the tag call method time across the load test went 
down to 2s. Not bad hey. There were other areas which I solved with application scope 
caching and a bean pool for a 3rd party bean that takes ages to initialise a 
connection.
 
I am getting there slowly but surely but Yoav I think was right all along and it is 
the code and you have to profile it and examine those call graphs!!!
 
ADC

-Original Message- 
From: Peter Lin [mailto:[EMAIL PROTECTED] 
Sent: Mon 12/04/2004 19:53 
To: Tomcat Users List 
Cc: 
Subject: Re: Tomcat performance issue?




luckily I have a license of Borland OptimizeIt.

What I do is I start tomcat using OptimizeIt. Then I create a test plan in 
JMeter. Once tomcat is running, I warm it up by sending it a couple hundred requests 
to make sure all the pages are compiled.

before the test starts, use OptimizeIt to garbage collect. Once that is done, 
I start the test and look at the number of threads and size of the heap. If there's a 
memory leak, either the thread count will increase, or the heap will grow rapidly. 
Once I see either one, I then switch to the call graph to get a better picture of 
which methods are getting called. Usually, that is enough to point towards a culprit.

repeat, and rinse as many times as needed until you've squashed all bugs and 
leaks.

peter lin




Matt Woodings [EMAIL PROTECTED] wrote:
I just read your post this morning (I am lurking today as I have a few
issues of my own to clear up :-) ) and I think that is some really good
advice you gave. I do have a question though.

Once you have noticed you have a memory leak, how do you go about locating
it?

Matt


-
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th 



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat performance issue?

2004-04-12 Thread Peter Lin

glad the suggestion helps. I firmly believe in
profiling code to make sure simple little mistakes
that appear harmless aren't killing performance.

I'm constantly amazed at how little things improve
performance. the benefit of using OptimizeIt or any
other good profiling tool is well worth it. that's my
biased perspective :)

peter lin


--- Allistair Crossley [EMAIL PROTECTED]
wrote:
 This evening I did the same with JProbe under 360
 requests as you describe and this led to me gaining
 a 38% speedup.
  
 The main bottleneck I found was some very simple
 tags I have were calling out.flush() at the end.
 Thiw was consuming 14 seconds of time to flush 1
 string from the tag. The tag is called many times
 within our JSPs because it calls the current skin
 label.
  
 By simply removing the flush call the tag call
 method time across the load test went down to 2s.
 Not bad hey. There were other areas which I solved
 with application scope caching and a bean pool for a
 3rd party bean that takes ages to initialise a
 connection.
  
 I am getting there slowly but surely but Yoav I
 think was right all along and it is the code and you
 have to profile it and examine those call graphs!!!
  
 ADC
 
   -Original Message- 
   From: Peter Lin [mailto:[EMAIL PROTECTED] 
   Sent: Mon 12/04/2004 19:53 
   To: Tomcat Users List 
   Cc: 
   Subject: Re: Tomcat performance issue?
   
   
 
   
   luckily I have a license of Borland OptimizeIt.
   
   What I do is I start tomcat using OptimizeIt. Then
 I create a test plan in JMeter. Once tomcat is
 running, I warm it up by sending it a couple hundred
 requests to make sure all the pages are compiled.
   
   before the test starts, use OptimizeIt to garbage
 collect. Once that is done, I start the test and
 look at the number of threads and size of the heap.
 If there's a memory leak, either the thread count
 will increase, or the heap will grow rapidly. Once I
 see either one, I then switch to the call graph to
 get a better picture of which methods are getting
 called. Usually, that is enough to point towards a
 culprit.
   
   repeat, and rinse as many times as needed until
 you've squashed all bugs and leaks.
   
   peter lin
   
   
   
   
   Matt Woodings [EMAIL PROTECTED] wrote:
   I just read your post this morning (I am lurking
 today as I have a few
   issues of my own to clear up :-) ) and I think that
 is some really good
   advice you gave. I do have a question though.
   
   Once you have noticed you have a memory leak, how
 do you go about locating
   it?
   
   Matt
   
   
   -
   Do you Yahoo!?
   Yahoo! Tax Center - File online by April 15th 
 
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 

---
 QAS Ltd.
 Developers of QuickAddress Software
 a href=http://www.qas.com;www.qas.com/a
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474

---
 /FONT
 
 
-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
[EMAIL PROTECTED]





__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance issue?

2004-04-10 Thread David Rees
Denise Mangano wrote, On 4/9/2004 10:05 PM:
 
I've tried searching the archives but have come up empty-handed.  A few
days ago I received a few complaints that my users hit a certain point
in the application and could go no further.  This point was when Apache
gives control to Tomcat.  I checked the log and found this.
 
Apr 4, 2004 2:19:43 PM org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All threads (75) are currently busy, waiting. Increase
maxThreads (75) or check the servlet status
 
The only thing that did the trick was restarting Tomcat and Apache.  Any
ideas on what these errors mean?
Like the messages say, all Tomcat threads are busy and you've hit the 
maximum number of threads which can be processed concurrently.  Sounds 
like you've got either a bug in a servlet causing it to not return, or 
your server is simply overloaded.  You can get a stack trace from the 
JVM to help debug this issue pretty easily.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat performance issue?

2004-04-10 Thread Bill Barker

David Rees [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Denise Mangano wrote, On 4/9/2004 10:05 PM:
 
  I've tried searching the archives but have come up empty-handed.  A few
  days ago I received a few complaints that my users hit a certain point
  in the application and could go no further.  This point was when Apache
  gives control to Tomcat.  I checked the log and found this.
 
  Apr 4, 2004 2:19:43 PM org.apache.tomcat.util.threads.ThreadPool logFull
  SEVERE: All threads (75) are currently busy, waiting. Increase
  maxThreads (75) or check the servlet status
 
  The only thing that did the trick was restarting Tomcat and Apache.  Any
  ideas on what these errors mean?

 Like the messages say, all Tomcat threads are busy and you've hit the
 maximum number of threads which can be processed concurrently.  Sounds
 like you've got either a bug in a servlet causing it to not return, or
 your server is simply overloaded.  You can get a stack trace from the
 JVM to help debug this issue pretty easily.


Also, when running behind Apache, you have need to have at least as many
Tomcat threads as you have Apache children allowed (since each child will be
talking to a single thread).  You should probably increase the maxThreads on
you AJP/1.3 Connector to match what you've configured for MaxChildren in
Apache.  If you expect your loads to come in bursts, then you can configure
maxSpareThreads low to allow Tomcat to discard threads that are freed up by
Apache killing off children.

 -Dave




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Autoreply: Re: Tomcat performance issue?

2004-04-10 Thread DirectXtras
Hello,

Due to the increased volume of SPAM this mailbox has been closed.

Please contact us via http://www.directxtras.com/ContactUS.asp

We apology for the inconvenience.

Best Regards,
--
The DirectXtras Team
-
DirectXtras - Xtra Power for Director and Authorware -
  http://www.directxtras.com
Sites with something to say - http://www.SpeaksForItself.com
-


Your message reads:

Received: from mail.apache.org (unverified [208.185.179.12]) by mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED];
 Sat, 10 Apr 2004 12:45:24 -0700
Received: (qmail 61062 invoked by uid 500); 10 Apr 2004 19:45:04 -
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 61040 invoked from network); 10 Apr 2004 19:45:03 -
Received: from unknown (HELO main.gmane.org) (80.91.224.249)
  by daedalus.apache.org with SMTP; 10 Apr 2004 19:45:03 -
Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian))
id 1BCOPc-0001fg-00
for [EMAIL PROTECTED]; Sat, 10 Apr 2004 21:45:08 +0200
Received: from lsanca1-ar19-4-46-072-212.lsanca1.dsl-verizon.net ([4.46.72.212])
by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
id 1AlnuQ-0007hv-00
for [EMAIL PROTECTED]; Sat, 10 Apr 2004 21:45:08 +0200
Received: from wbarker by lsanca1-ar19-4-46-072-212.lsanca1.dsl-verizon.net with local 
(Gmexim 0.1 (Debian))
id 1AlnuQ-0007hv-00
for [EMAIL PROTECTED]; Sat, 10 Apr 2004 21:45:08 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: [EMAIL PROTECTED]
From: Bill Barker [EMAIL PROTECTED]
Subject: Re: Tomcat performance issue?
Date: Sat, 10 Apr 2004 12:58:23 -0700
Lines: 35
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED] [EMAIL PROTECTED]
X-Complaints-To: [EMAIL PROTECTED]
X-Gmane-NNTP-Posting-Host: lsanca1-ar19-4-46-072-212.lsanca1.dsl-verizon.net
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Sender: news [EMAIL PROTECTED]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N


David Rees [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Denise Mangano wrote, On 4/9/2004 10:05 PM:
 
  I've tried searching the archives but have come up empty-handed.  A few
  days ago I received a few complaints that my users hit a certain point
  in the application and could go no further.  This point was when Apache
  gives control to Tomcat.  I checked the log and found this.
 
  Apr 4, 2004 2:19:43 PM org.apache.tomcat.util.threads.ThreadPool logFull
  SEVERE: All threads (75) are currently busy, waiting. Increase
  maxThreads (75) or check the servlet status
 
  The only thing that did the trick was restarting Tomcat and Apache.  Any
  ideas on what these errors mean?

 Like the messages say, all Tomcat threads are busy and you've hit the
 maximum number of threads which can be processed concurrently.  Sounds
 like you've got either a bug in a servlet causing it to not return, or
 your server is simply overloaded.  You can get a stack trace from the
 JVM to help debug this issue pretty easily.


Also, when running behind Apache, you have need to have at least as many
Tomcat threads as you have Apache children allowed (since each child will be
talking to a single thread).  You should probably increase the maxThreads on
you AJP/1.3 Connector to match what you've configured for MaxChildren in
Apache.  If you expect your loads to come in bursts, then you can configure
maxSpareThreads low to allow Tomcat to discard threads that are freed up by
Apache killing off children.

 -Dave




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat performance issue?

2004-04-09 Thread Denise Mangano
Hi all,
 
I've tried searching the archives but have come up empty-handed.  A few
days ago I received a few complaints that my users hit a certain point
in the application and could go no further.  This point was when Apache
gives control to Tomcat.  I checked the log and found this.
 
Apr 4, 2004 2:19:43 PM org.apache.tomcat.util.threads.ThreadPool logFull
SEVERE: All threads (75) are currently busy, waiting. Increase
maxThreads (75) or check the servlet status
 
The only thing that did the trick was restarting Tomcat and Apache.  Any
ideas on what these errors mean?
 
Thanks in advance.


 

Denise Mangano 
Complus Data Innovations, Inc. 
914-747-1200 

 


RE: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-08 Thread Shapira, Yoav

Hi,
There's negligible performance difference between AccessLogValve and its
Extended cousin, at least in my benchmarks.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 5:37 PM
To: Tomcat Users List
Subject: Re: Can AccessLogValve Cause Tomcat Performance Hit?

You can try to use ExtendedAccessLogValve. It parses the pattern on
initialization and uses and array and switch statement to determine
what to
print. (In the hope that it would be faster)

OTOH - the problem could be the writing of log data to disk.

-Tim


Dan Barron wrote:
 Certainly one understands the costs of adding processing in the
 pipeline, but AccessLogValve seems to come with a large price to
 performance even with DNS lookups turned off and minimal fields being
 saved in the output.  We have turned it off for now and tomcat
 performance is significantly improved.

 Any other methods to get access logs out of Tomcat w/o using
 AccessLogValve?  I suppose I could write my own, but would prefer a
 known solution.

 Dan Barron
 Destination Software LLC
 [EMAIL PROTECTED]

 At 05:57 AM 4/7/2004, Shapira, Yoav wrote:

 Hi,
 How can you expect the addition of ANY component to the processing
 pipeline NOT to cause a performance hit?  Of course AccessLogValve
adds
 something, nothing comes for free.  You can control the hit by
modifying
 what you're logging and disabling DNS lookups, as others have
suggested.

 Yoav Shapira
 Millennium Research Informatics


 -Original Message-
 From: Dan Barron [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, April 07, 2004 2:09 AM
 To: Tomcat Users List
 Cc: Dan Anderson
 Subject: Can AccessLogValve Cause Tomcat Performance Hit?
 
 Hello,
 
 We are seeing a performance hit to our server whenever we turn on
 AccessLogValve for a virtual host in tomcat. Is this common or has
 anyone
 else experienced this?  Any suggestions on how to configure for
optimal
 performance?
 
 Below is the virtual host entry in server.xml - tomcat is running
stand
 alone on a Red Hat 9 Linux box - the box is dedicated to running
tomcat
 -
 there are two virtual hosts configured for the server, and only one
has
 any
 real traffic.
 
   Host name=www.mysite.net debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false
   !-- Aliaswww.mysite.net/Alias --
Logger
className=org.apache.catalina.logger.FileLogger
directory=logs  prefix=mysite.net.
suffix=.txt
timestamp=true/
Valve
className=org.apache.catalina.valves.AccessLogValve
   directory=logs/mysite.net-acesslogs
   pattern=%t %a %A %h %m %p %U
   prefix=access_log. suffix=.txt
  timestamp=true/
Context path= docBase=mysite.net/production
debug=0/
/Host
 
 Thanks in advance!
 
 Dan Barron
 [EMAIL PROTECTED]



 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an)
 intended recipient, please immediately delete this e-mail from your
 computer system and notify the sender.  Thank you.



-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Dan Barron
Hello,

We are seeing a performance hit to our server whenever we turn on 
AccessLogValve for a virtual host in tomcat. Is this common or has anyone 
else experienced this?  Any suggestions on how to configure for optimal 
performance?

Below is the virtual host entry in server.xml - tomcat is running stand 
alone on a Red Hat 9 Linux box - the box is dedicated to running tomcat - 
there are two virtual hosts configured for the server, and only one has any 
real traffic.

 Host name=www.mysite.net debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
 !-- Aliaswww.mysite.net/Alias --
  Logger className=org.apache.catalina.logger.FileLogger
  directory=logs  prefix=mysite.net. suffix=.txt
  timestamp=true/
  Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs/mysite.net-acesslogs
 pattern=%t %a %A %h %m %p %U
 prefix=access_log. suffix=.txt
timestamp=true/
  Context path= docBase=mysite.net/production debug=0/
  /Host
Thanks in advance!

Dan Barron
[EMAIL PROTECTED] 

Re: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Tim Funk
Yes I can believe there is a performance hit. The valve reparses the string 
on every request. Since the Valve also uses a SimpleDateFormtatter - I think 
it is also restricted by the sync block imposed by that class.

-Tim

Dan Barron wrote:

Hello,

We are seeing a performance hit to our server whenever we turn on 
AccessLogValve for a virtual host in tomcat. Is this common or has 
anyone else experienced this?  Any suggestions on how to configure for 
optimal performance?

Below is the virtual host entry in server.xml - tomcat is running stand 
alone on a Red Hat 9 Linux box - the box is dedicated to running tomcat 
- there are two virtual hosts configured for the server, and only one 
has any real traffic.

 Host name=www.mysite.net debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
 !-- Aliaswww.mysite.net/Alias --
  Logger className=org.apache.catalina.logger.FileLogger
  directory=logs  prefix=mysite.net. suffix=.txt
  timestamp=true/
  Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs/mysite.net-acesslogs
 pattern=%t %a %A %h %m %p %U
 prefix=access_log. suffix=.txt
timestamp=true/
  Context path= docBase=mysite.net/production debug=0/
  /Host
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Remy Maucherat
Tim Funk wrote:
Yes I can believe there is a performance hit. The valve reparses the 
string on every request. Since the Valve also uses a 
SimpleDateFormtatter - I think it is also restricted by the sync block 
imposed by that class.
Another thing: If you enabled host lookup on the connector, it can also 
cause big problems with the access log.

--
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Shapira, Yoav

Hi,
How can you expect the addition of ANY component to the processing
pipeline NOT to cause a performance hit?  Of course AccessLogValve adds
something, nothing comes for free.  You can control the hit by modifying
what you're logging and disabling DNS lookups, as others have suggested.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Dan Barron [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 2:09 AM
To: Tomcat Users List
Cc: Dan Anderson
Subject: Can AccessLogValve Cause Tomcat Performance Hit?

Hello,

We are seeing a performance hit to our server whenever we turn on
AccessLogValve for a virtual host in tomcat. Is this common or has
anyone
else experienced this?  Any suggestions on how to configure for optimal
performance?

Below is the virtual host entry in server.xml - tomcat is running stand
alone on a Red Hat 9 Linux box - the box is dedicated to running tomcat
-
there are two virtual hosts configured for the server, and only one has
any
real traffic.

  Host name=www.mysite.net debug=0 appBase=webapps
 unpackWARs=true autoDeploy=true
 xmlValidation=false xmlNamespaceAware=false
  !-- Aliaswww.mysite.net/Alias --
   Logger className=org.apache.catalina.logger.FileLogger
   directory=logs  prefix=mysite.net. suffix=.txt
   timestamp=true/
   Valve className=org.apache.catalina.valves.AccessLogValve
  directory=logs/mysite.net-acesslogs
  pattern=%t %a %A %h %m %p %U
  prefix=access_log. suffix=.txt
 timestamp=true/
   Context path= docBase=mysite.net/production debug=0/
   /Host

Thanks in advance!

Dan Barron
[EMAIL PROTECTED]



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Dan Barron
Certainly one understands the costs of adding processing in the pipeline, 
but AccessLogValve seems to come with a large price to performance even 
with DNS lookups turned off and minimal fields being saved in the 
output.  We have turned it off for now and tomcat performance is 
significantly improved.

Any other methods to get access logs out of Tomcat w/o using 
AccessLogValve?  I suppose I could write my own, but would prefer a known 
solution.

Dan Barron
Destination Software LLC
[EMAIL PROTECTED]
At 05:57 AM 4/7/2004, Shapira, Yoav wrote:

Hi,
How can you expect the addition of ANY component to the processing
pipeline NOT to cause a performance hit?  Of course AccessLogValve adds
something, nothing comes for free.  You can control the hit by modifying
what you're logging and disabling DNS lookups, as others have suggested.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Dan Barron [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 2:09 AM
To: Tomcat Users List
Cc: Dan Anderson
Subject: Can AccessLogValve Cause Tomcat Performance Hit?

Hello,

We are seeing a performance hit to our server whenever we turn on
AccessLogValve for a virtual host in tomcat. Is this common or has
anyone
else experienced this?  Any suggestions on how to configure for optimal
performance?

Below is the virtual host entry in server.xml - tomcat is running stand
alone on a Red Hat 9 Linux box - the box is dedicated to running tomcat
-
there are two virtual hosts configured for the server, and only one has
any
real traffic.

  Host name=www.mysite.net debug=0 appBase=webapps
 unpackWARs=true autoDeploy=true
 xmlValidation=false xmlNamespaceAware=false
  !-- Aliaswww.mysite.net/Alias --
   Logger className=org.apache.catalina.logger.FileLogger
   directory=logs  prefix=mysite.net. suffix=.txt
   timestamp=true/
   Valve className=org.apache.catalina.valves.AccessLogValve
  directory=logs/mysite.net-acesslogs
  pattern=%t %a %A %h %m %p %U
  prefix=access_log. suffix=.txt
 timestamp=true/
   Context path= docBase=mysite.net/production debug=0/
   /Host

Thanks in advance!

Dan Barron
[EMAIL PROTECTED]


This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Tim Funk
You can try to use ExtendedAccessLogValve. It parses the pattern on 
initialization and uses and array and switch statement to determine what to 
print. (In the hope that it would be faster)

OTOH - the problem could be the writing of log data to disk.

-Tim

Dan Barron wrote:
Certainly one understands the costs of adding processing in the 
pipeline, but AccessLogValve seems to come with a large price to 
performance even with DNS lookups turned off and minimal fields being 
saved in the output.  We have turned it off for now and tomcat 
performance is significantly improved.

Any other methods to get access logs out of Tomcat w/o using 
AccessLogValve?  I suppose I could write my own, but would prefer a 
known solution.

Dan Barron
Destination Software LLC
[EMAIL PROTECTED]
At 05:57 AM 4/7/2004, Shapira, Yoav wrote:

Hi,
How can you expect the addition of ANY component to the processing
pipeline NOT to cause a performance hit?  Of course AccessLogValve adds
something, nothing comes for free.  You can control the hit by modifying
what you're logging and disabling DNS lookups, as others have suggested.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Dan Barron [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 2:09 AM
To: Tomcat Users List
Cc: Dan Anderson
Subject: Can AccessLogValve Cause Tomcat Performance Hit?

Hello,

We are seeing a performance hit to our server whenever we turn on
AccessLogValve for a virtual host in tomcat. Is this common or has
anyone
else experienced this?  Any suggestions on how to configure for optimal
performance?

Below is the virtual host entry in server.xml - tomcat is running stand
alone on a Red Hat 9 Linux box - the box is dedicated to running tomcat
-
there are two virtual hosts configured for the server, and only one has
any
real traffic.

  Host name=www.mysite.net debug=0 appBase=webapps
 unpackWARs=true autoDeploy=true
 xmlValidation=false xmlNamespaceAware=false
  !-- Aliaswww.mysite.net/Alias --
   Logger className=org.apache.catalina.logger.FileLogger
   directory=logs  prefix=mysite.net. suffix=.txt
   timestamp=true/
   Valve className=org.apache.catalina.valves.AccessLogValve
  directory=logs/mysite.net-acesslogs
  pattern=%t %a %A %h %m %p %U
  prefix=access_log. suffix=.txt
 timestamp=true/
   Context path= docBase=mysite.net/production debug=0/
   /Host

Thanks in advance!

Dan Barron
[EMAIL PROTECTED]


This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


tomcat performance with 100 webapps

2004-03-30 Thread Niki Ivanchev
Have some one tested Tomcat with more than 100 webapps. For example 
e-commrece solution, without many bells and whistles - jsut shopbuilder 
and  sopiing cart
Each webapp is based on trubine/velocity/torque. Each webapp using it's 
own firebird database.
Can I expect smooth performance on dual xeon with raid controler and lot 
of RAM (16G) on RedHat EAS?
Niki
Icygen Co.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tomcat performance with 100 webapps

2004-03-30 Thread Shapira, Yoav

Hi,
We have tomcat instances that run ~20 webapps without a problem.  Beyond
that, we haven't tried, but then again that's why we have tools like
JMeter, no? ;)

In large part this will depend on the soundness of the application.
Especially if it's 100 of the same app, because then each memory leak
would be multiplied by 100.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Niki Ivanchev [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 9:43 AM
To: Tomcat User
Subject: tomcat performance with 100 webapps

Have some one tested Tomcat with more than 100 webapps. For example
e-commrece solution, without many bells and whistles - jsut shopbuilder
and  sopiing cart
Each webapp is based on trubine/velocity/torque. Each webapp using it's
own firebird database.
Can I expect smooth performance on dual xeon with raid controler and
lot
of RAM (16G) on RedHat EAS?
Niki
Icygen Co.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat performance with 100 webapps

2004-03-30 Thread Niki Ivanchev
God save our apps from any memory leaks.
Of course we will test them for this issue. And perform stress testing
20 sounds fair enought. Frankly I don't expect too much traffic per e-shop.
Niki
Shapira, Yoav wrote:

Hi,
We have tomcat instances that run ~20 webapps without a problem.  Beyond
that, we haven't tried, but then again that's why we have tools like
JMeter, no? ;)
In large part this will depend on the soundness of the application.
Especially if it's 100 of the same app, because then each memory leak
would be multiplied by 100.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Niki Ivanchev [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 9:43 AM
To: Tomcat User
Subject: tomcat performance with 100 webapps
Have some one tested Tomcat with more than 100 webapps. For example
e-commrece solution, without many bells and whistles - jsut shopbuilder
and  sopiing cart
Each webapp is based on trubine/velocity/torque. Each webapp using it's
own firebird database.
Can I expect smooth performance on dual xeon with raid controler and
   

lot
 

of RAM (16G) on RedHat EAS?
Niki
Icygen Co.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 




Re: tomcat performance with 100 webapps

2004-03-30 Thread Remy Maucherat
Niki Ivanchev wrote:
Have some one tested Tomcat with more than 100 webapps. For example 
e-commrece solution, without many bells and whistles - jsut shopbuilder 
and  sopiing cart
Each webapp is based on trubine/velocity/torque. Each webapp using it's 
own firebird database.
Can I expect smooth performance on dual xeon with raid controler and lot 
of RAM (16G) on RedHat EAS?
I recommend using Tomcat 5, since it will save a significant amount of 
per context resources.

You should also use a global datasource, which would give you a global 
limit on concurrent DB requests. If all webapps use a separate DB, then 
it could lead to resources problems because of too many connections (but 
of course, I haven't tested anything).

--
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat performance with 100 webapps

2004-03-30 Thread Peter Lin
 
the only way you will know is to stress test it. I would recommend doing a small test 
with 10 webapps and a fair amount of load. I can tell you right now if you're not 
using  SSL/TSL hardware acceleration, that's going to be your bottleneck. 20-25 
concurrent https requests will max out a 2ghz AMD athlon. Once that happens everything 
else slows down and performance degrades rapidly.
 
look at the performance numbers in my article. Maybe Remmy can post his old SSL 
numbers from the benchmarks we ran on tomcat 4.  If your shopping cart is efficient, 
100 webapps won't matter. Ultimately, the concurrent requests across all webapps will 
be your bottleneck. After the SSL, the database will be the next major bottleneck. If 
you're using database sessions to keep track of the shopping cart, use JMeter to 
figure out the maximum concurrent queries for firebird first. hope that helps.
 
peter lin
 


Niki Ivanchev [EMAIL PROTECTED] wrote:
Have some one tested Tomcat with more than 100 webapps. For example 
e-commrece solution, without many bells and whistles - jsut shopbuilder 
and sopiing cart
Each webapp is based on trubine/velocity/torque. Each webapp using it's 
own firebird database.
Can I expect smooth performance on dual xeon with raid controler and lot 
of RAM (16G) on RedHat EAS?
Niki
Icygen Co.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

Re: tomcat performance with 100 webapps

2004-03-30 Thread Reynir Þór Hübner
Hi,

I just wanted to post my info on the subject, even though I dont have 
100 hosts on a single machine.

We run near 60 hosts on one machine, in 10 instances of tomcat. memory 
usage has been the biggest problem as our application use cache:ing alot 
to increase performance. all of those hosts are running fairly complex 
CMS systems. the computer has 2 Xeon CPUs and 4gigs ram  RedHat EAS.

The greatest improvement on our memory problem got fixed when we changed 
the setup of tomcat so that it would not reload contexts and jsp pages. 
The memory leaks that we had been seeing (ever increasing memory usage 
of tomcat) stopped.

But, in my opinion you should not be seeing some memory problems with 
100 hosts (if you have 16g ram). I recomend the usage of several 
instances of tomcat, but that will be on the cost of memory (one 
instance seems to use around 30mb (rather basic setup) of ram, even 
though the profiled usage is alot less), but by doing this you will get 
way better manageability. I dont think I have to point out the obvious 
benefits of having several hosts, but one is restarting services will be 
alot easyer and dealing with all sorts of problems will be easyer.

100 hosts require alot of memory, but everything dependes of course on 
your application and traffic. This machine is taking on something around 
20req/sec average, and the load is (cp from top) load average: 1,08, 
1,22, 1,24

But of course cpu power or IO is usually not the bottleneck in 
java-server-applications.

-reynir

Niki Ivanchev wrote:

God save our apps from any memory leaks.
Of course we will test them for this issue. And perform stress testing
20 sounds fair enought. Frankly I don't expect too much traffic per 
e-shop.
Niki

Shapira, Yoav wrote:

Hi,
We have tomcat instances that run ~20 webapps without a problem.  Beyond
that, we haven't tried, but then again that's why we have tools like
JMeter, no? ;)
In large part this will depend on the soundness of the application.
Especially if it's 100 of the same app, because then each memory leak
would be multiplied by 100.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Niki Ivanchev [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 9:43 AM
To: Tomcat User
Subject: tomcat performance with 100 webapps
Have some one tested Tomcat with more than 100 webapps. For example
e-commrece solution, without many bells and whistles - jsut shopbuilder
and  sopiing cart
Each webapp is based on trubine/velocity/torque. Each webapp using it's
own firebird database.
Can I expect smooth performance on dual xeon with raid controler and
  
lot
 

of RAM (16G) on RedHat EAS?
Niki
Icygen Co.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  




This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat performance with 100 webapps

2004-03-30 Thread Adam Hardy
Pardon my ignorance but how do you share one port between multiple 
instances of tomcat? Are you talking launching tomcat 100 times (100 
JVMs), or are you talking 100 Hosts configured in server.xml?

Adam

On 03/30/2004 05:28 PM Reynir Þór Hübner wrote:
I just wanted to post my info on the subject, even though I dont have 
100 hosts on a single machine.

We run near 60 hosts on one machine, in 10 instances of tomcat. memory 
usage has been the biggest problem as our application use cache:ing alot 
to increase performance. all of those hosts are running fairly complex 
CMS systems. the computer has 2 Xeon CPUs and 4gigs ram  RedHat EAS.

The greatest improvement on our memory problem got fixed when we changed 
the setup of tomcat so that it would not reload contexts and jsp pages. 
The memory leaks that we had been seeing (ever increasing memory usage 
of tomcat) stopped.

But, in my opinion you should not be seeing some memory problems with 
100 hosts (if you have 16g ram). I recomend the usage of several 
instances of tomcat, but that will be on the cost of memory (one 
instance seems to use around 30mb (rather basic setup) of ram, even 
though the profiled usage is alot less), but by doing this you will get 
way better manageability. I dont think I have to point out the obvious 
benefits of having several hosts, but one is restarting services will be 
alot easyer and dealing with all sorts of problems will be easyer.

100 hosts require alot of memory, but everything dependes of course on 
your application and traffic. This machine is taking on something around 
20req/sec average, and the load is (cp from top) load average: 1,08, 
1,22, 1,24

But of course cpu power or IO is usually not the bottleneck in 
java-server-applications.

-reynir

Niki Ivanchev wrote:

God save our apps from any memory leaks.
Of course we will test them for this issue. And perform stress testing
20 sounds fair enought. Frankly I don't expect too much traffic per 
e-shop.
Niki

Shapira, Yoav wrote:

Hi,
We have tomcat instances that run ~20 webapps without a problem.  Beyond
that, we haven't tried, but then again that's why we have tools like
JMeter, no? ;)
In large part this will depend on the soundness of the application.
Especially if it's 100 of the same app, because then each memory leak
would be multiplied by 100.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: Niki Ivanchev [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 9:43 AM
To: Tomcat User
Subject: tomcat performance with 100 webapps
Have some one tested Tomcat with more than 100 webapps. For example
e-commrece solution, without many bells and whistles - jsut shopbuilder
and  sopiing cart
Each webapp is based on trubine/velocity/torque. Each webapp using it's
own firebird database.
Can I expect smooth performance on dual xeon with raid controler and
  


lot
 

of RAM (16G) on RedHat EAS?
Niki
Icygen Co.


--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: how to increase tomcat performance

2004-02-15 Thread Antonio Fiol Bonnín
Hi,

I am not Filip, but in my case most hangings were caused by too low 
settings of Tomcat's maxThreads / maxProcessors or too low setting for 
the database connections accepted.

And as Deepak says he is using Apache in front, I'd also check the 
Apache, just in case.

To check, wait for it to hang, and before stopping tomcat, execute on 
every machine involved:

netstat -n | grep SYN_RECV

If you see a large (more than 2-3) quantity of lines there, the involved 
service (local IP:port) is the blocking one.

SYN_SENT would be the counterpart of this. However, as you will not 
notice the hang immediately, it is unlikely that you see the SYN_SENT. 
If you do, blocking service is (remote IP:port).

Hope that helps.

Antonio Fiol



Parsons Technical Services wrote:

Filip,

Does this symptom sound similar to problems with memory leaks?

Doug

- Original Message - 
From: Filip Hanik (lists) [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Deepak Hegde
[EMAIL PROTECTED]
Sent: Saturday, February 14, 2004 11:12 PM
Subject: RE: how to increase tomcat performance

 

first go over your configurations, make sure you have enabled enough
   

threads
 

for the connectors (read docs)

then get a performance profiler and go to work :)

tomcat is pretty optimized, so it could be something in your code

Filip



-Original Message-
From: Deepak Hegde [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 14, 2004 8:03 PM
To: [EMAIL PROTECTED]
Subject: how to increase tomcat performance
Hi All,

I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc
machine having O.S 5.8 version.
Web application is developed to use Postgres Database also.

I am facing lots of performance issues with Tomcat i.e sometimes when user
connection increases tomcat process hangs and website stops opening
and some times it goes very slow. The Problem gets sloved when i restart
   

the
 

tomcat service again.

Somebody please help me ..

Regards,
Deepak
   




smime.p7s
Description: S/MIME Cryptographic Signature


Re: Re: how to increase tomcat performance

2004-02-15 Thread Deepak Hegde
hi,

I have checked issuing the same command netstat but it displays nothing.
also sometimes tomcat uses 70% of the CPU when this things happen.

Regards,
Deepak


On Sun, 15 Feb 2004 Antonio Fiol Bonnín wrote :
Hi,

I am not Filip, but in my case most hangings were caused by too low settings of 
Tomcat's maxThreads / maxProcessors or too low setting for the database connections 
accepted.

And as Deepak says he is using Apache in front, I'd also check the Apache, just in 
case.

To check, wait for it to hang, and before stopping tomcat, execute on every machine 
involved:

netstat -n | grep SYN_RECV

If you see a large (more than 2-3) quantity of lines there, the involved service 
(local IP:port) is the blocking one.

SYN_SENT would be the counterpart of this. However, as you will not notice the hang 
immediately, it is unlikely that you see the SYN_SENT. If you do, blocking service is 
(remote IP:port).

Hope that helps.


Antonio Fiol



Parsons Technical Services wrote:

Filip,

Does this symptom sound similar to problems with memory leaks?

Doug

- Original Message - From: Filip Hanik (lists) [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Deepak Hegde
[EMAIL PROTECTED]
Sent: Saturday, February 14, 2004 11:12 PM
Subject: RE: how to increase tomcat performance


  
first go over your configurations, make sure you have enabled enough

threads
  
for the connectors (read docs)

then get a performance profiler and go to work :)

tomcat is pretty optimized, so it could be something in your code

Filip



-Original Message-
 From: Deepak Hegde [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 14, 2004 8:03 PM
To: [EMAIL PROTECTED]
Subject: how to increase tomcat performance


Hi All,

I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc
machine having O.S 5.8 version.

Web application is developed to use Postgres Database also.

I am facing lots of performance issues with Tomcat i.e sometimes when user
connection increases tomcat process hangs and website stops opening

and some times it goes very slow. The Problem gets sloved when i restart

the
  
tomcat service again.

Somebody please help me ..

Regards,
Deepak




how to increase tomcat performance

2004-02-14 Thread Deepak Hegde
Hi All,

I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc machine having 
O.S 5.8 version.

Web application is developed to use Postgres Database also.

I am facing lots of performance issues with Tomcat i.e sometimes when user
connection increases tomcat process hangs and website stops opening

and some times it goes very slow. The Problem gets sloved when i restart the tomcat 
service again.

Somebody please help me ..

Regards,
Deepak

RE: how to increase tomcat performance

2004-02-14 Thread Filip Hanik \(lists\)
first go over your configurations, make sure you have enabled enough threads
for the connectors (read docs)

then get a performance profiler and go to work :)

tomcat is pretty optimized, so it could be something in your code

Filip



-Original Message-
From: Deepak Hegde [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 14, 2004 8:03 PM
To: [EMAIL PROTECTED]
Subject: how to increase tomcat performance


Hi All,

I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc
machine having O.S 5.8 version.

Web application is developed to use Postgres Database also.

I am facing lots of performance issues with Tomcat i.e sometimes when user
connection increases tomcat process hangs and website stops opening

and some times it goes very slow. The Problem gets sloved when i restart the
tomcat service again.

Somebody please help me ..

Regards,
Deepak
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to increase tomcat performance

2004-02-14 Thread Parsons Technical Services
Filip,

Does this symptom sound similar to problems with memory leaks?

Doug

- Original Message - 
From: Filip Hanik (lists) [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]; Deepak Hegde
[EMAIL PROTECTED]
Sent: Saturday, February 14, 2004 11:12 PM
Subject: RE: how to increase tomcat performance


 first go over your configurations, make sure you have enabled enough
threads
 for the connectors (read docs)

 then get a performance profiler and go to work :)

 tomcat is pretty optimized, so it could be something in your code

 Filip



 -Original Message-
 From: Deepak Hegde [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 14, 2004 8:03 PM
 To: [EMAIL PROTECTED]
 Subject: how to increase tomcat performance


 Hi All,

 I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc
 machine having O.S 5.8 version.

 Web application is developed to use Postgres Database also.

 I am facing lots of performance issues with Tomcat i.e sometimes when user
 connection increases tomcat process hangs and website stops opening

 and some times it goes very slow. The Problem gets sloved when i restart
the
 tomcat service again.

 Somebody please help me ..

 Regards,
 Deepak
 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004

 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat performance

2004-01-30 Thread Pete Stokes
Hi all.

I am wondering about Tomcat performance on different platforms. Any 1 
know which is best / figures, running a standard Java webapp, nothing 
fancy (with JTOpen to an iSeries DB if this makes any difference - 
looking for 1200 users) ???

Tomcat 5.0.18 on

Win2k,
Linux (Intel desktop / Xeon / AMD64)
Sun (Linux / Solaris)
Opinions are appreciated !
Pete.


***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat performance

2004-01-30 Thread FRANCOIS Dufour
on xp the curent process whit tomcat is  process   28
uc   3 to 
10%
   dedicated charge   213 mo



[EMAIL PROTECTED]
administrateur http://entre-nous.qc.tc




From: Pete Stokes [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Tomcat performance
Date: Fri, 30 Jan 2004 14:33:40 +
Hi all.

I am wondering about Tomcat performance on different platforms. Any 1 know 
which is best / figures, running a standard Java webapp, nothing fancy 
(with JTOpen to an iSeries DB if this makes any difference - looking for 
1200 users) ???

Tomcat 5.0.18 on

Win2k,
Linux (Intel desktop / Xeon / AMD64)
Sun (Linux / Solaris)
Opinions are appreciated !
Pete.


***
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat performance

2004-01-30 Thread Shapira, Yoav

Howdy,
I'll give my stock opinion: any benchmarks given to you by others are at
best interesting and at worst misleading, the latter being far more
likely.  There's no such thing as a standard webapp, and you have to
benchmark your own webapp against your own expected user load.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Pete Stokes [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 9:34 AM
To: Tomcat Users List
Subject: Tomcat performance

Hi all.

I am wondering about Tomcat performance on different platforms. Any 1
know which is best / figures, running a standard Java webapp, nothing
fancy (with JTOpen to an iSeries DB if this makes any difference -
looking for 1200 users) ???

Tomcat 5.0.18 on

Win2k,
Linux (Intel desktop / Xeon / AMD64)
Sun (Linux / Solaris)

Opinions are appreciated !
Pete.




***


This email and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are
addressed.
If you have received this email in error please notify the system
manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
***


For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance

2004-01-30 Thread Peter Lin
 
I'm planning on running a new set of benchmarks in a week or two if you can wait that 
long. JMeter is getting ready to release 2.0 with quite a few enhancements, so I plan 
on load testing the latest Tomcat5 with JMeter 2.0.
 
my plan of attack right now is to update my old addressbook webapp with an application 
context, update/delete features and caching. then I will throw major load at it for 
48hrs generating a couple million page views.
 
as usual, I will publish the results when I am done on the mailing list.
 
peter lin


Pete Stokes [EMAIL PROTECTED] wrote:
Hi all.

I am wondering about Tomcat performance on different platforms. Any 1 
know which is best / figures, running a standard Java webapp, nothing 
fancy (with JTOpen to an iSeries DB if this makes any difference - 
looking for 1200 users) ???

Tomcat 5.0.18 on

Win2k,
Linux (Intel desktop / Xeon / AMD64)
Sun (Linux / Solaris)

Opinions are appreciated !
Pete.




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Re: Tomcat performance

2004-01-30 Thread Philipp Taprogge
Hi all!

Peter Lin wrote:
then I will throw major load at it for 48hrs generating a couple million page views.
Just out of curiosity: what is the best way to generate page views for 
such a benchmark? What tools do you use?

Thanks

		Phil

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat performance

2004-01-30 Thread Shapira, Yoav

Howdy,

Peter Lin wrote:
 then I will throw major load at it for 48hrs generating a couple
million
page views.

Just out of curiosity: what is the best way to generate page views for
such a benchmark? What tools do you use?

JMeter, as he mentioned.  He's also its main developer, and it's a great
tool -- I use it all the time.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance

2004-01-30 Thread Pete Stokes
Thinking more about people experiences running their bits on different 
os's etc, if they got much better results with a different combination etc.

Pete.

Shapira, Yoav wrote:

Howdy,
I'll give my stock opinion: any benchmarks given to you by others are at
best interesting and at worst misleading, the latter being far more
likely.  There's no such thing as a standard webapp, and you have to
benchmark your own webapp against your own expected user load.
Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Pete Stokes [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 9:34 AM
To: Tomcat Users List
Subject: Tomcat performance
Hi all.

I am wondering about Tomcat performance on different platforms. Any 1
know which is best / figures, running a standard Java webapp, nothing
fancy (with JTOpen to an iSeries DB if this makes any difference -
looking for 1200 users) ???
Tomcat 5.0.18 on

Win2k,
Linux (Intel desktop / Xeon / AMD64)
Sun (Linux / Solaris)
Opinions are appreciated !
Pete.


***



This email and any files transmitted with it are confidential and
intended

solely for the use of the individual or entity to whom they are
addressed.

If you have received this email in error please notify the system
manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
***



For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat performance

2004-01-30 Thread Peter Lin
 
well I'm really the main developer. right now sebastian and jordi are far more active 
than I am. I'm responsible for the webservice and accesslog samplers.
 
I wrote the accesslog sampler to do simulation testing using production access logs. 
it parses common log format and generates requests.
 
peter ln


Shapira, Yoav [EMAIL PROTECTED] wrote:

Howdy,

Peter Lin wrote:
 then I will throw major load at it for 48hrs generating a couple
million
page views.

Just out of curiosity: what is the best way to generate page views for
such a benchmark? What tools do you use?

JMeter, as he mentioned. He's also its main developer, and it's a great
tool -- I use it all the time.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged. This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else. If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender. Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Re: Tomcat performance

2004-01-30 Thread Peter Lin
 
did you read the performance article on the resources page?  Remy and I compared 
windows, linux and solaris. while it is far from comprehensive, it's better than 
nothing. if someone donates an IBM iSeries, I'll gladly run a ton of benchmarks and 
publish them :)
 
 
peter lin


Pete Stokes [EMAIL PROTECTED] wrote:
Thinking more about people experiences running their bits on different 
os's etc, if they got much better results with a different combination etc.

Pete.


Shapira, Yoav wrote:

 Howdy,
 I'll give my stock opinion: any benchmarks given to you by others are at
 best interesting and at worst misleading, the latter being far more
 likely. There's no such thing as a standard webapp, and you have to
 benchmark your own webapp against your own expected user load.
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 
-Original Message-
From: Pete Stokes [mailto:[EMAIL PROTECTED]
Sent: Friday, January 30, 2004 9:34 AM
To: Tomcat Users List
Subject: Tomcat performance

Hi all.

I am wondering about Tomcat performance on different platforms. Any 1
know which is best / figures, running a standard Java webapp, nothing
fancy (with JTOpen to an iSeries DB if this makes any difference -
looking for 1200 users) ???

Tomcat 5.0.18 on

Win2k,
Linux (Intel desktop / Xeon / AMD64)
Sun (Linux / Solaris)

Opinions are appreciated !
Pete.




***
 
 
 

This email and any files transmitted with it are confidential and
 
 intended
 
solely for the use of the individual or entity to whom they are
 
 addressed.
 
If you have received this email in error please notify the system
 
 manager.
 
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
***
 
 
 

For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 This e-mail, including any attachments, is a confidential business communication, 
 and may contain information that is confidential, proprietary and/or privileged. 
 This e-mail is intended only for the individual(s) to whom it is addressed, and may 
 not be saved, copied, printed, disclosed or used by anyone else. If you are not 
 the(an) intended recipient, please immediately delete this e-mail from your computer 
 system and notify the sender. Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

RE: Tomcat performance

2004-01-30 Thread Peter Lin
doh! typo. that should a big fat NOT.
 
as in I'm NOT the main developer.
 
peter lin


Peter Lin [EMAIL PROTECTED] wrote:

well I'm really the main developer. right now sebastian and jordi are far more active 
than I am. I'm responsible for the webservice and accesslog samplers.

I wrote the accesslog sampler to do simulation testing using production access logs. 
it parses common log format and generates requests.

peter ln



-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Re: Tomcat performance

2004-01-30 Thread Peter Lin
 
well I'm biased, since I'm a commiter on JMeter.  JMeter is a jakarta project and it 
has quite a few features in the latest version.
 
JMeter now supports proxies, cookie management, header management, default parameters, 
ftp protocol, jdbc protocol, java sampler, webservice, soap/xml-rpc, and accesslog 
sampler.
 
anyway, it has lots of features, just look at the jmeter page.
 
peter lin


Philipp Taprogge [EMAIL PROTECTED] wrote:
Hi all!

Peter Lin wrote:
 then I will throw major load at it for 48hrs generating a couple million page views.

Just out of curiosity: what is the best way to generate page views for 
such a benchmark? What tools do you use?

Thanks

Phil


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Re: Tomcat performance on Windows versus Linux

2003-12-16 Thread Sean Dockery
David Rees [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Not enough difference to make it a deciding factor between the two
 platforms.  IMO, Tim's criteria are spot on when deciding what platform to
 deploy on.  Personally, I prefer Unix as I find it easier to setup and
 administer.  Of course, the majority of my experience with Tomcat is on
 Unix, and not on Windows.

That's fine.  I never disagreed with Tim's reasons to choose one platform
over another.  But, as I have already responded, I am not choosing a
platform on which to deploy my application; so, arguments as to which
platform is better are moot.

 If you haven't looked already, have a look at the Volano benchmarks
 (google for it) for some numbers on the scalability and performance of
 different JVM, but note that those numbers won't necessarily reflect the
 performance of YOUR application running on Tomcat.

Thanks for this tidbit.  It is still very early in the process, but
scalability of JVMs is definitely of interest to me.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance on Windows versus Linux

2003-12-16 Thread Oscar Carrillo
I am about to setup Tomcat under a new Linux 2.6 kernel with 2 Athlon MP
processors. Since scheduling, threading, and SMP have been much improved
in the new kernel I wonder if it will add to performance.

I don't have anything to test the new setup with, but if anyone has good
ideas (and by good, I mean easy), as I haven't done any profiling, etc.

Oscar
http://daydream.stanford.edu/tomcat/install_web_services.html

On Mon, 15 Dec 2003, Sean Dockery wrote:

 Thanks, Tim, for the even handed response.
 
 I'm not looking for a business case to choose one or the other, however; it
 is certain that our customers will be deploying our application on both
 Linux and Windows (and even Solaris).  I'm just looking to find out whether
 or not OS service (TCP/IP stacks, threads, file I/O, etc...) implementation
 differences between Linux and Windows have a significant impact on
 performance and thus should be weighed accordingly.
 
 I received a response in email from Peter Lin in which he details his
 experience (which was very helpful; thank you, Peter).  I've read Peter's
 article about performance tuning and a few other white papers as well, but I
 haven't really seen anything in the past that focused on OS differences and
 how those differences might affect the recommended approach to profiling and
 tuning.
 
 My conclusions from my readings so far:  Slow java code (i.e.: algorithms)
 will be slow on any platform; change the implementation to make it faster.
 Configurable behaviour dependent upon OS services (TCP/IP stacks, threads,
 file I/O, etc...) should be tuned for the platform on which the application
 will live.
 
 PS:  I was sad to learn that the Tomcat Performance Handbook publishing date
 would be postponed.  I would be thrilled if either you or Peter could tell
 me that the book will see a printer's press anytime soon.
 
 PPS:  Is there a wiki for this stuff anywhere?
 
 Tim Funk [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  [I hate saying this since its rather very much like flambait but...]
 
  If its worth anything, I haven't had enough load on any of our apps to
 know
  whether Linux or Windows is better. Instead, look at:
  *** - Maintenance - If your a windows shop - stay windows ***
  - Debugging - I think troubleshooting is easier on *nix systems (YMMV)
  - Comfort - If your comfortable with unix concepts - linux might be easier
  than windows
 
  -Tim
 
  Sean Dockery wrote:
 
   I am planning to profile a web application on Windows XP (my development
   platform).  I am curious as to whether or not different components in
 Tomcat
   and the JVM will behave differently (in a relative comparison) on Linux
   (production platform) than Windows.
  
   For example, I have had a person tell me that threads under Linux are
 more
   performant than threads under Windows--leading to the corollary that web
   applications under Linux are more performant than web applications under
   Windows on the same hardware.  My guess is that this claim is based upon
 the
   supposition that thread/context switches under Linux are faster than
 under
   Windows.  I find the claim rather dubious because I've never seen data
 to
   support the claim, but doubt is not certainty.
  
   Is there any evidence that this claim and other component performance
   differences between the Windows and Linux platform exist and are
 significant
   enough to throw my performance measurements out the window.  :-)
  
   My concern is that I'll profile the application under Windows and tune
 it,
   but then find that my gains aren't as significant or maybe even
 worthless
   under Linux.
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat performance on Windows versus Linux

2003-12-15 Thread Sean Dockery
I am planning to profile a web application on Windows XP (my development
platform).  I am curious as to whether or not different components in Tomcat
and the JVM will behave differently (in a relative comparison) on Linux
(production platform) than Windows.

For example, I have had a person tell me that threads under Linux are more
performant than threads under Windows--leading to the corollary that web
applications under Linux are more performant than web applications under
Windows on the same hardware.  My guess is that this claim is based upon the
supposition that thread/context switches under Linux are faster than under
Windows.  I find the claim rather dubious because I've never seen data to
support the claim, but doubt is not certainty.

Is there any evidence that this claim and other component performance
differences between the Windows and Linux platform exist and are significant
enough to throw my performance measurements out the window.  :-)

My concern is that I'll profile the application under Windows and tune it,
but then find that my gains aren't as significant or maybe even worthless
under Linux.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance on Windows versus Linux

2003-12-15 Thread Tim Funk
[I hate saying this since its rather very much like flambait but...]

If its worth anything, I haven't had enough load on any of our apps to know 
whether Linux or Windows is better. Instead, look at:
*** - Maintenance - If your a windows shop - stay windows ***
- Debugging - I think troubleshooting is easier on *nix systems (YMMV)
- Comfort - If your comfortable with unix concepts - linux might be easier 
than windows

-Tim

Sean Dockery wrote:

I am planning to profile a web application on Windows XP (my development
platform).  I am curious as to whether or not different components in Tomcat
and the JVM will behave differently (in a relative comparison) on Linux
(production platform) than Windows.
For example, I have had a person tell me that threads under Linux are more
performant than threads under Windows--leading to the corollary that web
applications under Linux are more performant than web applications under
Windows on the same hardware.  My guess is that this claim is based upon the
supposition that thread/context switches under Linux are faster than under
Windows.  I find the claim rather dubious because I've never seen data to
support the claim, but doubt is not certainty.
Is there any evidence that this claim and other component performance
differences between the Windows and Linux platform exist and are significant
enough to throw my performance measurements out the window.  :-)
My concern is that I'll profile the application under Windows and tune it,
but then find that my gains aren't as significant or maybe even worthless
under Linux.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat performance on Windows versus Linux

2003-12-15 Thread Sean Dockery
Thanks, Tim, for the even handed response.

I'm not looking for a business case to choose one or the other, however; it
is certain that our customers will be deploying our application on both
Linux and Windows (and even Solaris).  I'm just looking to find out whether
or not OS service (TCP/IP stacks, threads, file I/O, etc...) implementation
differences between Linux and Windows have a significant impact on
performance and thus should be weighed accordingly.

I received a response in email from Peter Lin in which he details his
experience (which was very helpful; thank you, Peter).  I've read Peter's
article about performance tuning and a few other white papers as well, but I
haven't really seen anything in the past that focused on OS differences and
how those differences might affect the recommended approach to profiling and
tuning.

My conclusions from my readings so far:  Slow java code (i.e.: algorithms)
will be slow on any platform; change the implementation to make it faster.
Configurable behaviour dependent upon OS services (TCP/IP stacks, threads,
file I/O, etc...) should be tuned for the platform on which the application
will live.

PS:  I was sad to learn that the Tomcat Performance Handbook publishing date
would be postponed.  I would be thrilled if either you or Peter could tell
me that the book will see a printer's press anytime soon.

PPS:  Is there a wiki for this stuff anywhere?

Tim Funk [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 [I hate saying this since its rather very much like flambait but...]

 If its worth anything, I haven't had enough load on any of our apps to
know
 whether Linux or Windows is better. Instead, look at:
 *** - Maintenance - If your a windows shop - stay windows ***
 - Debugging - I think troubleshooting is easier on *nix systems (YMMV)
 - Comfort - If your comfortable with unix concepts - linux might be easier
 than windows

 -Tim

 Sean Dockery wrote:

  I am planning to profile a web application on Windows XP (my development
  platform).  I am curious as to whether or not different components in
Tomcat
  and the JVM will behave differently (in a relative comparison) on Linux
  (production platform) than Windows.
 
  For example, I have had a person tell me that threads under Linux are
more
  performant than threads under Windows--leading to the corollary that web
  applications under Linux are more performant than web applications under
  Windows on the same hardware.  My guess is that this claim is based upon
the
  supposition that thread/context switches under Linux are faster than
under
  Windows.  I find the claim rather dubious because I've never seen data
to
  support the claim, but doubt is not certainty.
 
  Is there any evidence that this claim and other component performance
  differences between the Windows and Linux platform exist and are
significant
  enough to throw my performance measurements out the window.  :-)
 
  My concern is that I'll profile the application under Windows and tune
it,
  but then find that my gains aren't as significant or maybe even
worthless
  under Linux.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance on Windows versus Linux

2003-12-15 Thread David Rees
On Mon, December 15, 2003 at 9:42 am, Sean Dockery wrote:
 Tim Funk [EMAIL PROTECTED] wrote in message:
 [I hate saying this since its rather very much like flambait
 but...]

 If its worth anything, I haven't had enough load on any of our apps
 to know whether Linux or Windows is better. Instead, look at: ***
 - Maintenance - If your a windows shop - stay windows *** -
 Debugging - I think troubleshooting is easier on *nix systems
 (YMMV) - Comfort - If your comfortable with unix concepts - linux
 might be easier than windows

 Thanks, Tim, for the even handed response.

 I'm not looking for a business case to choose one or the other,
 however; it is certain that our customers will be deploying our
 application on both Linux and Windows (and even Solaris). I'm just
 looking to find out whether or not OS service (TCP/IP stacks,
 threads, file I/O, etc...) implementation differences between Linux
 and Windows have a significant impact on performance and thus should
 be weighed accordingly.

Not enough difference to make it a deciding factor between the two
platforms.  IMO, Tim's criteria are spot on when deciding what platform to
deploy on.  Personally, I prefer Unix as I find it easier to setup and
administer.  Of course, the majority of my experience with Tomcat is on
Unix, and not on Windows.

If you haven't looked already, have a look at the Volano benchmarks
(google for it) for some numbers on the scalability and performance of
different JVM, but note that those numbers won't necessarily reflect the
performance of YOUR application running on Tomcat.

 My conclusions from my readings so far: Slow java code (i.e.:
 algorithms) will be slow on any platform; change the implementation
 to make it faster. Configurable behaviour dependent upon OS services
 (TCP/IP stacks, threads, file I/O, etc...) should be tuned for the
 platform on which the application will live.

I think you've got the idea.

-Dave


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Glen: One more item to include in Tomcat performance presentations

2003-11-25 Thread Jeff Tulley
I have been looking through the ApacheCon Tomcat performance
presentation while simultaneously working on a performance / memory
problem with Tomcat 4.x, and I have one more item that I would add to
the presentation:

Make sure JSP pages that do not deal with the session have %@ page
session=false % in them.  Consider the following brain-dead JSP:

html
body
  All the numbers from 0 to 100.br /
  %
for (int i=0; i  100; i++)
{
  out.println(i + , );
}
out.println(100);
   %
/body
/html

Jasper generates the following: 

  public void _jspService(HttpServletRequest request,
HttpServletResponse response)
throws java.io.IOException, ServletException {
...
HttpSession session = null;
...
  pageContext = _jspxFactory.getPageContext(this, request,
response,
null, true, 8192, true);
  session = pageContext.getSession();
...

Here the session object is totally unneccessary (both in the
getSession, and in the 3rd-to-last, true argument ot the
getPageContext call).  Creating a session adds to the latency of the
request, and worse(in my case, doing some load-testing), adds memory
that is not freed up until the session timeout expires - 30 minutes by
default, possibly creating a situation where the memory is maxed out on
the JVM process.

Hitting very simple JSPs on my system (600Mhz Single proc machine
-Xmx256m, 75 processors going directly to 8080), caused about a 25%
performance gain (~515 req/s up to ~640 req/s)  Very significant.

I just thought it worth passing on since it seems useful and (AFAIK) is
not mentioned anywhere in docs.

Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat performance issues with W2k - SP4

2003-10-08 Thread Shapira, Yoav

Howdy,
Ask Microsoft.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Wade Chandler [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 8:37 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat performance issues with W2k - SP4

Tomcat isn't the only application.  IIS suffers as well.  Are you using
Server or Advanced Server?  There are some major problems with Advanced
Server after installing the patch.  I think you should ask MS about
this.  Also check with your VM manufacturer.  We have some ISAPI
applications that run in IIS that have suffered as well.  We are
working
with MS currently to try and figure this out.

Wade

-Original Message-
From: Benito Garcia [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 8:03 AM
To: 
Subject: Tomcat performance issues with W2k - SP4


Hello.

I have Tomcat 4.0.4 in a  Windows 2000 SP3  ( and a Oracle DataBase
) working fine and with good performance.

When installing the Service Pack 4 in the Windows 2000, all
continue
working OK, but wit a great loss of performance.

If I uninstall the SP4, the performance remains degraded. I need
re-install Windows 2000 - SP3  in order to get good performance again.

I'm a little bit confused...

Tanks in advance.

Benito.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat performance issues with W2k - SP4

2003-10-06 Thread Benito Garcia
Hello.

I have Tomcat 4.0.4 in a  Windows 2000 SP3  ( and a Oracle DataBase ) working fine 
and with good performance.

When installing the Service Pack 4 in the Windows 2000, all continue working OK, 
but wit a great loss of performance.

If I uninstall the SP4, the performance remains degraded. I need re-install 
Windows 2000 - SP3  in order to get good performance again.

I'm a little bit confused...

Tanks in advance.

Benito.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat performance issues with W2k - SP4

2003-10-06 Thread Antony Paul
My machine too have this problem. Any solutions. I am using JDK 1.4.1 ,
Tomcat 4.1.27 and Oracle 8i.
- Original Message -
From: Benito Garcia [EMAIL PROTECTED]
To:  Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, October 06, 2003 5:33 PM
Subject: Tomcat performance issues with W2k - SP4


Hello.

I have Tomcat 4.0.4 in a  Windows 2000 SP3  ( and a Oracle DataBase )
working fine and with good performance.

When installing the Service Pack 4 in the Windows 2000, all continue
working OK, but wit a great loss of performance.

If I uninstall the SP4, the performance remains degraded. I need
re-install Windows 2000 - SP3  in order to get good performance again.

I'm a little bit confused...

Tanks in advance.

Benito.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat performance issues with W2k - SP4

2003-10-06 Thread Wade Chandler
Tomcat isn't the only application.  IIS suffers as well.  Are you using
Server or Advanced Server?  There are some major problems with Advanced
Server after installing the patch.  I think you should ask MS about
this.  Also check with your VM manufacturer.  We have some ISAPI
applications that run in IIS that have suffered as well.  We are working
with MS currently to try and figure this out.

Wade

-Original Message-
From: Benito Garcia [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 06, 2003 8:03 AM
To: 
Subject: Tomcat performance issues with W2k - SP4


Hello.

I have Tomcat 4.0.4 in a  Windows 2000 SP3  ( and a Oracle DataBase
) working fine and with good performance.

When installing the Service Pack 4 in the Windows 2000, all continue
working OK, but wit a great loss of performance.

If I uninstall the SP4, the performance remains degraded. I need
re-install Windows 2000 - SP3  in order to get good performance again.

I'm a little bit confused...

Tanks in advance.

Benito.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: article on tomcat performance

2003-09-22 Thread Jan Agermose
PDF and/or html - how about hosting? Has Jakarta offered to host - they
really should but I they refuse, please let me know



- Original Message - 
From: Peter Lin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, September 22, 2003 3:44 AM
Subject: Re: article on tomcat performance



 Here is a quick update. I plan to release the finished article thursday or
friday. tim and mike were kind enough to review it. I'm still waiting for
the other reviewers. My question is what format would people like?

 word
 openoffice
 pdf

 peter



 Peter Lin [EMAIL PROTECTED] wrote:



 It looks like the tomcat performance book probably won't happen, so I am
writing a short article based on some of the benchmark results. I should
have a draft done in a week. Anyone interested in reviewing it?





 peter lin


 -
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software

 -
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: article on tomcat performance

2003-09-22 Thread Tim Funk
PDF. Then its one document which will look the same everywhere. I prefer not 
to use Office documents for cross company transmission since I can't trust 
the other party sending me a virus free document. (Even if my security 
settings are high)

-Tim

Peter Lin wrote:

 
Here is a quick update. I plan to release the finished article thursday or friday. tim and mike were kind enough to review it. I'm still waiting for the other reviewers. My question is what format would people like?
 
word
openoffice
pdf
 
peter
  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: article on tomcat performance

2003-09-22 Thread Eric MacAdie

--- Peter Lin [EMAIL PROTECTED] wrote:
  
 Here is a quick update. I plan to release the
 finished article thursday or friday. tim and mike
 were kind enough to review it. I'm still waiting for
 the other reviewers. My question is what format
 would people like?
  
 word
 openoffice
 pdf
  
 peter

Anything other than PDF.

EKMacAdie


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: article on tomcat performance

2003-09-21 Thread Peter Lin
 
Here is a quick update. I plan to release the finished article thursday or friday. tim 
and mike were kind enough to review it. I'm still waiting for the other reviewers. My 
question is what format would people like?
 
word
openoffice
pdf
 
peter
 


Peter Lin [EMAIL PROTECTED] wrote:



It looks like the tomcat performance book probably won't happen, so I am writing a 
short article based on some of the benchmark results. I should have a draft done in a 
week. Anyone interested in reviewing it?





peter lin


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

RE: article on tomcat performance

2003-09-21 Thread Prabhakar, Achal
PDF

-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 21, 2003 8:44 PM
To: Tomcat Users List
Subject: Re: article on tomcat performance


 
Here is a quick update. I plan to release the finished article thursday or
friday. tim and mike were kind enough to review it. I'm still waiting for
the other reviewers. My question is what format would people like?
 
word
openoffice
pdf
 
peter
 


Peter Lin [EMAIL PROTECTED] wrote:



It looks like the tomcat performance book probably won't happen, so I am
writing a short article based on some of the benchmark results. I should
have a draft done in a week. Anyone interested in reviewing it?





peter lin


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: article on tomcat performance

2003-09-19 Thread Euan Guttridge
Seconded, otherwise please include me in review distribution.

-Original Message-
From: srinath narasimhan [mailto:[EMAIL PROTECTED] 
Sent: 17 September 2003 18:47
To: Tomcat Users List
Subject: RE: article on tomcat performance


Please post it to the list with a link or how to get it.

Thanks.

-Original Message-
From: Micael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 10:57
To: Tomcat Users List
Subject: Re: article on tomcat performance


Also, YES

At 08:59 AM 9/17/2003 +0200, you wrote:
YES

- Original Message -
From: Peter Lin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 5:17 AM
Subject: article on tomcat performance


 
 
 
  It looks like the tomcat performance book probably won't happen, so 
  I am
writing a short article based on some of the benchmark results. I 
should have a draft done in a week. Anyone interested in reviewing it?
 
 
 
 
 
  peter lin
 
 
  -
  Do you Yahoo!?
  Yahoo! SiteBuilder - Free, easy-to-use web site design software


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain
information belonging to the sender which may be confidential and legally
privileged.  This information is intended only for the use of the individual
or entity to whom this electronic mail transmission was sent as indicated
above. If you are not the intended recipient, any disclosure, copying,
distribution, or action taken in reliance on the contents of the information
contained in this transmission is strictly prohibited.  If you have received
this transmission in error, please delete the message.  Thank you



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: article on tomcat performance

2003-09-17 Thread Jan Agermose
YES

- Original Message - 
From: Peter Lin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 5:17 AM
Subject: article on tomcat performance





 It looks like the tomcat performance book probably won't happen, so I am
writing a short article based on some of the benchmark results. I should
have a draft done in a week. Anyone interested in reviewing it?





 peter lin


 -
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: article on tomcat performance

2003-09-17 Thread Mike Curwen
As long as you send us all the link to the finished article, I'm sure I
won't mind missing the 'beta'.  ;)


 -Original Message-
 From: Peter Lin [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 16, 2003 10:17 PM
 To: Tomcat Users List
 Subject: article on tomcat performance
 
 
 
  
 
 It looks like the tomcat performance book probably won't 
 happen, so I am writing a short article based on some of the 
 benchmark results. I should have a draft done in a week. 
 Anyone interested in reviewing it?
 
  
 
  
 
 peter lin
 
 
 -
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: article on tomcat performance

2003-09-17 Thread Micael
Also, YES

At 08:59 AM 9/17/2003 +0200, you wrote:
YES

- Original Message -
From: Peter Lin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 5:17 AM
Subject: article on tomcat performance



 It looks like the tomcat performance book probably won't happen, so I am
writing a short article based on some of the benchmark results. I should
have a draft done in a week. Anyone interested in reviewing it?





 peter lin


 -
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank 
you  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: article on tomcat performance

2003-09-17 Thread srinath narasimhan
Please post it to the list with a link or how to get it.

Thanks.

-Original Message-
From: Micael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 10:57
To: Tomcat Users List
Subject: Re: article on tomcat performance


Also, YES

At 08:59 AM 9/17/2003 +0200, you wrote:
YES

- Original Message -
From: Peter Lin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, September 17, 2003 5:17 AM
Subject: article on tomcat performance


 
 
 
  It looks like the tomcat performance book probably won't happen, so I am
writing a short article based on some of the benchmark results. I should
have a draft done in a week. Anyone interested in reviewing it?
 
 
 
 
 
  peter lin
 
 
  -
  Do you Yahoo!?
  Yahoo! SiteBuilder - Free, easy-to-use web site design software


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



LEGAL NOTICE

This electronic mail  transmission and any accompanying documents contain
information belonging to the sender which may be confidential and legally
privileged.  This information is intended only for the use of the
individual or entity to whom this electronic mail transmission was sent as
indicated above. If you are not the intended recipient, any disclosure,
copying, distribution, or action taken in reliance on the contents of the
information contained in this transmission is strictly prohibited.  If you
have received this transmission in error, please delete the message.  Thank
you



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



article on tomcat performance

2003-09-16 Thread Peter Lin

 

It looks like the tomcat performance book probably won't happen, so I am writing a 
short article based on some of the benchmark results. I should have a draft done in a 
week. Anyone interested in reviewing it?

 

 

peter lin


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: Apache Tomcat Performance Handbook

2003-09-05 Thread John Turner
That's why...they're no longer being printed.  Anything you see on 
shelves or in stores is backstock.  Peer Information Services, which 
owned Wrox and several other publishing houses (like Friends of Ed) 
liquidated in March, 2003.

Apress and Wiley picked up most of the assetsthe books that will be 
supported will be reprinted using Apress and Wiley covers and get a new 
ISBN.  A perfect example of this is Beginning Java Objects by Jacquie 
Barker...it was a very popular Wrox book, it is now available as an 
Apress book with a different cover, different typesetting, different 
editorial team, etc.  The content is the same, and the copyright is 
still 2000.

Soif you see a Wrox book at full price, you can probably deal with 
the seller to get a discount if one isn't already offered.  The sad 
thing is, the authors will never see any of that money, so if you really 
want to support the authors and encourage similar titles, buy the Apress 
or Wiley version instead.

John

Darryl L. Pierce wrote:

John Turner wrote:

The book was never published.  The original publisher (Wrox) went out 
of business and liquidated assets.


Was this recently? Just this past weekend I picked up a Wrox press book 
(Java Data) and it was 50% off. All of their books at Borders were 50% off.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache Tomcat Performance Handbook

2003-09-04 Thread John Turner
The book was never published.  The original publisher (Wrox) went out of 
business and liquidated assets.

The rights to the performance handbook (and many other former Wrox 
titles including the security handbook) were picked up by Apress.  The 
rights to the rest were picked up by Wiley.  I think Wiley is running 
wrox.com right now.

From the conversations I've had with Apress, the future of the 
performance book is undecided, though that could change at any moment. 
I for one think there is a need for such a book, but with Tomcat 5 
coming out, it might need to be rewritten to address the new release.

John

Flat Juas wrote:

Hi!

 I'm looking for the Apache Tomcat Performance
Handbook, but in every shop I check it's out of
print. There are no used copies in ebay neither. Where
can I get a copy of this book (I don't mind if it's a
used one) or buy a pdf version of it ? Can you
recommend me other books about tomcat performance or
guide me to online resources about this subject ?
Thanks in advance

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache Tomcat Performance Handbook

2003-09-04 Thread Matt Fury
How could Wrox go out of business? That doesn't sound
right. They have 1001 titles and write great books!

Are you sure?


--- John Turner [EMAIL PROTECTED] wrote:
 
 The book was never published.  The original
 publisher (Wrox) went out of 
 business and liquidated assets.
 
 The rights to the performance handbook (and many
 other former Wrox 
 titles including the security handbook) were picked
 up by Apress.  The 
 rights to the rest were picked up by Wiley.  I think
 Wiley is running 
 wrox.com right now.
 
  From the conversations I've had with Apress, the
 future of the 
 performance book is undecided, though that could
 change at any moment. 
 I for one think there is a need for such a book, but
 with Tomcat 5 
 coming out, it might need to be rewritten to address
 the new release.
 
 John
 
 Flat Juas wrote:
 
  Hi!
  
  
   I'm looking for the Apache Tomcat Performance
  Handbook, but in every shop I check it's out of
  print. There are no used copies in ebay neither.
 Where
  can I get a copy of this book (I don't mind if
 it's a
  used one) or buy a pdf version of it ? Can you
  recommend me other books about tomcat performance
 or
  guide me to online resources about this subject ?
  
  Thanks in advance
  
  __
  Do you Yahoo!?
  Yahoo! SiteBuilder - Free, easy-to-use web site
 design software
  http://sitebuilder.yahoo.com
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache Tomcat Performance Handbook

2003-09-04 Thread Shapira, Yoav

Howdy,
Just google for wrox out of business -- both the normal and sponsored
search results tell the tale...

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Matt Fury [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 9:44 AM
To: Tomcat Users List
Subject: Re: Apache Tomcat Performance Handbook

How could Wrox go out of business? That doesn't sound
right. They have 1001 titles and write great books!

Are you sure?


--- John Turner [EMAIL PROTECTED] wrote:

 The book was never published.  The original
 publisher (Wrox) went out of
 business and liquidated assets.

 The rights to the performance handbook (and many
 other former Wrox
 titles including the security handbook) were picked
 up by Apress.  The
 rights to the rest were picked up by Wiley.  I think
 Wiley is running
 wrox.com right now.

  From the conversations I've had with Apress, the
 future of the
 performance book is undecided, though that could
 change at any moment.
 I for one think there is a need for such a book, but
 with Tomcat 5
 coming out, it might need to be rewritten to address
 the new release.

 John

 Flat Juas wrote:

  Hi!
 
 
   I'm looking for the Apache Tomcat Performance
  Handbook, but in every shop I check it's out of
  print. There are no used copies in ebay neither.
 Where
  can I get a copy of this book (I don't mind if
 it's a
  used one) or buy a pdf version of it ? Can you
  recommend me other books about tomcat performance
 or
  guide me to online resources about this subject ?
 
  Thanks in advance
 
  __
  Do you Yahoo!?
  Yahoo! SiteBuilder - Free, easy-to-use web site
 design software
  http://sitebuilder.yahoo.com
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 




-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache Tomcat Performance Handbook

2003-09-04 Thread John Turner
Well, I guess we have to be more clear.  Wrox did not go out of 
business.  Peer Information Services did.  Wrox was just one of many 
names that Peer used to publish materials.

So, while there were lots of titles and lots of great Wrox books, that 
is separate from whether the company called Peer Information Services 
was managed efficiently and wisely.

I'm no MBA, but if I were to call it, I would say it was a simple matter 
of too big, too many, too fast.  They had offices in three countries 
(England, India, and US), lots of people, and lots of hurry up and 
wait.  The overhead of managing all those titles had to be huge, and I 
can tell you from firsthand experience that every book probably had 30 
or 40 people involved (counting the authors) in getting it to press. 
For example, my contract was FedEx'd back and forth to India twice.  Not 
a lot of money, but 3-6 authors per title and several hundred titles and 
it starts to add up.  Even something as niche-oriented as the security 
handbook I worked on had 18 people and 5 authors for about 225 pages.

Without going into specifics, I can also say that Peer's royalty 
schedule was pretty poor in comparison to other publishers, so in that 
light they should have had more money to work with than one of the other 
companies, but apparently that didn't make a difference.

John

Matt Fury wrote:

How could Wrox go out of business? That doesn't sound
right. They have 1001 titles and write great books!
Are you sure?

--- John Turner [EMAIL PROTECTED] wrote:

The book was never published.  The original
publisher (Wrox) went out of 
business and liquidated assets.

The rights to the performance handbook (and many
other former Wrox 
titles including the security handbook) were picked
up by Apress.  The 
rights to the rest were picked up by Wiley.  I think
Wiley is running 
wrox.com right now.

From the conversations I've had with Apress, the
future of the 
performance book is undecided, though that could
change at any moment. 
I for one think there is a need for such a book, but
with Tomcat 5 
coming out, it might need to be rewritten to address
the new release.

John

Flat Juas wrote:


Hi!

I'm looking for the Apache Tomcat Performance
Handbook, but in every shop I check it's out of
print. There are no used copies in ebay neither.
Where

can I get a copy of this book (I don't mind if
it's a

used one) or buy a pdf version of it ? Can you
recommend me other books about tomcat performance
or

guide me to online resources about this subject ?

Thanks in advance

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site
design software

http://sitebuilder.yahoo.com



-

To unsubscribe, e-mail:
[EMAIL PROTECTED]

For additional commands, e-mail:
[EMAIL PROTECTED]




-

To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache Tomcat Performance Handbook

2003-09-04 Thread John Turner
Also, while the Wrox side of the business seemed to be thriving, there 
were several other publishing arms that may not have been doing much 
more than soaking up profits with little return.  As I said, Wrox was 
just one of many publishing names used by Peer.

John

John Turner wrote:
Well, I guess we have to be more clear.  Wrox did not go out of 
business.  Peer Information Services did.  Wrox was just one of many 
names that Peer used to publish materials.

So, while there were lots of titles and lots of great Wrox books, that 
is separate from whether the company called Peer Information Services 
was managed efficiently and wisely.

I'm no MBA, but if I were to call it, I would say it was a simple matter 
of too big, too many, too fast.  They had offices in three countries 
(England, India, and US), lots of people, and lots of hurry up and 
wait.  The overhead of managing all those titles had to be huge, and I 
can tell you from firsthand experience that every book probably had 30 
or 40 people involved (counting the authors) in getting it to press. For 
example, my contract was FedEx'd back and forth to India twice.  Not a 
lot of money, but 3-6 authors per title and several hundred titles and 
it starts to add up.  Even something as niche-oriented as the security 
handbook I worked on had 18 people and 5 authors for about 225 pages.

Without going into specifics, I can also say that Peer's royalty 
schedule was pretty poor in comparison to other publishers, so in that 
light they should have had more money to work with than one of the other 
companies, but apparently that didn't make a difference.

John

Matt Fury wrote:

How could Wrox go out of business? That doesn't sound
right. They have 1001 titles and write great books!
Are you sure?

--- John Turner [EMAIL PROTECTED] wrote:

The book was never published.  The original
publisher (Wrox) went out of business and liquidated assets.
The rights to the performance handbook (and many
other former Wrox titles including the security handbook) were picked
up by Apress.  The rights to the rest were picked up by Wiley.  I think
Wiley is running wrox.com right now.
From the conversations I've had with Apress, the
future of the performance book is undecided, though that could
change at any moment. I for one think there is a need for such a 
book, but
with Tomcat 5 coming out, it might need to be rewritten to address
the new release.

John

Flat Juas wrote:


Hi!

I'm looking for the Apache Tomcat Performance
Handbook, but in every shop I check it's out of
print. There are no used copies in ebay neither.


Where

can I get a copy of this book (I don't mind if


it's a

used one) or buy a pdf version of it ? Can you
recommend me other books about tomcat performance


or

guide me to online resources about this subject ?

Thanks in advance

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site


design software

http://sitebuilder.yahoo.com



-

To unsubscribe, e-mail:


[EMAIL PROTECTED]

For additional commands, e-mail:


[EMAIL PROTECTED]




-

To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Apache Tomcat Performance Handbook

2003-09-04 Thread Duncan Strang
Jeez, the stuff you learn on this list...

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: 04 September 2003 15:02
To: Tomcat Users List
Subject: Re: Apache Tomcat Performance Handbook



Well, I guess we have to be more clear.  Wrox did not go out of 
business.  Peer Information Services did.  Wrox was just one of many 
names that Peer used to publish materials.

So, while there were lots of titles and lots of great Wrox books, that

is separate from whether the company called Peer Information Services 
was managed efficiently and wisely.

I'm no MBA, but if I were to call it, I would say it was a simple matter

of too big, too many, too fast.  They had offices in three countries 
(England, India, and US), lots of people, and lots of hurry up and 
wait.  The overhead of managing all those titles had to be huge, and I 
can tell you from firsthand experience that every book probably had 30 
or 40 people involved (counting the authors) in getting it to press. 
For example, my contract was FedEx'd back and forth to India twice.  Not

a lot of money, but 3-6 authors per title and several hundred titles and

it starts to add up.  Even something as niche-oriented as the security 
handbook I worked on had 18 people and 5 authors for about 225 pages.

Without going into specifics, I can also say that Peer's royalty 
schedule was pretty poor in comparison to other publishers, so in that 
light they should have had more money to work with than one of the other

companies, but apparently that didn't make a difference.

John

Matt Fury wrote:

 How could Wrox go out of business? That doesn't sound
 right. They have 1001 titles and write great books!
 
 Are you sure?
 
 
 --- John Turner [EMAIL PROTECTED] wrote:
 
The book was never published.  The original
publisher (Wrox) went out of
business and liquidated assets.

The rights to the performance handbook (and many
other former Wrox
titles including the security handbook) were picked
up by Apress.  The 
rights to the rest were picked up by Wiley.  I think
Wiley is running 
wrox.com right now.

 From the conversations I've had with Apress, the
future of the
performance book is undecided, though that could
change at any moment. 
I for one think there is a need for such a book, but
with Tomcat 5 
coming out, it might need to be rewritten to address
the new release.

John

Flat Juas wrote:


Hi!


 I'm looking for the Apache Tomcat Performance
Handbook, but in every shop I check it's out of
print. There are no used copies in ebay neither.

Where

can I get a copy of this book (I don't mind if

it's a

used one) or buy a pdf version of it ? Can you
recommend me other books about tomcat performance

or

guide me to online resources about this subject ?

Thanks in advance

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site

design software

http://sitebuilder.yahoo.com



 -
 
To unsubscribe, e-mail:

[EMAIL PROTECTED]

For additional commands, e-mail:

[EMAIL PROTECTED]




 -
 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]

 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com



This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache Tomcat Performance Handbook

2003-09-04 Thread Remy Maucherat
John Turner wrote:
The book was never published.  The original publisher (Wrox) went out of 
business and liquidated assets.

The rights to the performance handbook (and many other former Wrox 
titles including the security handbook) were picked up by Apress.  The 
rights to the rest were picked up by Wiley.  I think Wiley is running 
wrox.com right now.

From the conversations I've had with Apress, the future of the 
performance book is undecided, though that could change at any moment. I 
for one think there is a need for such a book, but with Tomcat 5 coming 
out, it might need to be rewritten to address the new release.
As the coauthor of the said handbook (which is now indeed relatively out 
of date), I am quite pissed at Wrox and APress (I still haven't been 
paid a dime despite recurrent claims from APress for the past 4 months 
that they'll be coming back to me within a week).

So a big thank you to these folks for the nice support to OSS 
contributors :-D (ok, I'm sarcastic)

--
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Apache Tomcat Performance Handbook

2003-09-04 Thread Peter Lin

If the book never gets out, I plan to write a 30-50
page paper based on the results of our benchmarks and
give it to the TC community. Hopefully it won't go
down the drain, since Remy and I spend over 2 months
doing a ton of benchmarks with all sorts of variations
and tuning options.

peter


--- Remy Maucherat [EMAIL PROTECTED] wrote:
 John Turner wrote:
  The book was never published.  The original
 publisher (Wrox) went out of 
  business and liquidated assets.
  
  The rights to the performance handbook (and many
 other former Wrox 
  titles including the security handbook) were
 picked up by Apress.  The 
  rights to the rest were picked up by Wiley.  I
 think Wiley is running 
  wrox.com right now.
  
  From the conversations I've had with Apress, the
 future of the 
  performance book is undecided, though that could
 change at any moment. I 
  for one think there is a need for such a book, but
 with Tomcat 5 coming 
  out, it might need to be rewritten to address the
 new release.
 
 As the coauthor of the said handbook (which is now
 indeed relatively out 
 of date), I am quite pissed at Wrox and APress (I
 still haven't been 
 paid a dime despite recurrent claims from APress for
 the past 4 months 
 that they'll be coming back to me within a week).
 
 So a big thank you to these folks for the nice
 support to OSS 
 contributors :-D (ok, I'm sarcastic)
 
 -- 
 x
 Rémy Maucherat
 Senior Developer  Consultant
 JBoss Group (Europe) SàRL
 x
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache Tomcat Performance Handbook

2003-09-03 Thread Flat Juas
Hi!


 I'm looking for the Apache Tomcat Performance
Handbook, but in every shop I check it's out of
print. There are no used copies in ebay neither. Where
can I get a copy of this book (I don't mind if it's a
used one) or buy a pdf version of it ? Can you
recommend me other books about tomcat performance or
guide me to online resources about this subject ?

Thanks in advance

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache Tomcat Performance Handbook

2003-09-03 Thread Christopher Williams
The book was never published and Wrox have gone bust, I believe.

- Original Message - 
From: Flat Juas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 10:49 PM
Subject: Apache Tomcat Performance Handbook


 Hi!
 
 
  I'm looking for the Apache Tomcat Performance
 Handbook, but in every shop I check it's out of
 print. There are no used copies in ebay neither. Where
 can I get a copy of this book (I don't mind if it's a
 used one) or buy a pdf version of it ? Can you
 recommend me other books about tomcat performance or
 guide me to online resources about this subject ?
 
 Thanks in advance
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat Performance Questions

2003-02-14 Thread Shapira, Yoav

Howdy,

Just wanted to find out what the list's experience is with Tomcat
versus
Apache ?  Why is one preferred over the other ?

Depends on your situation.  People with lots of static files frequently
put Apache in front to handle the static files and delegate servlet/JSP
requests to tomcat.  I personally prefer a standalone tomat.

Is Tomcat used in a production site or just for development ?

Used in many production sites.  Unfortunately due to the legal realities
in many companies of people on this list, you will not be able to get a
good list of companies using tomcat in production.

I've been arguing the case for Tomcat on an internal project esp. since
there are no static pages and the system is using JSP/Java.

Then tomcat is probably your choice.  If you write you app to the
servlet specification, you can easily compare tomcat with other
spec-compliant containers for performance and reliability.

Just don't have any hard qualitative data.

I don't think there IS such a thing as hard qualitative data.
Qualitative is kind of like subjective in that way, when applied to
server choice and performance data ;)

Yoav Shapira
Millennium ChemInformatics



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Tomcat Performance Questions

2003-02-14 Thread Laxmikanth M.S.
Hi Shapira,
Is there way to host multiple sites in Tomcat without using apache
thanks
Laxmikanth



 -Original Message-
 From: Shapira, Yoav [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, February 14, 2003 7:53 PM
 To:   Tomcat Users List
 Subject:  RE: Tomcat Performance Questions
 
 
 Howdy,
 
 Just wanted to find out what the list's experience is with Tomcat
 versus
 Apache ?  Why is one preferred over the other ?
 
 Depends on your situation.  People with lots of static files frequently
 put Apache in front to handle the static files and delegate servlet/JSP
 requests to tomcat.  I personally prefer a standalone tomat.
 
 Is Tomcat used in a production site or just for development ?
 
 Used in many production sites.  Unfortunately due to the legal realities
 in many companies of people on this list, you will not be able to get a
 good list of companies using tomcat in production.
 
 I've been arguing the case for Tomcat on an internal project esp. since
 there are no static pages and the system is using JSP/Java. 
 
 Then tomcat is probably your choice.  If you write you app to the
 servlet specification, you can easily compare tomcat with other
 spec-compliant containers for performance and reliability.
 
 Just don't have any hard qualitative data.
 
 I don't think there IS such a thing as hard qualitative data.
 Qualitative is kind of like subjective in that way, when applied to
 server choice and performance data ;)
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 
 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an)
 intended recipient, please immediately delete this e-mail from your
 computer system and notify the sender.  Thank you.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




  1   2   3   >