This is my current xcache configuration :
Is there any suggestion?
I tried to use "/dev/shm/xcache" as mmap_path, but after few hours, my PHP was crashed.
I think that mmap_path was the cause so i changed back to "/dev/zero".
Code:
xcache.cacher="On"
xcache.coredump_directory=""
xcache.coredump_type="0"
;xcache.count="10" >> 16
;xcache.count="20" >> 31
xcache.count="49"
xcache.coveragedump_directory="/tmp/pcov/"
xcache.coverager="Off"
xcache.coverager_autostart="On"
xcache.disable_on_crash="Off"
xcache.experimental="Off"
xcache.gc_interval="0"
xcache.mmap_path="/dev/zero"
;xcache.mmap_path="/dev/shm/xcache"
xcache.optimizer="On"
xcache.readonly_protection="Off"
xcache.shm_scheme="mmap"
;xcache.size="4G"
xcache.size="2G"
xcache.slots="1M"
;xcache.slots="64K"
xcache.stat="On"
xcache.test="Off"
xcache.ttl="0"
;xcache.var_count="1"
xcache.var_count="49"
;xcache.var_gc_interval="300"
;xcache.var_gc_interval="0"
xcache.var_gc_interval="900"
;xcache.var_maxttl="0"
xcache.var_maxttl="3600"
xcache.var_namespace=""
xcache.var_namespace_mode="0"
;xcache.var_size="6G"
xcache.var_size="20G"
;xcache.var_slots="1M"
xcache.var_slots="8M"
;xcache.var_ttl="0"
xcache.var_ttl="1800"
I tried to use "/dev/shm/xcache" as mmap_path, but after few hours, my PHP was crashed.
I think that mmap_path was the cause so i changed back to "/dev/zero".