PRINTF_BUFR_SIZE=4096?

Andriy Gapon avg at FreeBSD.org
Fri Dec 23 22:31:18 UTC 2011


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


More information about the freebsd-stable mailing list