You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Graciano Carrillo <gr...@shylex.com> on 2006/12/19 11:46:19 UTC

[users@httpd] How to know the VirtualHost/Request procesed by an child process

Hello,

   I've an apache 2.2.3 running with several VirtualHosts, and sometimes
a child apache stalls and it gets the 100% of the CPU. Apache stop
doesn't stop it. I've to send SIGKILL, because the process was in a
zombie STATE. 

   I'd like to know if there is a way to obtain the request that
launched the child OR the VirtualHost that was processed in the child.
The reason of this is to try to debug the problem.

  Any clue?


Regards, Grachi


Re: [users@httpd] How to know the VirtualHost/Request procesed by an child process

Posted by Graciano Carrillo <gr...@shylex.com>.
I think that this can help. Thank you

Davide Bianchi escribió:
> Graciano Carrillo wrote:
>> I'd like to know if there is a way to obtain the request that
>> launched the child OR the VirtualHost that was processed in the child.
>> The reason of this is to try to debug the problem.
>
> You could check the log files or enable the server_status handler and
> check the server_status page. I think that some informations should be
> stored there.
>
> Davide
>


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


Re: [users@httpd] How to know the VirtualHost/Request procesed by an child process

Posted by Davide Bianchi <da...@onlyforfun.net>.
Graciano Carrillo wrote:
> I'd like to know if there is a way to obtain the request that
> launched the child OR the VirtualHost that was processed in the child.
> The reason of this is to try to debug the problem.

You could check the log files or enable the server_status handler and 
check the server_status page. I think that some informations should be 
stored there.

Davide

-- 
Windows: The answer to a question nobody has ever asked.

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


Re: [users@httpd] How to know the VirtualHost/Request procesed by an child process

Posted by Graciano Carrillo <gr...@shylex.com>.
I didn't realice on the 'fd' directory  in a process dir in '/proc'. The
whole info of filedescriptors could me help too.

Thanks.

Steve Swift escribió:
> On Linux system you could find wealth of information about the process
> in the /proc directory - the numeric sub-directories are the process IDs.
>
> On 19/12/06, * Graciano Carrillo* <grachi@shylex.com
> <ma...@shylex.com>> wrote:
>
>     Hello,
>
>        I've an apache 2.2.3 running with several VirtualHosts, and
>     sometimes
>     a child apache stalls and it gets the 100% of the CPU. Apache stop
>     doesn't stop it. I've to send SIGKILL, because the process was in a
>     zombie STATE.
>
>        I'd like to know if there is a way to obtain the request that
>     launched the child OR the VirtualHost that was processed in the child.
>     The reason of this is to try to debug the problem.
>
>       Any clue?
>
>
>     Regards, Grachi
>
>
>
>     ---------------------------------------------------------------------
>     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
>     <ma...@httpd.apache.org>
>        "   from the digest: users-digest-unsubscribe@httpd.apache.org
>     <ma...@httpd.apache.org>
>     For additional commands, e-mail: users-help@httpd.apache.org
>     <ma...@httpd.apache.org>
>
>
>
>
>
> -- 
> Steve Swift
> http://www.swiftys.org.uk 


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


Re: [users@httpd] How to know the VirtualHost/Request procesed by an child process

Posted by Steve Swift <st...@gmail.com>.
On Linux system you could find wealth of information about the process in
the /proc directory - the numeric sub-directories are the process IDs.

On 19/12/06, Graciano Carrillo <gr...@shylex.com> wrote:
>
> Hello,
>
>    I've an apache 2.2.3 running with several VirtualHosts, and sometimes
> a child apache stalls and it gets the 100% of the CPU. Apache stop
> doesn't stop it. I've to send SIGKILL, because the process was in a
> zombie STATE.
>
>    I'd like to know if there is a way to obtain the request that
> launched the child OR the VirtualHost that was processed in the child.
> The reason of this is to try to debug the problem.
>
>   Any clue?
>
>
> Regards, Grachi
>
>
>
> ---------------------------------------------------------------------
> 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
>
>
>


-- 
Steve Swift
http://www.swiftys.org.uk