[squid-users] Re: Maximum disk cache size per worker

From: babajaga <augustus_meyer_at_yahoo.de>
Date: Fri, 22 Mar 2013 00:43:55 -0700 (PDT)

>Your OS assigns workers to incoming connections. Squid does not control
that assignment. For the purposes of designing your storage, you may
assume that the next request goes to a random worker. Thus, each of your
workers must cache large files for files to be reliably cached. <

But, I think such a config SHOULD avoid duplication:

if ${process_number}=1
cache_dir aufs /cache4/squid/${process_number} 170000 32 256
min-size=31001 max-size=200000
cache_dir aufs /cache5/squid/${process_number} 170000 32 256
min-size=200001 max-size=400000
cache_dir aufs /cache6/squid/${process_number} 170000 32 256
min-size=400001 max-size=800000
cache_dir aufs /cache7/squid/${process_number} 170000 32 256
min-size=800000
endif

Am I wrong ?

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Maximum-disk-cache-size-per-worker-tp4659105p4659144.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Fri Mar 22 2013 - 07:43:57 MDT

This archive was generated by hypermail 2.2.0 : Sat Mar 23 2013 - 12:00:05 MDT