httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Cerrito ...@gentestrana.net>
Subject Re: [users@httpd] httpd by root at 99,9%
Date Fri, 30 Apr 2004 12:53:19 GMT
On Fri, 2004-04-30 at 14:42, Joshua Slive wrote:
> On Fri, 30 Apr 2004, [ISO-8859-15] Aurélien DEHAY wrote:
> 
> > Andrea Cerrito wrote:
> > > No one?
> >
> > I've got nearly the same problem, but with an Apache 2.0, one or more
> > threads (but never the «root» thread) are taking 100% of the CPU (we
> > have quadri-proc machines), and we have the weblogic module for
> > accessing ours weblogics' servers.
> >
> > And we do not found were it comes from. Sorry, but I can't really help you.
> 
> The first step in solving problems like this is always to attach to the
> problem process with strace and a debugger and see what they are doing.

Yep.
In my case, strace is not returning anything useful. I'm not using
external modules (php is running as cgi).

strace output:

select(0, NULL, NULL, NULL, {0, 980000}) = 0 (Timeout)
wait4(-1, 0xbffff29c, WNOHANG|WUNTRACED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
wait4(-1, 0xbffff29c, WNOHANG|WUNTRACED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
wait4(-1, 0xbffff29c, WNOHANG|WUNTRACED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
wait4(-1, 0xbffff29c, WNOHANG|WUNTRACED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
wait4(-1, 0xbffff29c, WNOHANG|WUNTRACED, NULL) = 0

and so on. Please note that now it's at 99% and machine is processing
pages.

I asked information about the root process because I'd like to
investigate the problem: I mean, I'm not sure, excluding forking childs,
what httpd by root is doing for.
-- 
Enjoy your freedom

Andrea Cerrito
http://www.gentestrana.net/
Linux User #103564

=== (17:57:49) Nietzsche: "niente è quello che sembra"


---------------------------------------------------------------------
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


Mime
View raw message