lighttpd forum XCache > xcache settings for lots of small php's

Posted by Yeongsik Son
on 15.06.2009 00:48
Hello

To accelerate two shared servers, I expanded RAM and determined to
install xcache.

The server has lots of small php's.

Are these variables are acceptable?

xcache.size = 128M
xcache.count = 5
xcache.slots = 1K
xcache.ttl = 3600
xcache.gc_interval = 300
xcache.var_size  = 4M
xcache.var_count = 5
xcache.var_slots = 1K
xcache.var_ttl = 1800
xcache.var_maxttl = 3600
xcache.var_gc_interval = 300
xcache.mmap_path = "/dev/zero"
xcache.shm_scheme = "mmap"
xcache.stat = Off

Some server info:
Intel X3220, quad-core 2.4ghz
4GB DDR2-RAM
SATA RAID-5 volume

PHP 5.1.6
CentOS 5.3

One is installed mod_fcgid+php-fcgi, the other lighty+php-fcgi
Posted by moo XCache
on 16.06.2009 02:06
install xcache/admin and check it reglarlly :)