Browse Source

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 14 years ago
parent
commit
3733adf11a
  1. 4
      xcache.ini

4
xcache.ini

@ -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

Loading…
Cancel
Save