httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Contrepois <fr...@coblan.eu>
Subject Re: [users@httpd] 100% CPU utilization by Apache
Date Wed, 16 Jun 2010 21:08:26 GMT
more than php a php library. Quite often it's a database one that creates
those loop. Maybe while waiting for a big query to end (should sleep but
libs are not always done the right way :) )

2010/6/16 Tapas Mishra <mightydreams@gmail.com>

> On Wed, Jun 16, 2010 at 7:08 PM, Mark Watts <m.watts@eris.qinetiq.com>
> wrote:
> >
> > High CPU usage is generally caused by things like PHP which Apache has
> > no control over.
> >
> >        strace -p <pid>
> >
> > If you run this against the PID stuck at 100%, it should give you some
> > insight into what apache is doing. If you are lucky, you can match the
> > PID with a client IP (netstat -p) which will allow you to look in your
> > logs to see what that client is doing.
>
> Thanks for the information.This is not occurring at regular
> intervals.I noticed it today only.
> And when this happens I can not do an SSH to the server about whom I
> am reporting the problem.
>
>
> --
> Tapas
> http://mightydreams.blogspot.com
> http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Frank Contrepois
Coblan srl

Mime
View raw message