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

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Tue, 13 Apr 2004 10:45:34 +0200

> 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.

On 12.04 19:59, Adam Aube wrote:
> 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.

well, it is usually not good idea to have less swap space than RAM. If he
has that much of memory, he can turn off swap. If the machine will start
using swap at all, it will be good to have it at least as much as RAM.

However it's not good (as already pointed out) to have swapping machine
with squid.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Holmes, what kind of school did you study to be a detective?
- Elementary, Watson.
Received on Tue Apr 13 2004 - 02:45:38 MDT

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