From owner-freebsd-questions@FreeBSD.ORG Fri Aug 8 13:53:27 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D1C8299B for ; Fri, 8 Aug 2014 13:53:27 +0000 (UTC) Received: from bein.link (unknown [IPv6:2a02:2770:3:0:21a:4aff:fee6:9061]) by mx1.freebsd.org (Postfix) with ESMTP id 9D2F125E2 for ; Fri, 8 Aug 2014 13:53:27 +0000 (UTC) Received: from quad.localnet (unknown [172.16.32.6]) by bein.link (Postfix) with ESMTPSA id 7929040339; Fri, 8 Aug 2014 15:53:11 +0200 (CEST) From: Maxim V FIlimonov To: freebsd-questions@freebsd.org Subject: Re: it keeps crashing and I don't know why Date: Fri, 08 Aug 2014 17:53:24 +0400 Message-ID: <5977479.X3zZlsES59@quad> User-Agent: KMail/4.12.5 (FreeBSD/10.0-RELEASE; KDE/4.12.5; amd64; ; ) In-Reply-To: <20140808132735.GA2102@home.parts-unknown.org> References: <20140808132735.GA2102@home.parts-unknown.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: David Benfell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2014 13:53:27 -0000 On Friday 08 August 2014 06:27:35 David Benfell wrote: > Hi all, > > This is on my new server. I seem to have made a couple mistakes that I > know about. > > First, I followed the default installation in only creating a 4GB swap > partition. It has 16GB of memory. I'm not getting crash dumps. (Not > that I have any idea how to deal with a crash dump once I have one.) > > Second, I went to 10/stable rather than sticking with 10/release. > 10/stable seems fine (except for booting) on my notebook. But I have > no idea why this server keeps crashing. > > It does not crash at predictable intervals. It will sometimes go > several hours without crashing. Sometimes it only goes a few minutes. > > The network seems somehow involved. Sometimes--not always--it will > hang rather than reboot. When it does this, it also hangs the network > for everybody who's on it, not just the server itself. All I have to > do is unplug the ethernet cable and plug it back in: Then it will--I > guess--do its panic and reboot. > > But there is no clue that I know where to find in the logs. It's ugly. > Databases get corrupted. Sometimes fsck needs to be run manually. > > Also, ipfw doesn't start properly and I have to run the script > manually. This baby can't be left unattended. > > I'm thinking I need 1) to revert to release; and 2) increase the swap > allocation. The latter would entail shrinking the root partition to > allow for an increase in the swap partition (this is GPT). > > This requires a reinstallation, right? I had a similar problem: it gave a kernel panic at random moments. Packages got corrupted and so on. I ran memtest86+ and it found that all of my memory was broken. So I recommend to check the memory as it was said above. if you happen to check the memory, please wait till test 7: it might give you most of the errors. -- wbr, Maxim Filimonov che@bein.link