From owner-freebsd-questions@FreeBSD.ORG Wed Mar 16 13:07:59 2005 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 A84A716A4CE for ; Wed, 16 Mar 2005 13:07:59 +0000 (GMT) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AF5E43D41 for ; Wed, 16 Mar 2005 13:07:58 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j2GD7YEE002693; Wed, 16 Mar 2005 15:07:34 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) j2GD7s32008368; Wed, 16 Mar 2005 15:07:54 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)j2GD7sqH008367; Wed, 16 Mar 2005 15:07:54 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 16 Mar 2005 15:07:54 +0200 From: Giorgos Keramidas To: "Colin J. Raven" Message-ID: <20050316130754.GC7986@orion.daedalusnetworks.priv> References: <20050316123901.U2949@kenmore.kozy-kabin.nl> <444qfbpydd.fsf@be-well.ilk.org> <20050316133153.M2949@kenmore.kozy-kabin.nl> <20050316125446.GA7986@orion.daedalusnetworks.priv> <20050316140047.S2949@kenmore.kozy-kabin.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050316140047.S2949@kenmore.kozy-kabin.nl> cc: Lowell Gilbert cc: freebsd-questions@freebsd.org Subject: Re: Illogical usage of swap 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: Wed, 16 Mar 2005 13:07:59 -0000 On 2005-03-16 14:02, "Colin J. Raven" wrote: >On Mar 16 at 14:54, Giorgos Keramidas asked: >>>Free memory (or the lack thereof) isn't the issue though. >>> >>>The issue is this: >>>Swap: 8192M Total, 116K Used, 8192M Free >>>and that's the piece of the puzzle that has us all utterly baffled. >>> >>>No way in creation this box should be swapping. >> >>Do you, by any chance, have vm.swap_idle_enabled set to 1? > > No, it isn't: > gonzo# sysctl -a |grep vm.swap_idle_enabled > vm.swap_idle_enabled: 0 Strange. AFAIK, processes are not swapped out to disk unless there is a severe memory shortage. The usual case is to have them "paged" out, which is a bit different.