From owner-freebsd-questions@FreeBSD.ORG Tue Apr 8 07:34:22 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D677337B401 for ; Tue, 8 Apr 2003 07:34:22 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 344D943FA3 for ; Tue, 8 Apr 2003 07:34:22 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h38EYALf058485; Tue, 8 Apr 2003 09:34:10 -0500 (CDT) (envelope-from dan) Date: Tue, 8 Apr 2003 09:34:10 -0500 From: Dan Nelson To: Borgmaster Message-ID: <20030408143410.GA86482@dan.emsphone.com> References: <5.2.0.9.1.20030408154138.01a203a8@postamt1.charite.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: Why has my swap pager gone nuts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 14:34:23 -0000 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