Bruno Marcondes wrote:

> My squid server runs as a http accelerator, it is a HP/Compaq DL360 with
> 2 Gb of memory, 4 squid process running as it has 2 hyperthread cpus.
> It serves ~ 150 req/s (each process), its Linux RH9 kernel 2.4.
> After some time running/serving , memory usage looks like this :


> total used free shared buffers cached
> Mem: 2069488 2059504 9984 0 72164 1466184
> -/+ buffers/cache: 521156 1548332
> Swap: 2097112 119128 1977984


> The thing is that swap usage keeps growing until the machine consumes
> all the 2G swap partition.


Turn off your swap, or at least shrink it to something more realistic (512
MB or less). 2 GB of swap on a system with that much RAM is way too much.

Adam