From owner-freebsd-questions@FreeBSD.ORG Thu May 5 14:59:30 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B0F716A4CE for ; Thu, 5 May 2005 14:59:30 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D7A243DA6 for ; Thu, 5 May 2005 14:59:30 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101])j45ExRFT023016 for ; Thu, 5 May 2005 10:59:27 -0400 X-ORBL: [64.108.40.225] Received: from jacob.6texans.net (adsl-64-108-40-225.dsl.rcfril.ameritech.net [64.108.40.225])j45ExRkb066348 for ; Thu, 5 May 2005 10:59:27 -0400 Date: Thu, 5 May 2005 09:59:27 -0500 From: Jacob S To: freebsd-questions Message-ID: <20050505095927.26da64e9@jacob.6texans.net> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Running out of memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 14:59:30 -0000 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