Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2003 13:44:07 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        keith@smmc.qld.edu.au
Cc:        freebsd-questions@freebsd.org
Subject:   Re: getswapspacefailed <-- OUCH ! Help?
Message-ID:  <3ED646E7.1070904@mac.com>
In-Reply-To: <1123.203.221.19.11.1054208682.squirrel@localhost.smmc.qld.edu.au>
References:  <1123.203.221.19.11.1054208682.squirrel@localhost.smmc.qld.edu.au>

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




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