From owner-freebsd-questions Mon Mar 20 11:22:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 28BA537BE20 for ; Mon, 20 Mar 2000 11:22:11 -0800 (PST) (envelope-from grog@mojave.worldwide.lemis.com) Received: from mojave.worldwide.lemis.com ([216.88.157.130]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id FAA12881 for ; Tue, 21 Mar 2000 05:16:27 +1030 (CST) (envelope-from grog@mojave.worldwide.lemis.com) Received: (from grog@localhost) by mojave.worldwide.lemis.com (8.9.3/8.9.3) id MAA00473; Sun, 19 Mar 2000 12:40:22 -0800 (PST) (envelope-from grog) Date: Sun, 19 Mar 2000 12:40:22 -0800 From: Greg Lehey To: Marcelo , Jawwad Ahmed Shamsi Cc: questions@FreeBSD.ORG Subject: Re: max swap size? Message-ID: <20000319124022.B391@mojave.worldwide.lemis.com> Reply-To: Greg Lehey References: <77360FEB4B0.AAA4ADE@mercury.its.umd.umich.edu> <200003170046.TAA33942@spoon.beta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from bsdq@stgo.cl on Fri, Mar 17, 2000 at 07:56:03PM +0000 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 17 March 2000 at 19:56:03 +0000, Marcelo wrote: > > Hello, > I installed FreeBSD on a machine that has 256 megs in RAM. > So I gave it a swap partition of 500 megs, But when I to "top" it says > that I have a total of 256 megs swap. > Is the swap limit 256 megs? No, you can have much more than that. I don't know if there's any limit, but if there is, it's very much higher. I use a 512 MB swap partition. > I tried to seperate it into 2 partitions of 256 megs but then I had > trouble activating both swap patitions. The system would just mount > one. In general, it's a bad idea to have two swap partitions on one drive, since you're likely to have more positioning during swap. If this is what you've done, and they're physically contiguous, you should merge them. You'll need to boot in single-user mode to do this. On the other hand, two swap partitions should work. What does your /etc/fstab look like? You should have entries for both of them. What happens when you issue a swapon command for the other partition? What does 'pstat -s' say? On Friday, 17 March 2000 at 18:12:00 -0500, Jawwad Ahmed Shamsi wrote: > usually freebsd requires a size of 2.5 times the size of your ram. This is not correct. The amount of swap that FreeBSD requires depends on the application. It may be none at all, or it may be much more. I once inadvertently did a 'make world' on a machine without swap, and it completed normally. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message