Skip to main content

Segmentation fault and bus error in Apache 2.2

Comments

5 comments

  • cPanelMichael
    Hello, Please browse to: "WHM Home >> Software >> Module Installers >> PHP Extensions and Applications Package" Is the "PHP Extensions and Applications Package Magic User Loader" option enabled? If so, does disabling it resolve the issue? Thank you.
    0
  • anithegregorian
    Hello, Please browse to: "WHM Home >> Software >> Module Installers >> PHP Extensions and Applications Package" Is the "PHP Extensions and Applications Package Magic User Loader" option enabled? If so, does disabling it resolve the issue? Thank you.

    Hi Mike, Thanks for replying. Magic User Loader is enabled. Yesterday I researched further and made a small change after reading this ->
    0
  • cPanelMichael
    I am happy to see you are no longer encountering any issues. Feel free to let us know if you come across additional problems. Thank you.
    0
  • anithegregorian
    I am happy to see you are no longer encountering any issues. Feel free to let us know if you come across additional problems. Thank you.

    Hi Mike, Good to hear back from you but happiness short-lived after enabling Xcache. As soon as I enabled Xcache (mod_security and mod_ruid2 are still disabled) seg fault and bus errors were back with vengeance. Just a hunch - Xcache is causing all the trouble. To back my hunch I am running PHP in DSO mode and so far no errors. It's strange because we've had Xcache configured and working a while back (almost a month) and it was configured to run on just one site through php.ini, until we consulted our hosting provider (Inmotion Hosting) over installation errors in OsTicket. They suggested - it's because of backward compatibility issue and you should use PHP Switch to run OsTicket. After that everything went haywire! Following that PHP Switch was removed. We were pretty happy with APC but, If I'm correct it's discontinued and not supported as of PHP 5.3, thus Xcache. Xcache seemed like the right candidate with similar features and configuration as in APC and its actively updated. However, now our last resort would be exploring eAccelerator. Would really like to dig deeper into what's causing seg faults and bus errors but that requires hooking Apache into GDB on a live server... sighs... :eek: From another angle could it be possible to tweak Apache error logging level to locate exact source of error? Here's an abstract from Apache error log:
    Thu Mar 26 12:57:59 2015] [error] [client 61.223.205.19] File does not exist: /home/nikkainc/public_html/administrator [Thu Mar 26 12:58:34 2015] [error] [client 125.24.176.187] File does not exist: /home/nikkainc/public_html/wordpress [Thu Mar 26 12:58:35 2015] [error] [client 125.24.176.187] File does not exist: /home/nikkainc/public_html/site [Thu Mar 26 12:58:36 2015] [error] [client 125.24.176.187] File does not exist: /home/nikkainc/public_html/blog [Thu Mar 26 12:58:38 2015] [error] [client 125.24.176.187] File does not exist: /home/nikkainc/public_html/wp [Thu Mar 26 12:58:39 2015] [error] [client 125.24.176.187] script '/home/nikkainc/public_html/wp-login.php' not found or unable to stat [Thu Mar 26 12:58:41 2015] [error] [client 125.24.176.187] File does not exist: /home/nikkainc/public_html/wp-login [Thu Mar 26 12:58:46 2015] [error] [client 125.24.176.187] File does not exist: /home/nikkainc/public_html/administrator [Thu Mar 26 13:00:02 2015] [notice] child pid 4246 exit signal Bus error (7) [Thu Mar 26 13:00:02 2015] [notice] child pid 4683 exit signal Bus error (7) [Thu Mar 26 13:00:03 2015] [notice] child pid 4457 exit signal Segmentation fault (11) [Thu Mar 26 13:00:04 2015] [notice] child pid 2722 exit signal Bus error (7) [Thu Mar 26 13:00:04 2015] [notice] child pid 4370 exit signal Bus error (7) [Thu Mar 26 13:00:04 2015] [notice] child pid 4684 exit signal Segmentation fault (11) [Thu Mar 26 13:00:05 2015] [notice] child pid 3477 exit signal Segmentation fault (11) [Thu Mar 26 13:00:05 2015] [notice] child pid 4218 exit signal Bus error (7) [Thu Mar 26 13:00:05 2015] [notice] child pid 4471 exit signal Bus error (7) [Thu Mar 26 13:00:05 2015] [notice] child pid 4654 exit signal Bus error (7) [Thu Mar 26 13:00:06 2015] [notice] child pid 4596 exit signal Segmentation fault (11) [Thu Mar 26 13:00:06 2015] [notice] child pid 4637 exit signal Bus error (7) [Thu Mar 26 13:00:06 2015] [notice] child pid 4646 exit signal Bus error (7) [Thu Mar 26 13:00:06 2015] [notice] child pid 4867 exit signal Bus error (7) [Thu Mar 26 13:00:07 2015] [notice] child pid 4213 exit signal Segmentation fault (11)
    Appreciate your sound advice and support...
    0
  • cPanelMichael
    Hello, Attaching GDB to one the httpd processes is really the best way to further track down the error messages. You may find this URL helpful:
    0

Please sign in to leave a comment.