Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2002 01:23:38 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Joseph Lephan <mystical@houston.rr.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Swap file never get used. period
Message-ID:  <20020829222338.GA95235@hades.hell.gr>
In-Reply-To: <20020829171531.A1085@houston.rr.com>
References:  <20020829171531.A1085@houston.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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