From owner-freebsd-questions@FreeBSD.ORG Tue Mar 22 01:26:53 2005 Return-Path: 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 27C0716A4CE for ; Tue, 22 Mar 2005 01:26:53 +0000 (GMT) Received: from mx3.uidaho.edu (mx3.uidaho.edu [129.101.155.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id C406C43D55 for ; Tue, 22 Mar 2005 01:26:52 +0000 (GMT) (envelope-from andrewr@uidaho.edu) Received: from mailA.its.uidaho.edu (mailA.its.uidaho.edu [129.101.155.252]) by mx3.uidaho.edu (8.13.1/8.13.1) with ESMTP id j2M1QqG0000485 for ; Mon, 21 Mar 2005 17:26:52 -0800 Received: from uidaho.edu (mailA [129.101.155.252]) by mailA.its.uidaho.edu (Go Vandals!) with ESMTP id <0IDQ00D2HC0SY4@mailA.its.uidaho.edu> for freebsd-questions@freebsd.org; Mon, 21 Mar 2005 17:26:52 -0800 (PST) Received: from [129.101.151.24] by mailA.its.uidaho.edu (mshttpd); Mon, 21 Mar 2005 17:26:52 -0800 Date: Mon, 21 Mar 2005 17:26:52 -0800 From: Andrew Robinson To: Dan Nelson Message-id: MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.21 (built Sep 8 2003) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7bit Content-disposition: inline X-Accept-Language: en Priority: normal X-SpamDetails: rule=notspam policy= score=0 mlx=0 adultscore=0 adjust=0 engine=2.5.0-05031800 definitions=2.5.0-05032100 X-SpamScore: 0 cc: freebsd-questions@freebsd.org Subject: Re: Increasing system message buffer size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 01:26:53 -0000 Thanks Dan! Andrew ----- Original Message ----- From: Dan Nelson Date: Monday, March 21, 2005 3:56 pm Subject: Re: Increasing system message buffer size > In the last episode (Mar 21), Andrew Robinson said: > > I'm working on a problem that would benefit from verbose logging of > > the boot process. Unfortunately my logging is SO verbose that it > > fills up the available system buffer. I'm trying to figure out how > > to change the buffer size. I'm on 5.3 Stable. > > > > It looks like one way to do it might be to recompile the kernel, > with > > > > options MSGBUF_SIZE=65536 > > > > set. Is that the best way? If so, what is the default size of the > > buffer? I checked NOTES in /usr/src/sys/i386/conf but couldn't find > > any reference to it. > > Yes, that's the only way to do it. It might be possible to convert it > into a tunable (which would let you set it in /boot/loader.conf), > but I > don't know how early in the boot process tunables are available. The > default is 32768 (see /sys/sys/msbguf.h). > > -- > Dan Nelson > dnelson@allantgroup.com >