Hi,
I have this strange errors running out in my server CentOS 5.5 + Apache 2.2.3 + PHP 5.1.6
This server is hosting 1 website and a few subdomains.
From /var/log/messages I got this:
Code:
Nov 26 15:40:17 hs-906 kernel: httpd[16681]: segfault at 00007fff46167ff8 rip 00002b5bd714a653 rsp 00007fff46168000 error 6 Nov 26 15:40:19 hs-906 kernel: httpd[17146]: segfault at 00007fff46167ff8 rip 00002b5bd714a653 rsp 00007fff46168000 error 6 Nov 26 15:40:20 hs-906 kernel: httpd[16456]: segfault at 00007fff46167a88 rip 00002b5bcbd77704 rsp 00007fff46167a50 error 6 Nov 26 15:40:22 hs-906 kernel: httpd[18570]: segfault at 00007fff46167a88 rip 00002b5bcbd77704 rsp 00007fff46167a50 error 6 Nov 26 15:40:24 hs-906 kernel: httpd[18377]: segfault at 00007fff46167a88 rip 00002b5bcbd77704 rsp 00007fff46167a50 error 6
From /var/log/httpd/error_log
Code:
[root@myserver..com:~]tail -f /var/log/httpd/error_log [Fri Nov 26 15:22:41 2010] [notice] child pid 16253 exit signal Segmentation fault (11) [Fri Nov 26 15:25:19 2010] [notice] child pid 15767 exit signal Segmentation fault (11) [Fri Nov 26 15:25:24 2010] [notice] child pid 16517 exit signal Segmentation fault (11) [Fri Nov 26 15:40:13 2010] [notice] child pid 18172 exit signal Segmentation fault (11) [Fri Nov 26 15:40:18 2010] [notice] child pid 16681 exit signal Segmentation fault (11) [Fri Nov 26 15:40:20 2010] [notice] child pid 17146 exit signal Segmentation fault (11) [Fri Nov 26 15:40:21 2010] [notice] child pid 16456 exit signal Segmentation fault (11) [Fri Nov 26 15:40:23 2010] [notice] child pid 18570 exit signal Segmentation fault (11) [Fri Nov 26 15:40:25 2010] [notice] child pid 18377 exit signal Segmentation fault (11) [Fri Nov 26 15:42:38 2010] [notice] child pid 18720 exit signal Segmentation fault (11)
Any ideas about what this could be? PHP modules?
Thanks a lot!
drspliff replied: Go enable core dumping and show us some backtraces first, anything else is pure speculation.
sh4ka replied: As previous config wasn’t working, also followed this steps but i don’t see any core files generated:
http://blog.blacknode.net/2009/07/en…-apache-rhel5/
Code:
echo "ulimit -c unlimited >/dev/null 2>&1" >> /etc/profile echo "DAEMON_COREFILE_LIMIT='unlimited'" >> /etc/sysconfig/init echo 1 > /proc/sys/fs/suid_dumpable echo "core.%p" > /proc/sys/kernel/core_pattern echo "CoreDumpDirectory /var/apache-core-dumps" > \ /etc/httpd/conf.d/core_dumps.conf mkdir /var/apache-core-dumps chown apache: /var/apache-core-dumps source /etc/profile /etc/init.d/httpd restart
Any ideas?
Thanks.
drspliff replied: The ‘core file size’ ulimit is probably still at 0, try setting it in your shell or in the apachectl script?
For more information click
here.
- Tags: 6 nov, Apache, Centos, child, child pid, code, com, conf, CoreDumpDirectory, exit signal, fff, fri, grep, hs, kernel, log messages, php 5, root, RSP, segfault, segmentation fault, signal, speculation, strange errors, Subdomains, var