From owner-freebsd-questions@FreeBSD.ORG Thu May 29 10:44:10 2003 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 52BF937B401 for ; Thu, 29 May 2003 10:44:10 -0700 (PDT) Received: from out006.verizon.net (out006pub.verizon.net [206.46.170.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6767F43F85 for ; Thu, 29 May 2003 10:44:09 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([129.44.60.214]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030529174408.CHRG25800.out006.verizon.net@mac.com>; Thu, 29 May 2003 12:44:08 -0500 Message-ID: <3ED646E7.1070904@mac.com> Date: Thu, 29 May 2003 13:44:07 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: keith@smmc.qld.edu.au References: <1123.203.221.19.11.1054208682.squirrel@localhost.smmc.qld.edu.au> In-Reply-To: <1123.203.221.19.11.1054208682.squirrel@localhost.smmc.qld.edu.au> X-Enigmail-Version: 0.75.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [129.44.60.214] at Thu, 29 May 2003 12:44:08 -0500 cc: freebsd-questions@freebsd.org Subject: Re: getswapspacefailed <-- OUCH ! Help? 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, 29 May 2003 17:44:10 -0000 keith@smmc.qld.edu.au wrote: > Hi all, I have a mail server which I setup (4.7) late last year. > iT often starts to crap out with getswapspace failed errors. > a) How can I check how much swapspace I had allocated. top will do, or swapinfo. > b) How can I check if the drive has a bad block on the swap slice dd if=_swap_device of=/dev/null bs=5120 > c) How can I fix the problem You need to identify what the problem is, first. Then resolve it. :-) How much RAM and swap space does the machine have? Are you simply putting enough load on it to exceed the available resources? -Chuck