Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2001 11:38:58 -0600
From:      "Mike Meyer" <mwm-dated-1009215538.786f24@mired.org>
To:        Cleto Pescia <cleto@eurisco.com>
Cc:        questions@freebsd.org
Subject:   Re: Out of swap space on FreeBSD 4.3-RELEASE
Message-ID:  <15392.53426.648102.428853@guru.mired.org>
In-Reply-To: <33045463@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Cleto Pescia <cleto@eurisco.com> types:
> Yesterday I ran into a strange problem on a moderately loaded FreeBSD
> 4.3R mail server (about 5K messages / week). I suddendly got the following
> error message:
> 
> Dec 18 16:48:55 mailhost /kernel: swap_pager: out of swap space
> Dec 18 16:48:55 mailhost /kernel: swap_pager_getswapspace: failed
> 
> And then I had no other option than to press the hardware Reset button.
> There was no way to access the machine.
> After rebooting the server went on to work as before, without any further
> problems.
> The machine is an IDE-based Pentium 200MHz with sendmail 8.11 / qpopper
> 2.53, and at the time of the crash had an uptime of about 150 days.
> The swap partition is 132 MB.
> I'm rather clueless about where to look to find the cause for the crash...
> I found no *.core files.
> Any idea?

Yeah - you ran out of swap space. Something you're running probably
has a memory leak. You need to monitor memory usage of the various
long-running daemons to figure out what it is, and fix that.

Matt Dillon did some work on making the system more stable when it
runs out of swap recently; you might consider upgrading the entire
system to 4.5 when that comes out. What this means is that instead of
your system locking up when you run out of swap, random processes will
get killed. This at least gives you a chance to figure out what ran
you out of virtual.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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