Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2003 09:34:10 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Borgmaster <ribo6611@student.uu.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why has my swap pager gone nuts?
Message-ID:  <20030408143410.GA86482@dan.emsphone.com>
In-Reply-To: <Pine.SOL.4.53.0304081553140.1798@trana.it.uu.se>
References:  <5.2.0.9.1.20030408154138.01a203a8@postamt1.charite.de> <Pine.SOL.4.53.0304081553140.1798@trana.it.uu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 08), Borgmaster said:
> On Tue, 8 Apr 2003, Alexander Haderer wrote:
> > At 15:30 08.04.2003 +0200, Borgmaster wrote:
> > >When I try this, X is disabled but some daemons are running, such
> > >as Samba, ntpd, linux emulation, etc. Top reports ~430Mb free. I
> > >have 512Mb RAM in the machine and 256Mb swap partition. I know
> > >that one is supposed to have twice swap as physical RAM, but is
> > >that really necessary on my single user workstation? 1.5G of total
> > >memory is twice the memory I have in some other servers...
> >
> > Where does this 1.5G come from? I see 512MB RAM +256MB swap.
> 
> 1.5G if I would have 512RAM + twice that in swap. Seems overkill to me...

The 2x swap suggestion was made back in the days when you only had 64M
or 128M of RAM.  If you are running a -current machine, or ever want to
be able to diagnose problems on -stable, you want at least much swap as
RAM so you can generate crashdumps.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030408143410.GA86482>