gpt4 book ai didi

php - (notice) child pid XXXX exit signal Segmentation fault (11), possible coredump in/etc/apache2

转载 作者:可可西里 更新时间:2023-10-31 22:47:27 24 4
gpt4 key购买 nike

我的 Apache 日志中不断出现以下错误:

[Wed Sep 18 17:59:20 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured -- resuming normal operations
[Wed Sep 18 18:06:30 2013] [notice] child pid 7505 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Sep 18 18:06:35 2013] [notice] child pid 7497 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Sep 18 18:13:53 2013] [notice] child pid 7501 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Sep 18 18:13:53 2013] [notice] child pid 7506 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Wed Sep 18 18:14:14 2013] [notice] child pid 8708 exit signal Segmentation fault (11), possible coredump in /etc/apache2

我试图通过执行以下操作来回溯它:

user:~$ sudo gdb
user 8670 8571 0 18:12 pts/3 00:00:00 grep --color=auto httpd
user:~$ sudo gdb

(gdb) attach 8571
Attaching to process 8571
Reading symbols from /bin/bash...(no debugging symbols found)...done.
Reading symbols from /lib/x86_64-linux-gnu/libtinfo.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libtinfo.so.5
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_compat.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2
Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2
0x00007f553000244e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6

(gdb) backtrace
#0 0x00007f553000244e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x0000000000441419 in ?? ()
#2 0x000000000044255c in wait_for ()
#3 0x0000000000432c88 in execute_command_internal ()
#4 0x00000000004352fe in execute_command ()
#5 0x000000000041e31d in reader_loop ()
#6 0x000000000041ca87 in main ()

(gdb) backtrace full
#0 0x00007f553000244e in waitpid () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x0000000000441419 in ?? ()
No symbol table info available.
#2 0x000000000044255c in wait_for ()
No symbol table info available.
#3 0x0000000000432c88 in execute_command_internal ()
No symbol table info available.
#4 0x00000000004352fe in execute_command ()
No symbol table info available.
#5 0x000000000041e31d in reader_loop ()
No symbol table info available.
#6 0x000000000041ca87 in main ()
No symbol table info available.`

我无法理解这个问题。

我还在 apache 上运行 gdb,如下所示:

user:~$ sudo gdb apache2
Reading symbols from /usr/sbin/apache2...(no debugging symbols found)...done.

(gdb) run
Starting program: /usr/sbin/apache2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
apache2: bad user name ${APACHE_RUN_USER}
[Inferior 1 (process 6925) exited with code 01]

我不知道它是否与这个问题有关,但是当我安装 gdb 后,当我登录时会显示以下消息:

=> There were exceptions while processing one or more plugins. See
/var/log/landscape/sysinfo.log for more information.

sysinfo.log 包含以下内容:

for process_info in info.get_all_process_info():
File "/usr/lib/python2.7/dist-packages/landscape/lib/process.py", line 49, in get_all_process_info
process_info = self.get_process_info(process_id)
File "/usr/lib/python2.7/dist-packages/landscape/lib/process.py", line 85, in get_process_info
process_info["state"] = STATES[state]
KeyError: 't (tracing stop)'
2013-09-18 18:43:35,633 ERROR Processes plugin raised an exception.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/sysinfo.py", line 99, in run
result = plugin.run()
File "/usr/lib/python2.7/dist-packages/landscape/sysinfo/processes.py", line 18, in run
for process_info in info.get_all_process_info():
File "/usr/lib/python2.7/dist-packages/landscape/lib/process.py", line 49, in get_all_process_info
process_info = self.get_process_info(process_id)
File "/usr/lib/python2.7/dist-packages/landscape/lib/process.py", line 85, in get_process_info
process_info["state"] = STATES[state]
KeyError: 't (tracing stop)'

一些背景。

我在我的 VPS 上运行一个 WordPress 网站。 VPS 是一个基于 Ubuntu 的 LAMP 服务器,安装了 PERL 和 CURL。我使用 APC 进行缓存,但在安装 APC 之前发生了段错误。最后,我通过 Google PageSpeed 服务运行我的服务器,因此我安装了适用于 Apache 2.2 的 mod_remoteip 模块,并有一个 X-Forwarded-For header 。

ulimit 核心是无限的。我的 phpinfo() 文件可以在这里找到:http://tecne.ws/11v

请协助。将不胜感激!

最佳答案

我遇到了这个问题,并在 apache 配置中将 LogLevel warn 更改为 LogLevel debug。重新启动时,它似乎在 mod_deflate 之后发生了段错误。

在 debian/ubuntu 中关闭 mod_deflate 应该只是 sudo a2dismod deflate

关于php - (notice) child pid XXXX exit signal Segmentation fault (11), possible coredump in/etc/apache2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18877719/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com