From owner-freebsd-questions Thu Aug 29 15:23:50 2002 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 67FB037B400 for ; Thu, 29 Aug 2002 15:23:46 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 622BE43E91 for ; Thu, 29 Aug 2002 15:23:45 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-b069.otenet.gr [195.167.121.197]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g7TMNf0c024232; Fri, 30 Aug 2002 01:23:42 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.5/8.12.5) with ESMTP id g7TMNdNK095358; Fri, 30 Aug 2002 01:23:39 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.5/8.12.5/Submit) id g7TMNcIX095357; Fri, 30 Aug 2002 01:23:38 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 30 Aug 2002 01:23:38 +0300 From: Giorgos Keramidas To: Joseph Lephan Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Swap file never get used. period Message-ID: <20020829222338.GA95235@hades.hell.gr> References: <20020829171531.A1085@houston.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020829171531.A1085@houston.rr.com> X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-Phone: +30-944-116520 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-08-29 17:15 +0000, Joseph Lephan wrote: > Upon recently installing FreeBSD, I was aware that i allocated 1 GB > to a swap partition. Now this is fine because that was what i > wanted, but it seems that when I type in 'top' at console, my swap > file was reported to at 100%, ie, none of was being used, ever. You need to add a proper line in /etc/fstab that shows which partition you have set aside for swap space. For instance mine looks like: charon@hades[01:21]/home/charon$ grep swap /etc/fstab /dev/ad0s3b none swap sw 0 0 Adjust ad0s3b as needed, to point to your swap partition, and the boot scripts of FreeBSD will take care of enabling swapping on it. > I'm just wondering if this is due to a miscompiling of the kernel, > or if there should be some modules compiled for virtual memory, or > if this is just a plain fact of Freebsd. Greatly appreciated. :-P No. See above. -- FreeBSD: The Power to Serve -- http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message