Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2017 06:26:05 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        "Michael W. Lucas" <mwlucas@michaelwlucas.com>, hackers@freebsd.org
Subject:   Re: required kernel rebuilds
Message-ID:  <59B9BE8D.5050807@grosbein.net>
In-Reply-To: <20170913155542.GA25871@mail.michaelwlucas.com>
References:  <20170913155542.GA25871@mail.michaelwlucas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
13.09.2017 22:55, Michael W. Lucas пишет:
> Hi,
> 
> Book research question.
> 
> Way back in the Dark Ages of the 1990s, it wasn't uncommon to rebuild
> a kernel to fix a recurring panic. You'd have to tune MAXUSERS, or
> PMAP_SHPGPERPROC.
> 
> AFAIK, dang near everything is tunable in either loader.conf or
> sysctl.conf. I really want to say that kernel rebuilds for these kinds
> of limits aren't needed any more.
> 
> Does anyone have a counter-example, though? Is anything possibly
> crash-inducing non-tunable without a kernel rebuild?

Kernel stack overflow produce "double fault" panic and while
i386 and amd64 platforms have loader tunnable kern.kstack_pages to increase
this limit without need to rebuild the kernel, other platforms
still do not have such tunnable and have kernel config file "options KSTACK_PAGES" only.

See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219476 for details.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59B9BE8D.5050807>