all I've been trying to get apache to run in signal process / debug mode,in order to use callgrind with it, and have a simple single process to work with for debugging.
Does anyone have experience with running apache in single process mode?
I've tried running httpd -X
. This can start apache with a single process, (good) but have not found a clean way of shutting them down again, when running like this. Only way that works is a kill -9
. which blows away any debugging output as well, so does not get me any further ahead, when using callgrind. The complete command I am running, for those interested is:
valgrind --tool=callgrind /path/to/apache2/httpd -X
Any ideas appreciated.
Thanks