Re: [squid-users] memory ?

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

Right now after an hour its now 264MB down to 171 MB.

Bobby

Processes: 32 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 1.9% user, 1.7% system, 0.0% nice, 96.2% idle
Mem: 517220K av, 345956K used, 171264K free, 26932K shrd, 145524K
buff
Swap: 514040K av, 0K used, 514040K free 67160K
cached

  PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
 1520 root 12 0 852 852 668 R 0 0.7 0.1 0:00 top
  270 root 1 0 524 524 428 S 0 0.3 0.1 0:00 syslogd
  441 named 1 0 2656 2656 1088 S 0 0.1 0.5 0:10 named
  458 squid 3 0 103M 103M 996 S 0 0.1 20.4 2:05 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:04 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
  279 root 0 0 760 760 388 S 0 0.0 0.1 0:00 klogd
  293 root 10 0 620 620 512 S 0 0.0 0.1 0:00 crond
  307 root 0 0 520 520 440 S 0 0.0 0.1 0:00 inetd
  328 root 0 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

----- Original Message -----
From: "Dodjie Nava" <dpnava@mozcom.com>
To: "Bobby Gochuico" <bugsbobby@uplink.com.ph>
Cc: <squid-users@squid-cache.org>
Sent: Monday, February 23, 2004 1:33 PM
Subject: Re: [squid-users] memory ?

> 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 - 23:18:14 MST

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