From owner-freebsd-current@FreeBSD.ORG Wed Jul 23 08:56:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 151C437B401 for ; Wed, 23 Jul 2003 08:56:43 -0700 (PDT) Received: from hotmail.com (law10-oe22.law10.hotmail.com [64.4.14.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF9143FAF for ; Wed, 23 Jul 2003 08:56:42 -0700 (PDT) (envelope-from segr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 23 Jul 2003 08:56:42 -0700 Received: from 142.173.139.189 by law10-oe22.law10.hotmail.com with DAV; Wed, 23 Jul 2003 15:56:42 +0000 X-Originating-IP: [142.173.139.189] X-Originating-Email: [segr@hotmail.com] From: "Stephane Raimbault" To: References: Date: Wed, 23 Jul 2003 09:56:32 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 23 Jul 2003 15:56:42.0575 (UTC) FILETIME=[02A055F0:01C35133] cc: Bosko Milekic Subject: Re: FreeBSD 5.1-R kernel panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 15:56:43 -0000 Hi Bosko, Looking at netstat -m, the value I'd probably be interested in is the following: 3% of cluster map consumed knowing that the Maximum possible is 25600 I can deduce that ~768 are being used? Is that correct. I'm not much of a programmer, but I did recognize the printf(); statements from a C class I didn't do well in half a decade ago... as you can tell, I'm not much of a programmer :). If it's not the 3% I should be paying attention too... then let me know :) As for using the option DDB in my kernel, I do have one question. I do have remote console access that I use to go into single user mode on the box remotely. I'm suspecting I could use the debugger mode over the comconsole... I just want to make sure there is some kind of reboot command from the debugger so that I can tell the box to reboot once I've captured the stack trace? If so, I'll enable the DDB tonight and get you the info as soon as I can. thanks again, Stephane. ----- Original Message ----- From: "Bosko Milekic" Newsgroups: mailing.freebsd.current Sent: Wednesday, July 23, 2003 9:28 Subject: Re: FreeBSD 5.1-R kernel panic > > On Wed, Jul 23, 2003 at 09:24:24AM -0600, Stephane Raimbault wrote: > > Thanks Bosko, > > > > I've changed my /boot/loader.conf to reflect the kern.vm.kmem.size option. > > > > kern.vm.kmem.size="350000" > > > > As far as changing the nmbclusters, I'm not sure how many I use now. Do you > > know where I could get some values as what the total vs. how much is being > > used for the above values? I'll setup some graphs to monitor those values > > for me and get an idea of how much the system is using and when if I can. > > 'netstat -m' > > You can access the relevant sysctls directly; take a look at the way > netstat does it in src/usr.bin/netstat/mbuf.c > > > Also, I took a quick look at the developers handbook and couldn't find just > > yet what I needed to change to the kernel to provide a stack trace... do you > > know what options I should be adding to my kernel? Also, should I try not > > to use an SMP kernel and just run GENERIC to see if continues to have the > > problem? I can probably run on one CPU for a few days, especially over the > > weekend. > > At the very least, you need "options DDB". This will drop you into > the debugger on a kernel panic, at which point you can just issue 'tr' > to get a stack trace. Be careful, if you only have remote access to > the machine, this is generally not a good idea. > > > Thanks, > > Stephane. > > > -- > Bosko Milekic * bmilekic@technokratis.com * bmilekic@FreeBSD.org > TECHNOkRATIS Consulting Services * http://www.technokratis.com/ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"