httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] Strategies for debugging a segmentation fault on a production ser ver
Date Tue, 21 Jun 2005 15:21:42 GMT
On 6/21/05, Michael Caplan <michael.caplan@lechateau.ca> wrote:

> I am looking for some advice on how to go about debugging Apache 1.3.33 /
> PHP 5.0.4 on a production Linux box (RHE 3).  The scenario is this:  Once a
> day we find a segfault in our apache logs.  From our current position, we
> don't know what page was accessed, and our 400+ users haven't brought the
> issue to our attention.  All we know is the date/time and PID of when the
> segfault occurred.  The question is this:  how can we go about isolating the
> offending requested page that bombs? 

What you could do is  set up a proxy in front of you server. Let the
proxy log all requests. The request that causes the server to bomb
will probably be listed with an error  message in the proxy's log,
otherwise you always have the timestamps.

Krist

-- 
krist.vanbesien@gmail.com
Solothurn, Switzerland

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