lighttpd forum XCache > [resolved] Apache Keeps Crashing

Posted by teko (Guest)
on 11.06.2008 21:09
I'm testing out XCache on a local XAMPP.

OS: Win XP Pro SP2
XCache 1.2.2
Apache 2.2.8
PHP 5.2.5

Everytime I open a PHP page or two, Apache will crash. error.log keeps
showing up the same error message:

[notice] Parent: child process exited with status 3221225477 --
Restarting.

I can load the admin page sometimes, other times Apache crashes right
away. I don't have any other caching program installed.

I have also tried:
- Enabling/disabling EnableMMAP in httpd.conf
- Changing xcache.size to 32M

Any clue/suggestions what I need to do? Is there any other scheme I can
try besides mmap?


XCache settings in php.ini:

[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 64M
xcache.count = 1
xcache.slots = 8K
xcache.ttl = 0
xcache.var_size = 64M
xcache.var_count = 1
xcache.var_slots = 8K
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.test = Off
xcache.readonly_protection = Off
xcache.mmap_path = "anonymous"

xcache.coredump_directory = "C:\xampp\tmp"

xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off

[xcache.coverager]
xcache.coveragedump_directory = "C:\xampp\tmp"
xcache.coveragedumper = Off
Posted by teko (Guest)
on 11.06.2008 21:15
Seems like it was Zend Optimizer -_-. After disabling it in php.ini,
Apache doesn't crash anymore. Will report if there's any changes.
Posted by moo XCache
on 12.06.2008 01:55
teko wrote:
> Seems like it was Zend Optimizer -_-. After disabling it in php.ini,
> Apache doesn't crash anymore. Will report if there's any changes.

you should load XCache before ZendOptimizer by moving 
zend_extension*=...xcache.so to be the first of all zend_extension*
Posted by teko (Guest)
on 12.06.2008 17:29
moo XCache wrote:
> teko wrote:
>> Seems like it was Zend Optimizer -_-. After disabling it in php.ini,
>> Apache doesn't crash anymore. Will report if there's any changes.
> 
> you should load XCache before ZendOptimizer by moving 
> zend_extension*=...xcache.so to be the first of all zend_extension*

Thanks, that works great. Now I got both xcache and Zend Optimizer to 
work :)