From owner-freebsd-questions@FreeBSD.ORG Thu May 5 18:33:01 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 F1BB616A4CE for ; Thu, 5 May 2005 18:33:01 +0000 (GMT) Received: from smtpauth08.mail.atl.earthlink.net (smtpauth08.mail.atl.earthlink.net [209.86.89.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4A9143D58 for ; Thu, 5 May 2005 18:33:01 +0000 (GMT) (envelope-from algould@datawok.com) Received: from [206.255.31.21] (helo=[192.168.63.10]) by smtpauth08.mail.atl.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1DTl9c-0002iw-Bo for freebsd-questions@freebsd.org; Thu, 05 May 2005 14:32:56 -0400 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Thu, 5 May 2005 13:33:04 -0500 User-Agent: KMail/1.6.2 References: <20050505095927.26da64e9@jacob.6texans.net> In-Reply-To: <20050505095927.26da64e9@jacob.6texans.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200505051333.05098.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69563f9fea00a6dd62bc93df99fac2d6d4c8c548d6c95397d186350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 206.255.31.21 Subject: Re: 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 18:33:02 -0000 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