|
Here are my settings for APC:
------------------
extension="apc.so"
apc.shm_size="128M"
apc.num_files_hint="1000"
apc.user_entries_hint="4096"
apc.ttl="3600"
apc.user.ttl="3600"
apc.max_file_size="1M"
apc.gc_ttl="7200"
apc.stat="0"
-----------------
and here are my settings I have for xcache:
---------------------
[xcache-common]
zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so
auto_globals_jit = Off
[xcache.admin]
xcache.admin.user = "adm"
xcache.admin.pass = "pw"
[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 96M
xcache.count = 1
xcache.slots = 4K
xcache.ttl = 3600
xcache.gc_interval = 300
xcache.readonly_protection = Off
xcache.mmap_path = "/dev/zero"
xcache.cacher = On
;var settings
xcache.var_size = 4M
xcache.var_count = 1
xcache.var_slots = 4K
;var ttl settings
xcache.var_ttl = 3600
xcache.var_maxttl = 7200
xcache.var_gc_interval = 300
It doesn't matter which one I use, they both clear out after a while and well before the ttl setting is reached. I think it has something to do with the number of processes in some way from what I read on the xcache website in the faq section.
|