From owner-freebsd-questions@FreeBSD.ORG Mon Apr 13 19:12:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 418D4106566B for ; Mon, 13 Apr 2009 19:12:27 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id D03878FC14 for ; Mon, 13 Apr 2009 19:12:26 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 97610 invoked by uid 89); 13 Apr 2009 19:13:03 -0000 Received: from unknown (HELO ?192.168.1.4?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 13 Apr 2009 19:13:03 -0000 Mime-Version: 1.0 (Apple Message framework v753.1) References: <40528230-EEF0-4589-AE6B-7693D7878E1B@identry.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <78F1596B-80B7-43BD-AB6F-2BE880D9636D@identry.com> Content-Transfer-Encoding: 7bit From: John Almberg Date: Mon, 13 Apr 2009 15:12:25 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Fwd: How to diagnose hardware problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 19:12:27 -0000 On Apr 13, 2009, at 2:32 PM, Wojciech Puchar wrote: >> >> The database ran well for about 2 minutes, then the server crashed >> again. The filesystem was again corrupted so badly that we could >> not even log in to look at the logs. > > did memtest? it looks like it's fine until you stress your hardware I didn't, but I just installed it and am running it at the moment. So far, so good. The machine has 1G of memory, but I could not get an mlock unless I request 100 Meg or less. That is, I need to run something like: # memtest 100 Does this sound right? If I run with 125 Meg, I get the following: # memtest 125 memtester version 4.0.8 (64-bit) Copyright (C) 2007 Charles Cazabon. Licensed under the GNU General Public License version 2 (only). pagesize is 4096 pagesizemask is 0xfffffffffffff000 want 125MB (131072000 bytes) got 125MB (131072000 bytes), trying mlock ...failed for unknown reason. Continuing with unlocked memory; testing will be slower and less reliable. Loop 1: Stuck Address : ok Random Value : ok Compare XOR : ok Compare SUB : ok Compare MUL : ok etc... -- John