Re: [squid-users] memory ?

From: Dodjie Nava <dpnava@dont-contact.us>
Date: Mon, 23 Feb 2004 13:33:20 +0800

bobby,

try setting your cache_mem to 128 MB. also follow the instructions
given on the faq, particularly:

http://www.squid-cache.org/Doc/FAQ/FAQ-8.html

make sure that no other processes are eating up your memory. from the
looks of top, squid is using less than 100MB.

Bobby Gochuico wrote:

>I just upgrade it to 512 RAM ( 512 / 2 for cache_mem = 200 ) right ?
>
>Setting now is at cache_mem 200 MB
>cache_dir ufs var/log/spool/squid 8500 16 256
>
>cache_swap_lo 90
>cache_swap_High 95
>
>Only have around 15-20 Concurrent users, How would you know the RAM is not
>enough ?
>I don't know why it s eat up until 2000 MB it won't response anymore when
>pinging the pc.
>Below is the usage status.
>
>Bobby
>
>
>
>total used free shared buffers cached
>Mem: 517220 250580 266640 26604 89280 47996
>-/+ buffers/cache: 113304 403916
>Swap: 514040 0 514040
>Total: 1031260 250580 780680
>
>CPU states: 0.3% user, 0.5% system, 0.0% nice, 99.0% idle
>Mem: 517220K av, 252296K used, 264924K free, 26912K shrd, 90292K
>buff
>Swap: 514040K av, 0K used, 514040K free 48176K
>cached
>
> PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
> 987 root 15 0 848 848 668 R 0 0.5 0.1 0:00 top
> 458 squid 5 0 90096 87M 996 S 0 0.3 17.4 1:14 squid
> 1 root 0 0 480 480 404 S 0 0.0 0.0 0:04 init
> 2 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kflushd
> 3 root 0 0 0 0 0 SW 0 0.0 0.0 0:03 kupdate
> 4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
> 5 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kswapd
> 6 root -20 -20 0 0 0 SW< 0 0.0 0.0 0:00 mdrecove
> 270 root 0 0 524 524 428 S 0 0.0 0.1 0:00 syslogd
> 279 root 0 0 760 760 388 S 0 0.0 0.1 0:00 klogd
> 293 root 0 0 620 620 512 S 0 0.0 0.1 0:00 crond
> 307 root 0 0 496 496 420 S 0 0.0 0.0 0:00 inetd
> 328 root 1 0 1172 1172 872 S 0 0.0 0.2 0:00 sendmail
> 343 root 0 0 3936 3936 3732 S 0 0.0 0.7 0:00 httpd
> 356 nobody 0 0 4008 4008 3800 S 0 0.0 0.7 0:00 httpd
> 357 nobody 0 0 4008 4008 3800 S 0 0.0 0.7 0:00 httpd
> 358 nobody 0 0 4008 4008 3800 S 0 0.0 0.7 0:00 httpd
>
>
>

-- 
Dodjie Nava <dpnava@mozcom.com>
Systems Engineer
E-Net Corporation
Binan, Laguna, Philippines
Received on Sun Feb 22 2004 - 22:27:57 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST