Re: 100% CPU time for sysctl command, not killable

From: Mateusz Guzik <mjguzik_at_gmail.com>
Date: Sat, 02 Sep 2023 14:56:12 UTC
On 8/20/23, Alexander Leidinger <Alexander@leidinger.net> wrote:
> Hi,
>
> sysctl kern.maxvnodes=1048576000 results in 100% CPU and a non-killable
> sysctl program. This is somewhat unexpected...
>

fixed here https://cgit.freebsd.org/src/commit/?id=32988c1499f8698b41e15ed40a46d271e757bba3

employing basic profiling tooling immediately shows the issue, in this
case for example:
pmcstat -S inst_retired.any_p -TI

> Bye,
> Alexander.
>
> --
> http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
> http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF
>
>


-- 
Mateusz Guzik <mjguzik gmail.com>