【疑难问题】:apache服务启动子进程时不断产生core文件。

qinxiaofei 2009-10-15 10:46:20
omu@omu1:/opt/HUAWEI/cgp/workshop/omu/upgtools/apache2/modules> ps -ef|grep http
omu 3010 1 0 09:28 ? 00:00:00 /usr/local/apache2/bin/httpd -k start -DSSL -f conf/sso.conf
omu 3028 3010 0 09:28 ? 00:00:01 /usr/local/apache2/bin/httpd -k start -DSSL -f conf/sso.conf
omu 8748 1 0 09:29 ? 00:00:00 /usr/local/apache2/bin/httpd -k start -f conf/webagt.conf
omu 8752 8748 0 09:29 ? 00:00:00 /usr/local/apache2/bin/httpd -k start -f conf/webagt.conf
omu 9131 1 0 09:29 ? 00:00:00 /usr/local/apache2/bin/httpd -k start -DSSL -f conf/soap.conf
omu 9170 9131 0 09:29 ? 00:00:01 /usr/local/apache2/bin/httpd -k start -DSSL -f conf/soap.conf
omu 10601 1 0 08:58 ? 00:00:00 /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2/bin/httpd -k start -DSSL -f /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2/conf/upgwebagt.conf
omu 20337 8829 0 10:00 pts/0 00:00:00 grep http

进程10601会产生一个子进程。但是目前发现其创建子进程时会不断产生core文件,进程创建失败。
查看进程所需要的库文件没有修改的记录。

请各位大侠帮忙看一下,多谢。core文件产生的堆栈信息如下:

Loaded symbols for /opt/HUAWEI/cgp/workshop/omu/upgtools/lib/libcommon_configimpl.so
Reading symbols from /opt/HUAWEI/cgp/workshop/omu/upgtools/lib/libcommon_skel.so...done.
Loaded symbols for /opt/HUAWEI/cgp/workshop/omu/upgtools/lib/libcommon_skel.so
Core was generated by `/opt/HUAWEI/cgp/workshop/omu/upgtools/apache2/bin/httpd -k start -DSSL -f /opt/'.
Program terminated with signal 11, Segmentation fault.
[New process 15642]
#0 0xb7f1c25c in do_lookup_x () from /lib/ld-linux.so.2
(gdb) bt
#0 0xb7f1c25c in do_lookup_x () from /lib/ld-linux.so.2
#1 0xb7f1c597 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#2 0xb7f2025d in _dl_fixup () from /lib/ld-linux.so.2
#3 0xb7f25660 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#4 0x080c5bcf in sig_coredump (sig=11) at mpm_common.c:1028
#5 <signal handler called>
#6 0xb7f1c25c in do_lookup_x () from /lib/ld-linux.so.2
#7 0xb7f1c597 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#8 0xb7f2025d in _dl_fixup () from /lib/ld-linux.so.2
#9 0xb7f25660 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#10 0x080b728b in make_child (s=0x81b4088, slot=0) at worker.c:1282
#11 0x080b7f23 in ap_mpm_run (_pconf=0x81af0a8, plog=0x81e7188, s=0x81b4088) at worker.c:1460
#12 0x080bede6 in main (argc=135975200, argv=0x824a5a0) at main.c:618
(gdb)
...全文
362 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
lk_cool 2009-10-21
  • 打赏
  • 举报
回复
这说明你的应用程序有问题。引起异常,导致apache出错了。
qinxiaofei 2009-10-21
  • 打赏
  • 举报
回复
在日志中总是打印 如下 信息 :
[Tue Oct 13 18:32:20 2009] [notice] child pid 2731 exit signal Segmentation fault (11), possible coredump in /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2
[Tue Oct 13 18:32:22 2009] [notice] child pid 3251 exit signal Segmentation fault (11), possible coredump in /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2
[Tue Oct 13 18:32:24 2009] [notice] child pid 3466 exit signal Segmentation fault (11), possible coredump in /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2
[Tue Oct 13 18:32:26 2009] [notice] child pid 3600 exit signal Segmentation fault (11), possible coredump in /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2
[Tue Oct 13 18:32:28 2009] [notice] child pid 3665 exit signal Segmentation fault (11), possible coredump in /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2
[Tue Oct 13 18:32:30 2009] [notice] child pid 3853 exit signal Segmentation fault (11), possible coredump in /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2
[Tue Oct 13 18:32:32 2009] [notice] child pid 4083 exit signal Segmentation fault (11), possible coredump in /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2
[Tue Oct 13 18:32:34 2009] [notice] child pid 4194 exit signal Segmentation fault (11), possible coredump in /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2
[Tue Oct 13 18:32:36 2009] [notice] child pid 4473 exit signal Segmentation fault (11), possible coredump in /opt/HUAWEI/cgp/workshop/omu/upgtools/apache2
lk_cool 2009-10-16
  • 打赏
  • 举报
回复
能给段出错时的日志吗?

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧