very wierd problem: httpd/php caused kernel segfualt.

kangzj

Verified User
Joined
Nov 27, 2010
Messages
7
/var/log/messages are many segfault errors as follows,
-----------------
Apr 26 13:42:32 host kernel: httpd[25056]: segfault at 00007fff4d5db928 rip 00002ba1807da57a rsp 00007fff4d5db910 error 6
Apr 26 13:42:33 host kernel: httpd[29267]: segfault at 00007fff4d5db878 rip 00002ba1807da57a rsp 00007fff4d5db860 error 6
Apr 26 13:42:34 host kernel: httpd[29642]: segfault at 00007fff4d5db3a8 rip 00002ba1807da57a rsp 00007fff4d5db390 error 6
Apr 26 13:42:35 host kernel: httpd[30302]: segfault at 00007fff4d5db248 rip 00002ba1807da57a rsp 00007fff4d5db230 error 6
Apr 26 13:42:37 host kernel: httpd[26788]: segfault at 00007fff4d5db5b8 rip 00002ba1807da57a rsp 00007fff4d5db5a0 error 6
Apr 26 13:42:38 host kernel: httpd[26789]: segfault at 00007fff4d5dbb38 rip 00002ba1807da57a rsp 00007fff4d5dbb20 error 6
Apr 26 13:42:44 host kernel: httpd[31417]: segfault at 00007fff4d5dbb38 rip 00002ba1807da57a rsp 00007fff4d5dbb20 error 6
Apr 26 13:42:46 host kernel: httpd[31430]: segfault at 00007fff4d5db5b8 rip 00002ba1807da57a rsp 00007fff4d5db5a0 error 6
Apr 26 13:42:46 host kernel: httpd[28526]: segfault at 00007fff4d5dbb38 rip 00002ba1807da57a rsp 00007fff4d5dbb20 error 6
Apr 26 13:42:46 host kernel: httpd[31429]: segfault at 00007fff4d5db718 rip 00002ba1807da57a rsp 00007fff4d5db700 error 6
Apr 26 13:42:46 host kernel: httpd[32406]: segfault at 00007fff4d5dcec0 rip 00002ba1807e2493 rsp 00007fff4d5dcec0 error 6
Apr 26 13:42:48 host kernel: httpd[31424]: segfault at 00007fff4d5db7c8 rip 00002ba1807da57a rsp 00007fff4d5db7b0 error 6
---------------

I did trouble shooting for a long time, but nothing unusual found. So I reinstall the OS of the server, and this message came out again. I went crazy about this, any idea please?
 
Im using CentOS 5.6 with latest directadmin and apache and none of those segfault are coming out since 2 weeks on 5.6 release.

I would suggest a complete backup of user in a separate hard-disk cause, maybe, your hard disk is damaged.

A clean install of OS and DA that give same error make me just think on an hardware problem, mostly hard-disk or ram.

I would suggest a backup, then a memory test, and then an hard drive test

Regards
 
@kangzj

Did you add any extra mods either to Apache or to PHP? Do you use custombuild in order to install and update Apache/PHP? What are versions of them?
 
This could be caused if apache is compiled with threads support (worker and not prefork).
 
Im using CentOS 5.6 with latest directadmin and apache and none of those segfault are coming out since 2 weeks on 5.6 release.

I would suggest a complete backup of user in a separate hard-disk cause, maybe, your hard disk is damaged.

A clean install of OS and DA that give same error make me just think on an hardware problem, mostly hard-disk or ram.

I would suggest a backup, then a memory test, and then an hard drive test

Regards

I upgraded php from 5.2.17 to 5.3.6 and the error is gone.
But some of my clients' website is incompatable with php 5.3. :confused:
 
Not much you can do there wont be any more updates to 5.2 php.
 
@kangzj

Did you add any extra mods either to Apache or to PHP? Do you use custombuild in order to install and update Apache/PHP? What are versions of them?

Just zend optimizer 3.3 and nothing else.

custombuild 1.1
apache 2.2
php 5.2.17
 
wrong/missing dependencies against compiled wrong progversions - i had some similiar but cannot remember right now
 
Can anybody please help me look into it?
If the problem is solved, I will offer $100 in return.
 
Does it anyhow influence on browsing your website? Can you provide a link from your site(-s) which would with defined certainty drop that error? What do you see in browser? In apache vhost logs?
 
@kangzj,

Did you manage to solve the issue? I'm finding a solution while I have the same thing on one of servers. And I'm at a loss.
 
Last edited:
Back
Top