Search squid archive

Re: possible memory leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux