jeffbeeman.com

  • contact
  • resume
Home

Catching Apache segfaults due to eAccelerator

Submitted by Jeff Beeman on Thu, 05/15/2008 - 14:59.

Last night we migrated our Linode for Gamers With Jobs to a new Xen VPS and we've noticed a significant performance boost. We did, however, start encountering a random issue with segmentation faults in Apache. If you haven't seen this happen before, it tends to begin innocently with one Apache process dying, and therefore giving errors (usually WSOD), but quickly balloons into dozens of dead processes. It essentially hoses Apache.

Apparently the issue is due to eAccelerator, so I reinstalled it and cleared its caches in the hope that it might limit its occurrence. Just in case, though, 2bits has a great fix for it, using the logwatcher script by Firebright, Inc. I was able to quickly get it going, and the only difference is that I used the Debian init.d script provided by Derek Laventure to run it.

  • Drupal
  • Linux
  • Scripts
Submitted by John (not verified) on Fri, 05/16/2008 - 15:33.

I recommend Xcache, I've been using it on DrupalModules.com since it launched, and have yet to see any problems. Performance-wise, Xcache is at least as quick as eAccelerator.

  • reply
Submitted by Khalid (not verified) on Sun, 06/01/2008 - 00:39.

I gave up on eAccelerator after moving to Drupal 5 and PHP5. It is just not stable enough, and barely maintained. Too bad, because it used to have the edge in speed and the least memory footprint.

APC is very stable and has the benefit of tracking PHP changes, since it is maintained by core PHP team members.

For a recent benchmark on the three free op-code caches, read our article: Benchmarking Drupal with PHP op-code caches: APC, eAccelerator and XCache compared.

  • reply

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Search

My Open Source Work

  • ASU Open Source
    • Atlassian PHP SOAP APIs
  • Drupal Projects
    • BBCode Formatting Bar
    • dompdf
    • OG Audience By Type
    • Password Strength
    • Profile Pages
    • Signup Scheduler
    • Signup Status
    • Steam Community
    • Taxonomy Search

Shared via:

  • del.icio.us
  • Google Reader

Blogroll

  • Al Wold
  • Dave Benjamin
  • Gamers With Jobs
  • Josh Ryan
  • Kathy Marks
  • contact
  • resume