现在的位置: 首页 > 综合 > 正文

make a apache core file

2013年10月12日 ⁄ 综合 ⁄ 共 288字 ⁄ 字号 评论关闭

ulimit -c unlimited

ulimit -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 of top n.

thr x

bt

抱歉!评论已关闭.