[squid-users] worker per cache_dir
Marcel Fossua
marcel at guineanet.net
Thu Jun 4 13:27:58 UTC 2015
Cool Thanks
but I have an error while doing that maybe it could be the HDD size
By the way Amos what could you suggest me to handle disks
I have a jbod with 15 disks (4TB) each
I read on of your comment stipulating to set a cache_dir per drive (o I'm
totaly wrong)
with this worker/disk distribution I end up with error
cache_dir rock /cache16 500000 min-size=1 max-size=31000 max-swap-rate=200
swap-timeout=300
if ${process_number} = 1
cache_dir aufs /cache0 3500000 32 256 min-size=31001 max-size=1048576000
cache_dir aufs /cache1 3500000 32 256 min-size=31001 max-size=1048576000
endif
if ${process_number} = 2
cache_dir aufs /cache2 3500000 32 256 min-size=31001 max-size=1048576000
cache_dir aufs /cache3 3500000 32 256 min-size=31001 max-size=1048576000
endif
if ${process_number} = 3
cache_dir aufs /cache4 3500000 32 256 min-size=31001 max-size=1048576000
cache_dir aufs /cache5 3500000 32 256 min-size=31001 max-size=1048576000
endif
if ${process_number} = 4
cache_dir aufs /cache6 3500000 32 256 min-size=31001 max-size=1048576000
cache_dir aufs /cache7 3500000 32 256 min-size=31001 max-size=1048576000
endif
if ${process_number} = 5
cache_dir aufs /cache8 3500000 32 256 min-size=31001 max-size=1048576000
cache_dir aufs /cache9 3500000 32 256 min-size=31001 max-size=1048576000
endif
if ${process_number} = 6
cache_dir aufs /cache10 3500000 32 256 min-size=31001 max-size=1048576000
cache_dir aufs /cache11 3500000 32 256 min-size=31001 max-size=1048576000
endif
if ${process_number} = 7
cache_dir aufs /cache12 3500000 32 256 min-size=31001 max-size=1048576000
cache_dir aufs /cache13 3500000 32 256 min-size=31001 max-size=1048576000
endif
if ${process_number} = 8
cache_dir aufs /cache14 3500000 32 256 min-size=31001 max-size=1048576000
cache_dir aufs /cache15 3500000 32 256 min-size=31001 max-size=1048576000
endif
--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/worker-per-cache-dir-tp4671510p4671541.html
Sent from the Squid - Users mailing list archive at Nabble.com.
More information about the squid-users
mailing list