Dear, I have tried to use workers with rock and aufs, but I could not make
it work.
workers 4
cache_dir rock /var/cache2/squid/rock 50000 min-size=1 max-size=31000
max-swap-rate=250 swap-timeout=350
if ${process_number} = 1
cache_dir aufs /var/cache/squid/aufs 850000 64 256 min-size=31001
max-size=346030080
endif
if ${process_number} = 2
cache_dir aufs /var/cache2/squid/aufs 880000 64 256 min-size=31001
max-size=346030080
endif
if ${process_number} = 3
cache_dir aufs /var/cache3/squid/aufs 930000 64 256 min-size=31001
max-size=346030080
endif
if ${process_number} = 4
cache_dir aufs /var/cache4/squid/aufs 950000 64 256 min-size=31001
max-size=346030080
endif
cache_dir rock works well.
cache_dir aufs can not write to the hdd, it seems that ${process_number}
returns no value.
When using squid -z ${process_number} returns correct value.
I am using the last squid 3.4 and Ubuntu 13.04.
You guys could help me with the configurations?
Thanks.
Marcos A. Dzieva
Received on Thu Sep 12 2013 - 15:13:03 MDT
This archive was generated by hypermail 2.2.0 : Fri Sep 13 2013 - 12:00:07 MDT