Hi,
I was wondering if you guys should shed some light on the memory usage
of my Squid setup. When I use the cache manager it is showing the
following stats;
StoreEntry 48 5515048 258518 258520 0.01 66
5515048 258518 258520 100 0 0 0 0 0.00 0.00
0.00 6783158
MD5 digest 16 5515048 86173 86174 0.01 22 5515048
86173 86174 100 0 0 0 0 0.00 0.00 0.00
6997908
Total - 11145625 389048 391347 2.17 100 11145625
389048 391347 100 0 0 0 0 0.00 0.00 0.00
201907433
When doing a top on the unit Squid is using 600mb+. It reaches 1500mb
usage in 4-5days and then dies.
58430 nobody 2 0 662M 647M poll 1 56:24 4.98% 4.98% squid
Here is the memory settings from my squid.conf
# Memory Related #
cache_mem 32 MB
maximum_object_size 32768 KB
maximum_object_size_in_memory 128 KB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 96
ipcache_size 10240
ipcache_low 90
ipcache_high 95
memory_pools off
cache_replacement_policy heap GDSF
memory_replacement_policy lru
quick_abort_min 10 kb
quick_abort_pct 50%
quick_abort_max 1024 kb
range_offset_limit 0 KB
# Disk Information #
cache_dir ufs /mnt/cache 12000 16 256
cache_dir ufs /mnt/cache2 22000 16 256
store_dir_select_algorithm least-load
Store Directory Statistics:
Store Entries : 5515249
Maximum Swap Size : 34816000 KB
Current Store Swap Size: 31334364 KB
Current Capacity : 90% used, 10% free
The timeout settings are all low, there are no custom refresh
patterns, and I am using squidGuard as a helper with 40 children. The
unit is doing about 30RPS which the hardware is definitely able to
handle more than double this.
The cache drives are full and the cache has been in place for a few
years now. We are running Squid 2.6 stable 18.
If the cache drives are full, when squid starts is that not the memory
it should use and hover around that mark? I understand that it will
change but it grows rapidly and then dies.
Please let me know if there is anything more I can give you to help with this.
Thanks in advance,
Darryl
Received on Tue Aug 19 2008 - 09:01:45 MDT
This archive was generated by hypermail 2.2.0 : Tue Aug 19 2008 - 12:00:04 MDT