From nobody Wed Feb 7 15:31:17 2024 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 4TVPGY4pNrz59ZRM for ; Wed, 7 Feb 2024 15:31:17 +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 4TVPGY2xrRz4LW2 for ; Wed, 7 Feb 2024 15:31:17 +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=1707319877; 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=rmzfa8pNrpKNXn0k1kyPGdNTwhPDrA6ZnSR5ZKxx/VU=; b=OTnAdLAOpgFxxAcNsk8cCZgkS9ystekAasQ/tWlVKRDx45HOEMTK/wgI62sAz8QML2M+ae d3TGGKvtsKVKm82Zpa68CahaGIkoFFQYxwSY5bKknQta9lUVBlWw2Pqq91HkbypjidQt92 xIcmWebOVoOQuttytbgUi7Lsdul6INBSU1wyOI4G1MAeNnrVvLH21HCLvRIJFH7WYyudU3 hK5zN4hQYOPC+TSbQAYRIbrM2k2ZbdOhyrGc7PVJYAVhnBmaDz1yJFbyNeHudUdhc3Q0GZ uXdIZaujf/2XNJuVlcmS1I0ZkvCW/VsYW8DolV/iOMVXaNDA5kkc4ffGj5baKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707319877; a=rsa-sha256; cv=none; b=Oivj9qbhSxqAlAXTJt6Ec7Bc9p6BTOKbgPkoqfjTbJKRrd2iwdyXuj7fLRyPmk440YMV+0 wAX3buUff+yP6HyjeNuvtZiPWzuZtIxjCoptd6oEmkVOOqd+b+bnOn1DkypHknE0XEmxDr 0pqjz5cef3EPnYEPcLzxKwBSYC0vrzYSi7pJX8tM3mGwQAVXLu/6gWWRibuQZrGMScLH2V tsSaDX9EutiIx/stDGcIF5sO9h9o+Q7+7YG8FJ88Z77JGAUQQz2DLwBZy+rTEtfcbENFrl zSaD2jInZpUeJYjgy6cTmagzr25eE0bBfTGNgz/PzY3WeGfY+KqHwcb/fbKI7g== 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 4TVPGY21dNz1BlC for ; Wed, 7 Feb 2024 15:31:17 +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 417FVHUR004616 for ; Wed, 7 Feb 2024 15:31:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 417FVHBr004613 for bugs@FreeBSD.org; Wed, 7 Feb 2024 15:31:17 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 276870] mbuf cluster leak with on pf+bird2 bgp routers Date: Wed, 07 Feb 2024 15:31:17 +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: thomas@gibfest.dk 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276870 --- Comment #1 from Thomas Steen Rasmussen / Tykling --- ps. The very rudimentary netstat -m exporter is here, needs jq and sponge installed: [tykling@dgncr2a ~]$ cat /etc/cron.d/netstat_mbuf_exporter # Run netstat_mbuf_exporter.sh every minute and put the output in prometheus textfile collector directory * * * * * root /usr/local/bin/netstat_mbuf_exporter.sh | /usr/local/bin/spo= nge /var/tmp/node_exporter/netstat-mbuf.prom [tykling@dgncr2a ~]$ cat /usr/local/bin/netstat_mbuf_exporter.sh #!/bin/sh /usr/bin/netstat -m --libxo json | /usr/local/bin/jq -r '."mbuf-statistics"= | keys_unsorted[] as $k | "\($k) \(.[$k])"' | /usr/bin/tr "-" "_" | /usr/bin/= sed "s/^/freebsd_netstat_mbuf_/g" [tykling@dgncr2a ~]$ head -5 /var/tmp/node_exporter/netstat-mbuf.prom freebsd_netstat_mbuf_mbuf_current 1495568 freebsd_netstat_mbuf_mbuf_cache 3547 freebsd_netstat_mbuf_mbuf_total 1499115 freebsd_netstat_mbuf_cluster_current 749044 freebsd_netstat_mbuf_cluster_cache 3558 [tykling@dgncr2a ~]$ --=20 You are receiving this mail because: You are the assignee for the bug.=