Re: [squid-users] possible memory leak

From: Tek Bahadur Limbu <teklimbu@dont-contact.us>
Date: Thu, 01 Nov 2007 12:47:25 +0545

Hi Rihad,

rihad wrote:
> Squid using almost twice as much memory as was accounted for (according
> to top(1)):
> 4243 squid 29 20 0 1325M 1317M kserel 42:39 0.00% squid

Since last time, after you reduced your cache_mem from 1000 MB to 300
MB, your Squid memory usage has gone down by half!!

>
> Is this expected?
>
> FreeBSD 6.2-RELEASE-p8
> Squid 2.6.16 using kqueue, aufs.
>
> Some squid.conf lines:
> cache_mem 300 MB
> cache_replacement_policy heap LFUDA
> cache_dir aufs /cache 50000 128 256
> cache_dir aufs /cache2 50000 128 256

I guess /cache and /cache2 reside on the same hard drive?

Try reducing your 1st level directories in the range of 16-64.

>
> Other options have been kept default more or less.
>
> Some relevant cachemgr lines:
> Storage Mem size: 307212 KB
> Total accounted: 763252 KB
> Number of clients accessing cache: 794

I suggest cleaning your directories and rebuilding it once again. Squid
might be reporting the wrong values since the last time you restart it!

Can you post the full output of "squidclient mgr:info"?

Thanking you...

>
>
> .
>
>
>
>

-- 
With best regards and good wishes,
Yours sincerely,
Tek Bahadur Limbu
System Administrator
(TAG/TDG Group)
Jwl Systems Department
Worldlink Communications Pvt. Ltd.
Jawalakhel, Nepal
http://www.wlink.com.np
http://teklimbu.wordpress.com
Received on Thu Nov 01 2007 - 01:02:45 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:01 MST