[Web Server] APACHE Log childpidXXXXXXexitsignalSegmentationfault (11) Solution

Source: Internet
Author: User
Tags apache error log apache log

The newly opened vps is centos6. Configure the web server as usual, as shown below:

httpd/2.2.15php/5.3.3 with eAccelerator with Zend Guard Loader v3.3
After modifying the apache configuration file, it is customary to check the configuration file first.
/etc/init.d/httpd configtest
Everything works, and then reload the configuration file.
/etc/init.d/httpd reload
Everything was supposed to be correct. I couldn't open the website for testing. I checked the apache running status and went down.
/etc/init.d/httpd status

It seems that there is a problem. Baidu and google have no effect after a while. manually enable apache. After testing, only reload will be suspended and will be put on hold for the moment. Let's put the website online first. After several days of running, there is no indication of sudden disconnection. in error_log, there are a large number of errors with the notice level:

[Wed Apr 09 00:10:17 2014] [notice] child pid 14786 exit signal Segmentation fault (11)
Today, the new vps is updated. After the same configuration, the above phenomena are reproduced, and then try to find out the cause.

First, adjust the apache error log to the debug level. After trying the reload command, the error persists, but no exception is recorded in the log.

Then I remembered to view the system log:

tail -f /var/log/messages
Two php-related errors are displayed:
Apr  9 15:57:15 localhost kernel: php[4924]: segfault at 65fd47 ip 0065fd47 sp bfa63660 error 14 in libkrb5.so.3.3[765000+d6000]Apr  9 16:00:20 localhost kernel: php[4934]: segfault at d8ed47 ip 00d8ed47 sp bfbaa830 error 14 in libpthread-2.12.so[f22000+17000]
Then I first thought about zendGuardLoader. in php. ini, I commented out the previously added zend configuration, restarted apache, and tested it again. Everything went fine.

From this point of view, it may be caused by some problems of php installed by rpm, coupled with zendguardLoader, which causes apache to be affected.

I don't know much about this one, so I can only say so. If you know this one, you can give me some advice.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.