From owner-freebsd-questions Sun Sep 8 9:46:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92B8837B400 for ; Sun, 8 Sep 2002 09:46:53 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8A9E43E3B for ; Sun, 8 Sep 2002 09:46:52 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g88GkiS70811; Sun, 8 Sep 2002 11:46:44 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020908114644.00fbeac8@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 08 Sep 2002 11:46:44 -0500 To: Matthew Seaman From: "Jack L. Stone" Subject: Re: dumpdev Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20020908162746.GA6669@happy-idiot-talk.infracaninophi> References: <3.0.5.32.20020908105055.00fbeac8@mail.sage-one.net> <3.0.5.32.20020908105055.00fbeac8@mail.sage-one.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 05:27 PM 9.8.2002 +0100, Matthew Seaman wrote: >On Sun, Sep 08, 2002 at 10:50:55AM -0500, Jack L. Stone wrote: >> Running 4.5-RELEASE >> >> I've got a server that crashes on a weekly basis and am trying to find out >> why. >> >> I noticed in the /etc/defaults/rc.conf file there is a setting for crash >> dumps: >> dumpdev="NO" # Device name to crashdump to (or NO) >> dumpdir="/var/crash" # Directory where crash dumps are to be stored >> >> But, I'm not sure what the "dumpdev" is supposed to be.... >> Any tips appreciated for what may be a real dumb question.... > >Dumpdev is usually the same as your swap device, so /dev/ad0s1b or >/dev/da0s1b would be common choices. You need to have a swap area >that's at least slightly larger than the amount of RAM in your machine >for that to succeed. As the system is panicing, it doesn't have time >for such niceties as files, so the memory image just gets scribbled >over the end of the specified device. > >Therefore, when you reboot after a crash, fairly early on, the >savecore(8) process is used to copy the crash image out of the dumpdev >into some files under the dumpdir for later consideration. That means >you need plenty of space in your dumpdir too. > > Cheers, > > Matthew > >-- >Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way Ah... thought it would be something like that, but unsure and couldn't locate docs on it. Many thanks! Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message