httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <>
Subject Re: [users@httpd] long process
Date Thu, 17 Feb 2011 09:20:26 GMT

----- Original Message -----
> Hy,
> I've this long process.
> wwwrun   29503 99.3  0.6 311160 27808 ?        R    Feb15 1151:58
> /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL

What does long process mean?
Is the command line too long? Or do you mean that the process has been running
for too long now? 2 days isn't particularly long if this were the *parent*
process. If it isn't well.. that's a different case.

> It use high cpu from many hours.
> How I can see which it a causes/script which running?

What does strace say?
What does mod_status say?

What is the server doing in general which would give us a hint of
what *could* be going on? -- Does it proxy? Run CGI? mod_php?
Does it serve and receive Dav on an SSL line, handling gzip
inflate  and deflate? etc....

Please realize that Apache httpd is a multipurpose server. So
a `ps` line doesn't tell us *anything* about what it's doing.

> which netstat I see which this process it's in CLOSE_WAIT
> tcp        0      0 ::1:51504               ::1:143
>                 CLOSE_WAIT  29503/httpd2-prefor

This on the other hand is more interesting.
Has this been there for as long as the process?

Also note that the connection IP is ::1 -- could this
just be the internal dummy connection? Or is this you?

Again: What does mod_status say?

> Thank you for help me, Marco


Igor Galić

Tel: +43 (0) 664 886 22 883

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message