From 86ff2d61746b4c76836c09410d59c11a50cf20c5 Mon Sep 17 00:00:00 2001 From: Xuefer Date: Fri, 15 Sep 2006 11:16:33 +0000 Subject: [PATCH] size=0M is much less confusing than size=0, thank Andrew Arrow :) git-svn-id: svn://svn.lighttpd.net/xcache/trunk@167 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- xcache.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xcache.ini b/xcache.ini index df61edf..d6f0910 100644 --- a/xcache.ini +++ b/xcache.ini @@ -22,8 +22,8 @@ xcache.admin.pass = "" ; select low level shm/allocator scheme implemenation xcache.shm_scheme = "mmap" ; to disable: xcache.size=0 -; to enable : xcache.size=any size > 0 and your system mmap allows -xcache.size = 0 +; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows +xcache.size = 0M ; set to cpu count (cat /proc/cpuinfo |grep -c processor) xcache.count = 1 ; just a hash hints, you can always store count(items) > slots @@ -34,7 +34,7 @@ xcache.ttl = 0 xcache.gc_interval = 0 ; same as aboves but for variable cache -xcache.var_size = 0 +xcache.var_size = 0M xcache.var_count = 1 xcache.var_slots = 8K ; default ttl