FreeBSD -STABLE servers repeatedly crashing.

Gary Mu1der gmulder at infotechfl.com
Tue Jun 28 15:30:25 GMT 2005


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


More information about the freebsd-stable mailing list