Pier Fumagalli wrote:
>From time to time, 3 times over 10k requests today for manual/index.html,
>2.0.38-dev as of this morning segfaults when it is compiled at 64bits under
>Solaris-8, with lightweight processes used instead of threads, and
>concurrency greater than 1000...
>
>But it didn't dump the core, so, can't do much with it (still need to find
>out all those nice CC flags for Sun's compilers)...
>
If you want to catch it just before it crashes, truss -M should work:
truss -f -Mall -t\!all -p {pids of the worker parent and children}
This will pause any httpd process that's just experienced a memory fault,
so you can attach a debugger to the process while it's still alive.
--Brian