Re: Tomcat Hogging CPU

2007-06-04 Thread Omar Eljumaily

John,
   I'm using 5.5.17.  I'm actually not using it right now for the 
15,000 visits per day site, though.  I just develop these things and 
usually kick my clients off my server when their bandwidth gets too high. 

   I remember lots of problems with 5.0 including race conditions like 
you've mentioned.


   I'm in the process of moving to 6.0, but am very cautious because 
5.5 is so reliable.



Omar

[EMAIL PROTECTED] wrote:

Omar:

What version of Tomcat do you use?

-- Original message -- 
From: Omar Eljumaily [EMAIL PROTECTED] 

  
What's your definition of a connection? Is it a session? I've had an 
average of about 300 active sessions which amounted to about 15,000 
unique visits per day. This was on a machine with substantially less 
power than yours. 


We average 150 active connections per web server. What do others average? 



  
- 
To start a new topic, e-mail: users@tomcat.apache.org 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Hogging CPU

2007-06-01 Thread john . calderbank
Tomcat 5.0
Java 1.5

Thank you.
-- Original message -- 
From: Leon Rosenberg [EMAIL PROTECTED] 

 tomcat and java versions would help a lot :-) 
 Leon 
 
 On 5/31/07, [EMAIL PROTECTED] wrote: 
  We have been experiencing a problem where Tomcat causes CPU usage to go to 
 100%. This slows down our web servers. Has anyone else ever experienced such 
 a 
 problem? 
  
  We average 150 active connections per web server. What do others average? 
  
  How do others configure initial memory pool, maximum memory pool and thread 
 stack size (relative to RAM)? 
  
  We have 2.0 GB of RAM and 2 2.60 GHz CPUs on Windows 2003. 
  
  Thank you very much. 
 
 - 
 To start a new topic, e-mail: users@tomcat.apache.org 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
 

Re: Tomcat Hogging CPU

2007-06-01 Thread Leon Rosenberg

which tomcat version exactly?
tomcat 5.0.19 - 5.0.30 had a weird bug with session synchronization,
if you have one of those versions try kill -QUIT tomcat (not sure how
to perform the same under windows, maybe with jmap).
and check the threaddump. One of your thread is consuming CPU, maybe
in an infinite (or very long) loop, find out which one this is.

Btw, does the 100% cpu goes down or do you have to restart the tomcat?

regards
Leon


On 6/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Tomcat 5.0
Java 1.5

Thank you.
-- Original message --
From: Leon Rosenberg [EMAIL PROTECTED]

 tomcat and java versions would help a lot :-)
 Leon

 On 5/31/07, [EMAIL PROTECTED] wrote:
  We have been experiencing a problem where Tomcat causes CPU usage to go to
 100%. This slows down our web servers. Has anyone else ever experienced such a
 problem?
 
  We average 150 active connections per web server. What do others average?
 
  How do others configure initial memory pool, maximum memory pool and thread
 stack size (relative to RAM)?
 
  We have 2.0 GB of RAM and 2 2.60 GHz CPUs on Windows 2003.
 
  Thank you very much.

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Hogging CPU

2007-06-01 Thread john . calderbank
Omar:

What version of Tomcat do you use?

-- Original message -- 
From: Omar Eljumaily [EMAIL PROTECTED] 

 What's your definition of a connection? Is it a session? I've had an 
 average of about 300 active sessions which amounted to about 15,000 
 unique visits per day. This was on a machine with substantially less 
 power than yours. 
 
  We average 150 active connections per web server. What do others average? 
  
  
 
 
 - 
 To start a new topic, e-mail: users@tomcat.apache.org 
 To unsubscribe, e-mail: [EMAIL PROTECTED] 
 For additional commands, e-mail: [EMAIL PROTECTED] 
 

Tomcat Hogging CPU

2007-05-31 Thread john . calderbank
We have been experiencing a problem where Tomcat causes CPU usage to go to 
100%.  This slows down our web servers.  Has anyone else ever experienced such 
a problem?  

We average 150 active connections per web server.  What do others average?

How do others configure initial memory pool, maximum memory pool and thread 
stack size (relative to RAM)?

We have 2.0 GB of RAM and 2 2.60 GHz CPUs on Windows 2003.

Thank you very much.

RE: Tomcat Hogging CPU

2007-05-31 Thread Caldarale, Charles R
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] 
 Subject: Tomcat Hogging CPU
 
 We have been experiencing a problem where Tomcat causes CPU 
 usage to go to 100%.

Odds are it's one of your webapps, not Tomcat.  Try running a CPU
profiler to see where time is being spent.  You could also take thread
dumps to find out where each thread is at a given point.

 - Chuc


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Hogging CPU

2007-05-31 Thread Omar Eljumaily
What's your definition of a connection?  Is it a session?  I've had an 
average of about 300 active sessions which amounted to about 15,000 
unique visits per day.  This was on a machine with substantially less 
power than yours. 


We average 150 active connections per web server.  What do others average?

  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat Hogging CPU

2007-05-31 Thread Leon Rosenberg

tomcat and java versions would help a lot  :-)
Leon

On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

We have been experiencing a problem where Tomcat causes CPU usage to go to 
100%.  This slows down our web servers.  Has anyone else ever experienced such 
a problem?

We average 150 active connections per web server.  What do others average?

How do others configure initial memory pool, maximum memory pool and thread 
stack size (relative to RAM)?

We have 2.0 GB of RAM and 2 2.60 GHz CPUs on Windows 2003.

Thank you very much.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]