1
0
Fork 0

64M of shm is a good choice

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@536 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 2008-03-02 05:16:56 +00:00
parent 6b79b66eb6
commit 3733adf11a
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ xcache.admin.pass = ""
xcache.shm_scheme = "mmap"
; to disable: xcache.size=0
; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
xcache.size = 0M
xcache.size = 60M
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count = 1
; just a hash hints, you can always store count(items) > slots
@ -32,7 +32,7 @@ xcache.ttl = 0
xcache.gc_interval = 0
; same as aboves but for variable cache
xcache.var_size = 0M
xcache.var_size = 4M
xcache.var_count = 1
xcache.var_slots = 8K
; default ttl