Re: [squid-users] Squid eating too much memory

From: Tek Bahadur Limbu <teklimbu@dont-contact.us>
Date: Sun, 21 Oct 2007 12:48:21 +0545

Hi Rihad,

rihad wrote:
> CacheMgr output:
> Memory accounted for:
> Total accounted: 1323944 KB
>
> Memory usage using top(1):
> PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
> 29601 squid 29 20 0 2533M 2465M kserel 92:12 0.00% squid
>
>
> Almost twice as much memory! Any hints?

What is your settings for the following parameters?

cache_mem
maximum_object_size
maximum_object_size_in_memory
cache_replacement_policy
memory_replacement_policy
ipcache_size
fqdncache_size

Which storage scheme are you using?

Can you post your relevant configs of your squid.conf?

>
> Number of clients accessing cache: 517
> Normally load is within 500-1500 clients.

How long is your Squid process been running?

Your server's memory usage seems unusually high even for 1500 clients.
My proxy server which serves 2000-3000 clients is currently using 650 MB
of memory despite running for more than 55 days.

>
> Squid 2.6.16
> FreeBSD 6.2-RELEASE-p8

What is your machines specs?

>
> Port compiled with all options unchecked and both AUFS & KQUEUE checked
> (as per "make config" and /var/db/ports/squid/options)

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 Sun Oct 21 2007 - 01:04:11 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT