eAccelerator crash

eAccelerator crash (Updated)

I've created an article to try to track what works and what doesn't: Running Apache + PHP + Accelerators under Windows 2003

After moving a site with some traffic to an Apache 2.2.x server, I have been getting multiple Apache crash per day. Before I was only getting these about once a week. Here is what the error looks like in the Apache error.log:

[6368] EACCELERATOR: PHP crashed on opline 58 
of _drupal_bootstrap() at E:\DomZeus\wwwroot\includes\bootstrap.inc:771

I've seen reports about this problem start to "pop-up" over the web. We have been using EA 0.9.3 under IIS and W2K for years without a single issue. So EA does work under some configuration.

My software layers are: W2K3 + Apache 2.2.2 + EA (both 0.9.4 and 0.9.5RC1) + PHP (4.3.11 and 4.4.3 and 5.1.4)
+ 2 dual XEON server

If you are using eAccelerator under Windows on a site with some traffic (lets says about 100+ users per day) please add a comment to this article.
Please include:
- Web Server: IIS or Apache + version
- PHP: version + method (.dll or .exe)
- OS: W2K or W2K3 or other
- Hardware: 1 or 2 processor
- EA version: 0.9.3 or 0.9.4 or 0.9.5RC1
- Estimate of daily traffic (very basic estimate are better then none)
- Frequency of crash (if applicable)

You feedback could be helpful for us to answer these questions:
- Does EA work reliably under Apache ?
- Does EA (0.9.4+) work reliable under IIS ?
- Does EA work reliably under W2k3 ?

Note: The ticket about eAccelerator crash

first stable stack

Looks like we have our first stable stack, in a long time, this was initially reported by pellmell in May here: http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds#comment-1484

I've been running eAcceleator with PHP 5.2.3 (as an Apache module) for weeks without a problem.

In other words this was either fixed by eA or mostly likely a recent fix with PHP 5.2.2 and 5.2.3


IIS 6 - Plesk 8.1.1 VPS - Win2003 - PHP 5.2.0 - Crashes

- Web Server: IIS 6
- PHP: 5.2.0 - ISAPI - pretty sure .exe
- OS: Win2003 SP1 Enterprise Edition (Plesk 8.1.1 VPS) (5.2 build 3790)
- Hardware: 4 VPS Processors
- RAM: 512 MB Guar - 1 GB Bursts
- EA version:
- Zend Engine v2.2.0

- Frequency of crash: between 5 to 10 page loads, then crashes ALL App Pools.

Thanks ShaOn.

Thanks ShaOn.

Try PHP 5.2.2+, someone reported a stable stack using that version of PHP.

ea not to blame

i've apache 2.0.59, php-5.1.6 and i've same type of crashes once in availe, so i do not think it is ea problem

I agree nycterent

I agree ea is probably not to blame. Apache + PHP can be instable on it's own (ie without any PHP accelerator). Some combinaisions of software/versions are more stable then others. One of the goals at SiteBuddy.com is to find the most stable software stacks by sharing our findings.

Thanks for providing feedback.

Crashes Multiple Times A Day

2.8 Ghz Dual Processor
2 Gigs of Ram
Dedicated Web Server
Over 100,000 hits a day

Apache 2.2.3
PHP 5.1.6

I constantly get: EACCELERATOR: PHP crashed on opline .... errors daily. Every few hours it will crash, causing apache to restart.

Thanks Juicy


I didn't try all software stack combinations yet but the most stable one with EA is:
Apache 2.2.3 + PHP 4.3.11 + ApacheLounge PHP connector +  eAccelerator 094 Sitebuddy_v2 for PHP 4.3.11

I maintain a "draft" page about my finding:

unning Apache + PHP + Accelerators under Windows 2003

Thanks for providing data the most we get the more we can figure out the stable combinations.

my config

BTW my config is:

Win 2003 web
PHP 4.4.3 + eAccelerator 0.9.5RC1 (0.9.4 was crashing too)

Same here

access violations galore

I get crashes almost

I get crashes almost daily.

I have a website running Joomla + SMF, and flashchat.

Flashchat crashes all the time:

"PHP has encountered an Access Violation at 01E44E33"

eAccelerator Crashes

Apache/1.3.37 (Win32) mod_gzip/ PHP/4.4.3
AMD Opteron 2x246 (2x2.0Ghz)
Windows 2003 Std
eA 0.9.4 and 0.95RC1 both crash about every 1-2 hours. It also seems to crash more often if the machine is stressed CPU/IO wise, but I've not done extensive testing on that yet.

Server handles about 12 requests/second, so about 1 million requests a day.

I have tried switching to Zend Optimizer, but it crashes with similar frequency.

When starting apache, it crashes almost immediately, sometimes crashing more than once. After the parent process is alive for about 10 seconds, the crashes stop for a while.


- Web Server: IIS6
- PHP: version: 4.4.6 in ISAPI mode also tried 4.4.4 in ISAPI mode
- OS: Server 2003
- EA version: Tried both .0.9.4 and 0.9.5
- Estimate of daily traffic - Thousands of Hits a Day
- Frequency of crash: Whenever the application pool for the site recycles

I've been experimenting with

I've been experimenting with xdebug and it too seems to be unstable, and for kicks, I've disabled all op code caches and... it still crashes!

I get these in my apache error log:
Out of memory (Needed 2334720 bytes)
Out of memory (Needed 2334720 bytes)
Out of memory (Needed 2334720 bytes)
Out of memory (Needed 2334720 bytes)
Out of memory (Needed 2334720 bytes)
FATAL: erealloc(): Unable to allocate 1441792 bytes

FATAL: erealloc(): Unable to allocate 987121 bytes