From nobody Fri May 12 01:39:29 2023 X-Original-To: bugs@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 4QHWds2pMRz4BK39 for ; Fri, 12 May 2023 01:39:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHWds1kJ6z3n0j for ; Fri, 12 May 2023 01:39:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683855569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/olR0VfikFq/lv8CwhZHqHd3lYFBGpXCw4OPU5bpOJE=; b=yIhYH6WLxtYLszUtF+JvWOiZfr2pqWlzdtnZ0xHNCT/0+koJQlu3syWGt3BrHaKkmFsLdH Wsfl9QRjspM/Z87G2DlzEWTSE5PddigQXiTb8G1iSwfaUg5vC3lpcFWDvGhW3dSoo2Sthl 5zAeHsTbQRbHPuWdro7v7wW8/PpS9SNggoxmpWuEA6cDUyRW/JZ5lRghxf6LSuKyjaH7Mu Wu8ZFYbFuSggFq7w5hmH8h3C8JCvpPBM07KIj6XMcR89Ct9FCOC0nNlGX5lSxX/SiS8NJk ESsgIZrpUoOFitdLn2OoTMpKntZTlPykHJYJQs8EAUhvSImDWIBH+nQJdo3bHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683855569; a=rsa-sha256; cv=none; b=mmsNMGP3fMKXihlBGU1g2k785ziUdTiZug0C/MI9AqnEdLNABjNQV3DIENYXoA7xv3FQN7 zQm0Zgb10gszovf7E3xXP4YQ32e1X83h5P7T7uPeEqPlM9Jqba9F24i39bAKYwCtp3a763 1zJiaQ+NOxIPOv5fmNEIWRKIZsBsbEFHduz1C7gVxKeOjjvZj+gQwFuDFp045OatvK4iAU KZtK7j07ijJVMIhRUm6YPrbq0jpy3j1/n6Cs+Ji0XbToSPAJJFCLHheOpXQCxrwZHRCKuI pAo2nKimqJbB+r0YMt9H+iXWU9A9yOPdsL2gwntI2RmA8X8mVFl5TkMtcrHXJg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QHWds0jJyzGPH for ; Fri, 12 May 2023 01:39:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34C1dT8C032155 for ; Fri, 12 May 2023 01:39:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34C1dTjZ032154 for bugs@FreeBSD.org; Fri, 12 May 2023 01:39:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271246] Kernel wired memory leak with repeated netstat Date: Fri, 12 May 2023 01:39:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dave@jetcafe.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271246 --- Comment #25 from Dave Hayes --- So, as part of monitoring, the machine in question does repeated netstats a= nd hence is always in that state. It's just a matter of figuring out what statistics are useful to you in finding the problem, as I likely collect way too much. As you might have noticed, I can produce graphs of any sysctl MIB that is exposed to root users.=20 Here is the information you requested: Mem: 66M Active, 1015M Inact, 4439M Wired, 1419M Buf, 10G Free It took some weeks for the machine to start thrashing last time, this is because the leak is very slow. My while loop above is just to make the leak more apparent. That vm pgcache value is still growing, even though I turned= the loop off (as is wired memory). --=20 You are receiving this mail because: You are the assignee for the bug.=