[squid-users] Memory usage increasing forever - due to squid?

From: The UX Group <info_at_theuxgroup.com>
Date: Sun, 30 Sep 2012 06:04:12 +0530

Hi,

    On an Intel i3 system with 4GB RAM, we noticed that squid is using
up all the memory without any limit. Using the binary that came with
CentOS 5.8 Final, rather than compiling from source. Does it have any
memory leak issues? Enabling memory pools has made not much
difference. Disabled SquidGuard and not much load on the server either
due to squid or due to other processes. Load increases only when it
uses up almost all the memory, but it is not using swap space even
then. Caching DNS server set up and runs on the same system.

Here are related settings:

cache_mem 128MB
maximum_Object_size_in_memory 100 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA

# /c1 and /c2 are ext3 FS of 20GB each
cache_dir aufs /c1 10240 64 256
cache_dir aufs /c2 10240 64 256
store_dir_select_algorithm least-load

minimum_object_size 0 KB
maximum_object_size 8 MB

memory_pools on
memory_pools_limit 512 MB

cache_swap_low 85
cache_swap_high 90

refresh_pattern . 0 20% 4320

quick_abort_min 0 KB
quick_abort_max 0 KB

negative_ttl 2 minutes

half_closed_clients off
buffered_logs on
client_db off
log_icp_queries off
delay_pools 0
---------
Please advice on what could be the problem.

Thank you,
Sisir
The UX Group
Received on Sun Sep 30 2012 - 00:34:21 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 01 2012 - 12:00:06 MDT