From nobody Sun Aug 20 19:23:35 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 4RTQWt2F8sz4qc8v for ; Sun, 20 Aug 2023 19:23:54 +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 4RTQWs62tJz3K5p for ; Sun, 20 Aug 2023 19:23:53 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Authentication-Results: mx1.freebsd.org; none Received: from webmail2.leidinger.net (roundcube.Leidinger.net [192.168.1.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: Alexander@Leidinger.net) by outgoing.leidinger.net (Postfix) with ESMTPSA id 0091258D; Sun, 20 Aug 2023 21:23:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leidinger.net; s=outgoing-alex; t=1692559419; 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=5LoL+MhLwzFexRyJS1m4U6J+JRkeLqo8+XQGvfaakY4=; b=Sh9GkuBo5c4Mn1lr1QbTVEOp+/OR/vQlzdM8ksYJuQcOqTpSS36nv2K8cESokfCBXSBgG0 2wWsARhQGW2+3b+t/K2pk2FjDX9TA3EFlbgmGZpuLwpOLN2kNx/CGVI92WPlF709CfYZbP Vai+9X5VQriNukGxkme9z5rdsnRWJ+32iJa61khhQDw38oPLzLH5LSZ12wXD6N80RhgEwW 8Q3bdWRQWEYR8ADWU87pjWRv+TZCf9iM7/W82RPMfXJY3nPGtI7azsH3vWJ3ryrZ2s6IQC XSRlgO6P/yJBuF5/mcGVnU1eQ77IxZvBRbSG1ll3o8Uym2LVTYqtVPv70Mf+GQ== 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 Date: Sun, 20 Aug 2023 21:23:35 +0200 From: Alexander Leidinger To: =?UTF-8?Q?Mina_Gali=C4=87?= Cc: current@freebsd.org Subject: Re: 100% CPU time for sysctl command, not killable In-Reply-To: <-2rv9P1fc0I_nDQomzn-3shvEyCOkCA84lNmp7B3RdDOr9qBwG5QXZNT0R4ZPq0Z1S4-PyGC1xbVoNjPNHNmajxFq-ygNfDS4AqGzB0ylRU=@igalic.co> References: <67616bb5b074851832053a0286c3c2fa@Leidinger.net> <-2rv9P1fc0I_nDQomzn-3shvEyCOkCA84lNmp7B3RdDOr9qBwG5QXZNT0R4ZPq0Z1S4-PyGC1xbVoNjPNHNmajxFq-ygNfDS4AqGzB0ylRU=@igalic.co> Message-ID: X-Sender: Alexander@Leidinger.net Content-Type: multipart/alternative; boundary="=_fb8a0bfe27c23b524a871433d6194cfd" X-Rspamd-Queue-Id: 4RTQWs62tJz3K5p X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:34240, ipnet:89.238.64.0/18, country:DE] --=_fb8a0bfe27c23b524a871433d6194cfd Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8; format=flowed Am 2023-08-20 18:55, schrieb Mina Galić: > procstat(1) kstack could be helpful here. > > -------- Original Message -------- > On 20 Aug 2023, 17:29, 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... Bye, >> Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP >> 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP >> 0x8F31830F9F2772BF PID TID COMM TDNAME KSTACK 94391 118678 sysctl - sysctl_maxvnodes sysctl_root_handler_locked sysctl_root userland_sysctl sys___sysctl amd64_syscall fast_syscall_common Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF --=_fb8a0bfe27c23b524a871433d6194cfd Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

Am 2023-08-20 18:55, schrieb Mina Gali=C4=87:

procstat(1) kstack could be helpful here.
 
-------- Original Message --------
On 20 Aug 2023, 17:29, Alexand= er Leidinger Alexander@Leidinger.net> wrote:

Hi, sysctl kern.maxvnodes=3D= 1048576000 results in 100% CPU and a non-killable sysctl program. This is s= omewhat unexpected... Bye, Alexander. -- http://www.Leidinger.net Alexander= @Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@Free= BSD.org : PGP 0x8F31830F9F2772BF

  PID    TID COMM           &nbs= p;    TDNAME              KSTA= CK                     &n= bsp; 
94391 118678 sysctl           &nbs= p;  -                   s= ysctl_maxvnodes sysctl_root_handler_locked sysctl_root userland_sysctl sys_= __sysctl amd64_syscall fast_syscall_common 

Bye,

Alexander.

--
--=_fb8a0bfe27c23b524a871433d6194cfd--