From owner-freebsd-stable@FreeBSD.ORG Fri Dec 23 22:31:18 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CD82106566B for ; Fri, 23 Dec 2011 22:31:18 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A33B88FC12 for ; Fri, 23 Dec 2011 22:31:17 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA09991; Sat, 24 Dec 2011 00:31:10 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1ReDdu-0003Rt-IM; Sat, 24 Dec 2011 00:31:10 +0200 Message-ID: <4EF5012D.2000804@FreeBSD.org> Date: Sat, 24 Dec 2011 00:31:09 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111206 Thunderbird/8.0 MIME-Version: 1.0 To: Charlie Martin References: <4EF3B790.5050509@sgi.com> <20111223000705.GA6242@icarus.home.lan> <4EF4FED2.6020909@sgi.com> In-Reply-To: <4EF4FED2.6020909@sgi.com> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Eric Richards , Larry Fenske , freebsd-stable@FreeBSD.org, "Peter W. Morreale" , Jeremy Chadwick Subject: Re: PRINTF_BUFR_SIZE=4096? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 22:31:18 -0000 on 24/12/2011 00:21 Charlie Martin said the following: > In the course of looking at Jeremy's reponse to my query about a mystery panic, > I noted his recommendation that PRINTF_BUFR_SIZE be set to 256. Ever-obedient, > I went to set the value, and discovered instead that the conf file already has > it set to 4096. > > As he says below, there are concerns about setting the value too high causing > "major issues". > > I being Christmas and all I hate to ask Jeremy to dig up the post he mentioned, > but wonder if anyone can clue me in on what the major issues might be? Stack overflow. > Thanks, and regards > > Charlie Martin > > On 12/22/2011 05:07 PM, Jeremy Chadwick wrote: >> Also, be aware that the above stack trace is interspersed. Ultimately >> you get to clean up the output yourself. This is a long-standing >> problem with FreeBSD which can be helped but only slightly/barely by >> using "options PRINTF_BUFR_SIZE=256" in your kernel configuration (the >> default configs have a value of 128. Do not increase the value too >> high, there are concerns about it causing major issues; I can dig up the >> post that says that, but I'd rather not). > -- Andriy Gapon