Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Sep 2023 16:56:12 +0200
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        current@freebsd.org
Subject:   Re: 100% CPU time for sysctl command, not killable
Message-ID:  <CAGudoHG%2BvS7P-4WEa6NXPhnDp8jW%2BQMVGvqoRAKbfWm40h=n%2Bg@mail.gmail.com>
In-Reply-To: <67616bb5b074851832053a0286c3c2fa@Leidinger.net>
References:  <67616bb5b074851832053a0286c3c2fa@Leidinger.net>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGudoHG%2BvS7P-4WEa6NXPhnDp8jW%2BQMVGvqoRAKbfWm40h=n%2Bg>