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

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)

--=_5723f5783b7ae973d13b1c053298ae17
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed

Am 2023-09-03 21:22, schrieb Alexander Leidinger:
> Am 2023-09-02 16:56, schrieb Mateusz Guzik:
>> 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
> 
> I confirm.

There may be dragons...:
kern.maxvnodes: 1048576000
vfs.wantfreevnodes: 262144000
vfs.freevnodes: 0              <-----------------------
vfs.vnodes_created: 11832359
vfs.numvnodes: 146699
vfs.recycles_free: 4700765
vfs.recycles: 0
vfs.vnode_alloc_sleeps: 0

Another time I got an insanely huge amount of free vnodes (more than 
maxvnodes).

Bye,
Alexander.

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

--=_5723f5783b7ae973d13b1c053298ae17
Content-Type: application/pgp-signature;
 name=signature.asc
Content-Disposition: attachment;
 filename=signature.asc;
 size=833
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmT5dYYACgkQEg2wmwP4
2IZ4KA/8C8/E9QvhLHtGVuLZEtROJIYgpQo310iPxsQD36mgQZzMtPCs4RJGntia
fRJduT/T8znbfQJDjpOnq2mQDPo8EVCVGI1lU3v0vP5zvRDXDRk7YhlkNSFcTlrd
zLJHgcvWLISDseWUHNEmlsIkeLANQLfuLvkUcr6wOsxgDlAspGFcxHF7cDkkqLnS
EI3wNrv/mhPBiBWKPFT5o2mG3lssAKXV9euT/KOKo2FTzUoSQFr0uCaAb9hwl67F
1XePZnoEcwx0+9XNZQpgzIQp/uwLmDDZyz0w2TjseiUA9QY6Q0SorMaEwo+kWnel
373zhPHqeFJlOMm5qSe/9J537ZHhmyLkAIIgNyV8BoQaXLvmys0s/sch5JtDkzfj
fD7l5ZBy95+3cfDRvKOtfBOGaijZ/wYW23hn1JG34ffEGTIVhfYA3WpqtFtXFNFx
xBH07Ag+BS+XJ1oSci7XODl1jySeiqVZMXa8Ebh1gmukPeH9Zdo+a7XqokKGY9E8
N7HrGLtY/TOjh9oCOcHLNR2OWTJsUTIwiUMvvpmatyLvDSCZXlDlQzlZsLcKx+il
LgUGmXfSV9een8mc1TUOn4F2C7meDihi7Q/OckyJKInBfQSbUtEFdOXQCUSqGfQW
4K2BVT1igtMJrwUvbsuB4w1ynfIQoM/9k37bmO0xEZRtXbVi81Y=
=cmrv
-----END PGP SIGNATURE-----

--=_5723f5783b7ae973d13b1c053298ae17--



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