Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 May 2005 13:33:04 -0500
From:      "Andrew L. Gould" <algould@datawok.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Running out of memory
Message-ID:  <200505051333.05098.algould@datawok.com>
In-Reply-To: <20050505095927.26da64e9@jacob.6texans.net>

index | next in thread | previous in thread | raw e-mail

On Thursday 05 May 2005 09:59 am, Jacob S wrote:
> I've got a server that keeps running out of memory and crashing. It
> has 1GB of swap and 1GB of ram. I originally made the swap the same
> size as the ram, as my previous experience with *nix machines was
> that when swap is double the size of ram, the computer is almost
> totally unuseable for at least 30 minutes whenever the computer needs
> to clean out swap.
>
> Has anyone else seen this problem, or is it safe for me to add
> another GB of swap?
>
> Also, I made the mistake of partitioning all the space on the hard
> drive, with only 1GB set aside for swap. How big of a performance hit
> would it be to use a swap file instead of a swap partition? Is there
> an easy (and safe!) way to resize partitions so that I could add in a
> second swap partition?
>
> TIA,
> Jacob

What is it that you're doing that would use up so much RAM and swap?  
Was the high swap usage expected?

Andrew Gould


home | help

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