httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Sowden <>
Subject Re: Surviving restarts
Date Wed, 06 Jun 2007 18:57:56 GMT
David Wortham wrote:
> Cesar,
>   I have used gdb with Apache frequently, but I don't remember ever
> being
> able to restart Apache within gdb so trust the other guys for that
> advice.
> Here is the official Apache debugging page:
> It should walk you through the basics of using gdb as a wrapper for
> httpd,
> instructing httpd to coredump, and some other tricks.
> For what it's worth, I don't remember being able to get a successful,
> readable backtrace from a coredump, but maybe I'm just using the wrong
> apps
> or app versions?

One of the most important things is to make sure you've compiled Apache
with no optimization ("-O0", or no "-O" at all) and with debugging in-
formation ("-g"), otherwise the back-trace can be less than informative.


View raw message