Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Dec 2011 00:31:09 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Charlie Martin <crmartin@sgi.com>
Cc:        Eric Richards <erichards@sgi.com>, Larry Fenske <LFenske@sgi.com>, freebsd-stable@FreeBSD.org, "Peter W. Morreale" <morreale@sgi.com>, Jeremy Chadwick <freebsd@jdc.parodius.com>
Subject:   Re: PRINTF_BUFR_SIZE=4096?
Message-ID:  <4EF5012D.2000804@FreeBSD.org>
In-Reply-To: <4EF4FED2.6020909@sgi.com>
References:  <4EF3B790.5050509@sgi.com> <20111223000705.GA6242@icarus.home.lan> <4EF4FED2.6020909@sgi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EF5012D.2000804>