make a apache core file
ulimit -c unlimitedulimit -c
output: unlimited
vi the httpd.conf,
add "CoreDumpDirectory current _user_home",defaultly the corefile will dump to "/",this directory owner is root.
restart the httpd.
access the url which leads process exit.
gdb httpd_path --core=corefile
info threads
search the kill() or threads oftop n.
thr x
bt
页:
[1]