[squid-users] Re: To Have A /swap Partition, Or Not?

From: Adam Aube <[email protected]>
Date: Mon, 12 Apr 2004 19:59:55 -0400

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
Received on Mon Apr 12 2004 - 17:59:34 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT