Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Dec 2012 17:18:59 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        FreeBSD Hackers <freebsd-hackers@FreeBSD.org>
Subject:   huge ktr buffer
Message-ID:  <50C0B763.8000004@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

So I configured a kernel with the following option:
options       KTR_ENTRIES="(1024UL*1024)"
then booted the kernel and did
$ sysctl debug.ktr.clear=1
and got an insta-reboot.

No panic, nothing, just a reset.

I suspect that the huge static buffer resulting from the above option could be a
cause.  But I would like to understand the details, if possible.

Also, perhaps ktr could be a little bit more sophisticated with its buffer than
just using a static array.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50C0B763.8000004>