Sander Marechal <s.marec...@jejik.com> writes: > Simon Josefsson wrote: >> Sander Marechal <s.marec...@jejik.com> writes: >> >>> How can I debug this? Here's a typical configuration for one of my domains: >> >> What does 'strace -p PID' for the PIDs of the apache daemon indicate? > > Nothing, but I'm probably not doing it right. When I run the strace on > the process of the request I am making then it is showing nothing, but > at that point the process is already running and using 100% CPU. > > I think that to get strace output I need to run it as soon as it starts. > But how do I do that? I don't know the pid in advance and I can only run > strace when I know the pid and the process is already running. > > Is there any way to do this automatically when the next Apache process > starts or something?
If strace doesn't show anything, it means it isn't doing any syscalls, which can happen if it is stuck in a busy loop. Next step would be to run 'gdb /usr/sbin/apache2 PID' or similar and then run 'bt'. Installing apache2-dbg may help, if you are on debian. /Simon _______________________________________________ Modules mailing list Modules@lists.outoforder.cc http://lists.outoforder.cc/mailman/listinfo/modules