Re: [squid-users] memory ?

From: Bobby Gochuico <bugsbobby@dont-contact.us>
Date: Mon, 23 Feb 2004 12:21:21 +0800

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

----- Original Message -----
From: "Muthukumar" <kmuthu_gct@hotmail.com>
To: "Bobby Gochuico" <bugsbobby@uplink.com.ph>
Sent: Monday, February 23, 2004 12:02 PM
Subject: Re: [squid-users] memory ?

>
>
>
> > Ok, we'll see if it will still run out of RAM.
> >
> >>>>>>
>
> You have previously used 200 MB for cache_mem and
> the RAM size as 256 MB
>
> Keep the cache_mem size as < (RAM Size / 2).
>
> I have tried in my cache,I got lot problems when use as RAM * 2.
> http://www.squid-cache.org/Doc/FAQ/FAQ-8.html (8.11 question)
> So use the above configuration.
>
> Regards,
> Muthukumar.
>
Received on Sun Feb 22 2004 - 21:11:52 MST

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