From nobody Thu Sep 07 07:02:13 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rh9F14F4Hz4swYw for ; Thu, 7 Sep 2023 07:03:17 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from mailgate.Leidinger.net (bastille.leidinger.net [89.238.82.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mailgate.leidinger.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rh9F01JNjz4Wjb for ; Thu, 7 Sep 2023 07:03:16 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=leidinger.net header.s=outgoing-alex header.b=0++AA7pV; spf=pass (mx1.freebsd.org: domain of Alexander@Leidinger.net designates 89.238.82.207 as permitted sender) smtp.mailfrom=Alexander@Leidinger.net; dmarc=pass (policy=quarantine) header.from=leidinger.net List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1694070184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UXXNFgSJ0zv/GgemKx7InqUxj2f/HohxERCNu9Jm3P8=; b=0++AA7pVRqY7Dokf/MbNXsVU4NDCROIOvCptEtb72a+0EI0aQE5/4eH8WZHL/JWIvEIpGP 99eNav3SY9Gwzd8J4/vD5EivZIyH/qWhsrD5c+AoNlPzy/XwdAtz4E+yhznouz7ycBtNyj IpdpXeLy/5BOpkZc+qAntmD+301rTFxPyb/VxQ998UNAkbwuLiUFeHH78tzW3xd9M3CT1a 1lbXCqV7KA8ib4jumd/CI2eezLzkbyGTrQmavjLUUcNK+sN1FGxotDxez/UEP7MD7AUm1l +E/BG3czBzIzSf/DWRUrfhnvUN2e+SFkPTqXtxxEo1zX8qro7wEOt09GQBcG5Q== Date: Thu, 07 Sep 2023 09:02:13 +0200 From: Alexander Leidinger To: Mateusz Guzik Cc: current@freebsd.org Subject: Re: 100% CPU time for sysctl command, not killable In-Reply-To: References: <67616bb5b074851832053a0286c3c2fa@Leidinger.net> Message-ID: X-Sender: Alexander@Leidinger.net Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=_5723f5783b7ae973d13b1c053298ae17"; micalg=pgp-sha256 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.09 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[leidinger.net,quarantine]; R_DKIM_ALLOW(-0.20)[leidinger.net:s=outgoing-alex]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+mx]; MLMMJ_DEST(0.00)[current@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[leidinger.net:+]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_ATTACHMENT(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Rh9F01JNjz4Wjb 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 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--