Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 May 2005 09:59:27 -0500
From:      Jacob S <stormspotter@6Texans.net>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Running out of memory
Message-ID:  <20050505095927.26da64e9@jacob.6texans.net>

next in thread | raw e-mail | index | archive | help
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



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