From owner-freebsd-questions Mon Jan 28 10:13:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from db.nexgen.com (db.nexgen.com [66.92.98.149]) by hub.freebsd.org (Postfix) with SMTP id AA03437B417 for ; Mon, 28 Jan 2002 10:13:26 -0800 (PST) Received: (qmail 94787 invoked from network); 28 Jan 2002 18:13:25 -0000 Received: from oxyetb.com (HELO alexus) (@66.92.98.145) by secure.nexgen.com with SMTP; 28 Jan 2002 18:13:25 -0000 Message-ID: <003201c1a827$7724dce0$0d00a8c0@alexus> From: "alexus" To: "Chris Fedde" Cc: References: <200201261642.g0QGgT868534@fedde.littleton.co.us> Subject: Re: out of swap space Date: Mon, 28 Jan 2002 13:13:19 -0500 Organization: NexGen MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 how can i allocate another partition on live server? i mean i can't put another hard drive there.. due to i have planty of space on this drive can i somehow cut a little bit of / partition and make it add to swap? ----- Original Message ----- From: "Chris Fedde" To: "alexus" Cc: Sent: Saturday, January 26, 2002 11:42 AM Subject: Re: out of swap space > 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