From nobody Fri May 05 19:32:37 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 4QCgnL2yFLz49jKp for ; Fri, 5 May 2023 19:32:38 +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 4QCgnL1vv3z3K98 for ; Fri, 5 May 2023 19:32:38 +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=1683315158; 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=z/v77KOF4IUl1+gW90QIntL1IitIKtqRtiiAQXAMDKs=; b=BNb4Ujo49En5vd7UjnnR2jN2NDT2XgJ/GVUdtJ2j512bscJnaMjfCxesi4AfSVyHv8kgH/ b3hEPlL7Yeaodr29y3pPaJeChNjP87wnEBtjTxRrJ7jpB4M7oupvIszWwwuNBRlkbvWVjC 5wm1BXrpQri37YHpAi2dSlC2CvFzxCPih0McY1Omp4kwlc/gHY5He4/zhGNnIlv7hPbLu8 KxtXXFQ4tunTFBkCET1HdDjpQ2hxQ35zQlSi1cyZ7V32m8Mi3uA8/dxtmb9ptdik9MDvCn SS2wZEdh93wMXbgQyZHccOJ2/249Yt0E8XiFd6UlxHIPaUEk1xW19J4xDAzjMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683315158; a=rsa-sha256; cv=none; b=DIexctT+B7JSxsLv1ga57GiSSOGL/n+dItTHCwCiHvH3hD9IaPEWr9acZc/juRIBkSp9AP txTlPg15QxHl50r9/KCxDywUTC4A1IjDOFneKK8TOJmgkkSUgdmGeY2QuFlYDgUbym/6sM 5eiPsD3vzTG5rjWOy8irPkYZt96Q7nrGC+c3UPaJaoXRUK9JYjRzrV5tgl9+1qgFOkMRbh e5X5QSXwnTlRBqSsbzm2Wzc3uFmheWZ/zlrLEBzQ/v7+b8nz1xu2RT7aljIM6TYexVTwyf i+zAcvSvVtxi68hRXL+/PjIKKAm/v43DL94TMMK0OS7tlDCTqjsnokV315G69w== 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 4QCgnL11DCz16ld for ; Fri, 5 May 2023 19:32:38 +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 345JWcB6087755 for ; Fri, 5 May 2023 19:32:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 345JWcsG087754 for bugs@FreeBSD.org; Fri, 5 May 2023 19:32:38 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, 05 May 2023 19:32:37 +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: New 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 #2 from Dave Hayes --- So I am not a modern kernel dev. That being said, I currently data over time of: - anything in sysctl=20 - vmstat -z ... malloc buckets and UMA=20 I can fairly easily monitor almost any other value I can get with a command= , I just need to know what to monitor exactly (*all* of vmstat -m or vmstat -z = is probably not indicated and a waste of prometheus space). Now having said that, I did this: # vmstat -m | sort -k 3 ... bus-sc 139 5134K 12172=20 16,32,64,128,256,384,512,1024,2048,4096,8192,16384,32768,65536 iflib 813 6241K 833=20 16,64,128,512,1024,2048,8192,16384,32768,65536 solaris 113 18692K 233=20 16,32,64,128,256,512,1024,2048,4096,8192,65536 md_sectors 7260 29040K 7260 4096 devbuf 28312 46705K 35453=20 16,32,64,128,256,384,1024,2048,4096,8192,65536 pf_hash 5 51204K 5 2048 Type InUse MemUse Requests Size(s) Does this help any? --=20 You are receiving this mail because: You are the assignee for the bug.=