Mark Hernandez wrote:
 I allocated 8 Gb of Cache_disk and made it dedicated.as i run top these are the results   8:44am  up 19:12,  1 user,  load average: 1.45, 1.19, 1.07
25 processes: 24 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  0.0% user,  1.1% system,  0.0% nice, 98.8% idle
Mem:  257788K av, 255728K used,   2060K free,   3412K shrd, 209712K buff
Swap: 263144K av,  71372K used, 191772K free                 20828K cached   PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
  535 squid      9   0 69944 3308  2976 D       0  0.7  1.2   4:50 squid
    5 root       2   0     0    0     0 SW      0  0.1  0.0   0:52 kswapd
 1042 markcism  12   0   460  408   328 R       0  0.1  0.1   0:00 top
    1 root       0   0    72    0     0 SW      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:00 kupdate
    4 root       0   0     0    0     0 SW      0  0.0  0.0   0:00 kpiod
    6 root     -20 -20     0    0     0 SW<     0  0.0  0.0   0:00 mdrecoveryd
  313 root       0   0    96    0     0 SW      0  0.0  0.0   0:00 syslogd
  324 root       0   0   364    0     0 SW      0  0.0  0.0   0:00 klogd
  340 daemon     0   0    80    0     0 SW      0  0.0  0.0   0:00 atd
  356 root       0   0    96    0     0 SW      0  0.0  0.0   0:00 crond
  372 root       1   0    72    0     0 SW      0  0.0  0.0   0:00 inetd
  408 root       0   0    72    0     0 SW      0  0.0  0.0   0:00 gpm
  434 root       0   0    64    0     0 SW      0  0.0  0.0   0:00 mingetty
  435 root       0   0    64    0     0 SW      0  0.0  0.0   0:00 mingetty
  436 root       0   0    64    0     0 SW      0  0.0  0.0   0:00 mingetty


hi mark,

    it looks like a memory leak to me.... uptime of 19 hours and it is already eating a lot of swap space while squid is only consuming 69mb (according to top results) while the approximate memory that squid will eat is around (8 gig cache_disk  x 16mb/gig + 64 mb cache_mem) 192 mb while you have 256mb of physical ram.

fooler.

Reply via email to