Saturday, August 29, 2009
Fix the error message child pid XXX exit signal Segmentation fault (11) of Aapache in FreeBSD/openSUSE
Recently, I always receive an error message from the httpd-error.log file of my own apache server, this problem has crashed httpd service for three weeks and i don't know how to fix it no matter how i hard to search information in google or yahoo search engine, during this period I was persecuted with this problem.
However, i found the solution to fix this problem and finally this error message will not appear again.
When you check the httpd-error.log file, if you also see the following message in the bottom, please follow my steps below to fix it.
- 1. Modify the following file that relate to tuning high performance.
FreeBSD:
# vi /usr/local/etc/apache22/extra/httpd-mpm.conf
openSUSE:
# vi /etc/apache2/server-tuning.conf
- 2. Change the contains for the same values as below.
MaxSpareThreads 512
MaxClients 512
- 3. Restart apache service then the error message disappear...
FreeBSD:
# /usr/local/etc/rc.d/apache22 restart
openSUSE:
# service httpd restart
[Sat Aug 29 00:13:37 2009] [notice] Apache/2.2.9 (FreeBSD) DAV/2 PHP/5.2.6 with Suhosin-Patch configured -- resuming normal operations
[Sat Aug 29 00:13:39 2009] [notice] child pid 65754 exit signal Segmentation fault (11)
[Sat Aug 29 00:13:40 2009] [notice] child pid 65755 exit signal Segmentation fault (11)
[Sat Aug 29 00:13:42 2009] [notice] child pid 65757 exit signal Segmentation fault (11)
[Sat Aug 29 00:13:43 2009] [notice] child pid 65756 exit signal Segmentation fault (11)
[Sat Aug 29 00:23:32 2009] [notice] child pid 65758 exit signal Segmentation fault (11)
[Sat Aug 29 00:29:56 2009] [warn] child process 65788 still did not exit, sending a SIGTERM
[Sat Aug 29 00:29:58 2009] [warn] child process 65788 still did not exit, sending a SIGTERM
[Sat Aug 29 00:30:00 2009] [warn] child process 65788 still did not exit, sending a SIGTERM
[Sat Aug 29 00:30:02 2009] [error] child process 65788 still did not exit, sending a SIGKILL
[Sat Aug 29 00:30:03 2009] [notice] caught SIGTERM, shutting down
[Sat Aug 29 00:30:03 2009] [notice] seg fault or similar nasty error detected in the parent process


0 comments: to “ Fix the error message child pid XXX exit signal Segmentation fault (11) of Aapache in FreeBSD/openSUSE ”
Post a Comment