From owner-freebsd-questions Sat Jan 26 8:42:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (cfedde.dsl.frii.net [216.17.139.141]) by hub.freebsd.org (Postfix) with ESMTP id 55ECF37B400 for ; Sat, 26 Jan 2002 08:42:32 -0800 (PST) Received: from fedde.littleton.co.us (localhost [127.0.0.1]) by fedde.littleton.co.us (8.11.6/8.11.4) with ESMTP id g0QGgT868534; Sat, 26 Jan 2002 09:42:29 -0700 (MST) Message-Id: <200201261642.g0QGgT868534@fedde.littleton.co.us> To: "alexus" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: out of swap space In-Reply-To: <003401c1a671$e7801250$faa0b542@noc> From: Chris Fedde Date: Sat, 26 Jan 2002 09:42:29 -0700 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 Sat, 26 Jan 2002 09:01:08 -0500 "alexus" wrote: +------------------ | hi | | is there a way to increase size of swap space? | | i have 512mb of ram and 512mb of swap space | | i had 256mb of ram before so i created 512mb of swap space | now i put another 256mb in and i'm still running out of space | | so i was asking if there is a way to increase size of swap space? +------------------ You want to spread your swap over all the drives in the box. So allocate one or more partitions on each drive. The rule of thumb that swap should be twice the size of ram. But on a busy server you want enough ram to avoid swapping at all. It is posible to configure swap in a file by using a combination of vnconfig and swapon but swap configured this way is much slower than raw partition swap. Good Luck -- Chris Fedde To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message