Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2005 11:31:14 -0400
From:      Gary Mu1der <gmulder@infotechfl.com>
To:        Matt Juszczak <matt@atopia.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD -STABLE servers repeatedly crashing.
Message-ID:  <42C16D42.4090304@infotechfl.com>
In-Reply-To: <42C16394.4040904@atopia.net>
References:  <42BF8815.6090909@atopia.net> <20050627081933.GA97832@cell.sick.ru> <42C16394.4040904@atopia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Matt Juszczak wrote:
> Ever since I setup the debug kernel the machine is now crashing every 12 
> hours.  I think I have to switch to OpenBSD or 4.11 FreeBSD because this 
> box can't keep crashing.  It  refuses to do a crash dump.
> 
> -Matt

Matt,

Does it refuse to crash dump or is it that you can't get the core file back?

Make sure you have enough disk space in /var/crash for capturing the 
dump. You need at least as much free disk as you have memory configured.

There was a post saying that fsck may be trashing core files if it 
starts using swap. To maximize the chances of recovering the core file 
boot into single user after the crash and do the following:

fsck -y		# or fsck and read every question, if you're paranoid
mount -f /	# remounts root read/write
mount /var
savecore /var/crash
exit

Gary



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