Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2002 11:53:37 -0500
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        "alexus" <ml@db.nexgen.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: out of swap space
Message-ID:  <20020126165338.673824009@i8k.babbleon.org>
In-Reply-To: <003401c1a671$e7801250$faa0b542@noc>
References:  <003401c1a671$e7801250$faa0b542@noc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 26 January 2002 09:01 am, alexus wrote:
> hi
>
> is there a way to increase size of swap space?

Well, that depends on whether you have space that you aren't using.  You 
don't have to actually increase the size of the swap partition since you can 
have more than one swap device active.  However, you do have to somehow wind 
up with some disk space that you can convert to swap.  It need not be a 
seperate physical partition (slice); indeed, it's usually not.  So if you 
have a FreeBSD partition that isn't full, you might be able to split it.  For 
example, if you have /var in a separate partition, and you have enough space 
for the /var files in / or /usr, you could move them there (and if you move 
them to /usr, set up a symbolic link from /var to /usr/var), and then convert 
/var to a swap partition.  Once you convert it to a swap parition and mark it 
as such in /etc/fstab, it will be automatically mounted as swap space next 
time you reboot and can be added immediately with swapon for the current boot.

>
> 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?
>
> this is live server and i can't afford for it to be down, so place no
> suggestions like partion magic.. this is so windowish:)
> unless thats the only one solution then i might consider..
>
> and yes i'm going to put more physical memory, but i still would like to
> know if there is a way to increase swap size
>
> thank you in advance
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Brian T. Schellenberger . . . . . . .   bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)
                                        http://www.babbleon.org

-------> Free Dmitry Sklyarov!  (let him go home)  <-----------

http://www.eff.org                 http://www.programming-freedom.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?20020126165338.673824009>