httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: httpd performance vs. debuggability
Date Sat, 14 Jun 2008 03:32:27 GMT
Richard Hubbell wrote:
> Hello all,
> Are there any tricks for improving the debuggability of httpd without the detriment to
performance?  -g just about cuts capacity in half.

-g should do no such thing.  -g -O0 would, obviously, but some people are
patient enough to struggle through an optimized crash.

If you seriously see such a problem, create the binaries optimized but
with -g, then strip them before you deploy them.

But DON'T throw away the originals - you can use them to then work through
any dump you create through gdb.  The fact that the running binaries were
stripped doesn't matter.

View raw message