Looks like we overlooked the cache mem part. It looks fine. Let me also correct that load increased once and we were using SquidGuard that time. Sorry for the confusion. total used free shared buffers cached Mem: 3791 3068 723 0 640 2001 -/+ buffers/cache: 425 3365 Swap: 4000 0 4000 Total: 7791 3068 4723 Do suggest if you see any scope for improvement in memory/cache_dir/other settings. We expect upto 50 simultaneous users using squid at any point of time. Thank you. tuxg wrote > 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 -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Memory-usage-increasing-forever-due-to-squid-tp4656839p4656849.html Sent from the Squid - Users mailing list archive at Nabble.com.