I found a trick that might help: up your sar reports to take a snapshot
every minute. Then, when you notice the CPU pegging, go through the sar
reports for CPU usage and try to find the minute that they start. Then,
you can go back through the Apache access logs (mod_jk.log perhaps),
etc. to see if you can correlate a specific request with the the
problem.

Good Luck,

Ben Ricker
Wellinx.com


On Thu, 2003-01-02 at 13:07, Randy Paries wrote:
> I am running 
> 
> jakarta-tomcat-4.0.4  jdk1.3.1_04 apache-1.3.27-2 
> 
> I have enabled server stats (thanks Jan)
> 
> I stop and started and it is back to normal. So when this does this
> again, I will see if the server status helps
> 
> Thanks for all the suggestions
> 
> Randy
> 
> -----Original Message-----
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, January 02, 2003 1:19 PM
> To: Tomcat Users List
> Subject: RE: is this normal??
> 
> 
> Are you using tomcat 3.x by any chance?  We had a CPU problem with 3.2.4
> that we could never resolve.  The problem went away with our recent
> upgrade to 4.1.x
> 
> 
> 
> -----Original Message-----
> From: Randy Paries [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 02, 2003 11:37 AM
> To: 'Tomcat Users List'
> Subject: RE: is this normal??
> 
> 
> I have a pretty busy web server
> It has apache and tomcat
> What I am trying to find out if I have a problem or not
> I am linux guy but not at the tuning level
> When I do a top I get: These top 4 are always at the top
> 29616 apache    25   0 87368  78M 14256 R    46.8  7.8 388:13 java
>  2290 apache    25   0 87368  78M 14256 R    45.0  7.8 386:14 java
>   460 apache    24   0  6612 5112  4696 R    44.2  0.4 357:51 httpd
>  2180 apache    25   0  6656 5176  4696 R    39.9  0.5 359:28 httpd
> 
> What makes me suspicious is that it is only after some time.
> 
> When I do a sar, I have no idle time on the CPU
> 
> I realize that this may be a linux or apache question, but I think it
> has to do with tomcat as well
> 
> Thanks for any help
> 
> Randy
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
Ben Ricker <[EMAIL PROTECTED]>
Wellinx.com


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

Reply via email to