`
java-mans
  • 浏览: 11430429 次
文章分类
社区版块
存档分类
最新评论

make a apache core file

 
阅读更多

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 oftop n.

thr x

bt







分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics