regarding xcache

lkbryant

Verified User
Joined
Aug 16, 2005
Messages
283
Hi, i have installed xCache and i see no marked improvement without xcache.

my benchmark is based on magento commerce, a heavy php 5 open source ecommerce program.

anyone noticed the same thing?
 
Magento Commerce isn't a good app to base any benchmark tests on.

It's heavily in beta and likely to have little/no optimizations going on.

Choose something a little more solid.
 
Well, xcache setting matter a lot...

Popular script like vbulletin shows marked improvement (it even supports xcache variable caching)

I have xcache 1.2.2 installed and things seem to be going quite well.
 
oh, i just heard that. php5.2.5+xcache+zend should be no problem? how is xcache compare to eaccelerator? i currently use EA it's doing good.
 
i am getting segmentation fault error after letting it run for couple days.

this is my setup:

php 5.2.5
apache 2.2.6

with the zend extensions loaded in the following order:

xcache 1.2.1
ioncube 3.1.26
zend extension manager 1.2
zend extension manager ts 1.2
zend optimizer 3.2.8

my xcache settings are:
[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 256M
xcache.count = 1
xcache.slots = 16K
xcache.ttl = 7200
xcache.gc_interval = 300
xcache.var_size = 32M
xcache.var_count = 1
xcache.var_slots = 8K
xcache.var_ttl = 3600
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.test = Off
xcache.readonly_protection = On
xcache.mmap_path = "/tmp/xcache"
xcache.coredump_directory = ""
xcache.cacher = On
xcache.stat = Off
xcache.optimizer = Off

[xcache.coverager]
xcache.coverager = Off
xcache.coveragedump_directory = ""


anyone know what could be the problem for these annoying and yet dangerous segmentation faults?

is running a cronjob to restart apache every 5 minutes the only way around this mess?
 
Are you sure you need zend stuff at all? And ioncube should be loaded before xcache. Both ts and non-ts versions of zend loaded...something fishy.
 
Back
Top