Is the configuration working otherwise?
Yes, without workers and cache_dir rock ..., and a cache_dir aufs...
Do you know the size of back side cache data set (if not unlimited)?
???
Do your logs show anything being evacuated at once you hit 3GB? Or is the
data expiring out of the cache
What else are the logs saying right now?
Only one warning when starting squid:
"WARNING: disk-cache maximum object size is too large for mem-cache:
337920.00 KB > 32.00 KB"
Regards.
Dzieva.
-----Mensagem Original-----
From: Justin Stottlemyer
Sent: Wednesday, September 25, 2013 1:06 PM
To: Marcos A. Dzieva
Cc: <squid-dev@squid-cache.org>
Subject: Re: SMP cache memory
Is the configuration working otherwise?
Do you know the size of back side cache data set (if not unlimited)?
Do your logs show anything being evacuated at once you hit 3GB? Or is the
data expiring out of the cache
What else are the logs saying right now?
Do you believe this is a bug in 3.4.0.1?
-- Justin
Typos by iPhone
On Sep 25, 2013, at 7:56 AM, "Marcos A. Dzieva" <dzi...@gmail.com> wrote:
Dear.
Because my machine squid does not use the entire memory (cache_mem 25600
MB), + - 3GB is used?
This is the configuration:
workers 4
...
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
cache_mem 25600 MB
maximum_object_size_in_memory 10240 KB
minimum_object_size 1 KB
maximum_object_size 330 MB
cache_swap_low 95
cache_swap_high 99
range_offset_limit -1 windowsupdate
cache_dir rock /var/cache2/squid 50000 min-size=1 max-size=32000
max-swap-rate=250 swap-timeout=350
if ${process_number} = 1
cache_dir aufs /var/cache/squid/aufs 750000 64 256 min-size=32001
endif
if ${process_number} = 2
cache_dir aufs /var/cache2/squid/aufs 780000 64 256 min-size=32001
endif
if ${process_number} = 3
cache_dir aufs /var/cache3/squid/aufs 830000 64 256 min-size=32001
endif
if ${process_number} = 4
cache_dir aufs /var/cache4/squid/aufs 850000 64 256 min-size=32001
endif
squid-3.4.0.1-20130925-r12990
ubuntu 13.04
i3, 32GB ram
Thanks,
Marcos A. Dzieva