From nobody Tue Jul 30 06:12:18 2024 X-Original-To: pf@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 4WY4dG62Lkz5RK43 for ; Tue, 30 Jul 2024 06:12:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WY4dG54MLz4srr for ; Tue, 30 Jul 2024 06:12:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722319938; a=rsa-sha256; cv=none; b=nIH7lA8la+0FPTYFNycFgsM1WHd6zRWXDhtxHjlml01O9XvmhfWWi1Zq+ij5lO+Dhk1Kmf +G6dKsmZeuQ5lu7BowDWVSrlv2pJEGbTVQqbaeg//zwWH+/B7xxPk5iC8B7p+Hq+izMOOp +DjEaWI/ZHMBvZb7A6BB0acipgjQHARxbOAAfxlA0RU4ZUx4zC4BzTSsClo5Z1DcnmsJ8A PLcluTCU7+QU8Yri79h+3JrUNsB+Lh4awqLbV3P3Uc2ycXROvfBtSbxt5ivS1oLjGM9eN0 oEmXAXqaKBnrc9jE9I7nDrG1gDhl/C/5kf9ZRdYad5K1FTeUPCrASg2TrC50xA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722319938; 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=lZ1nswrMGpbcxrVMij1ocpwWf+xa3XaehMDDCAq35pU=; b=R665n1cZv5D2+SUMzQyhO1FlK1/gexUv3rpIgRjpjvJWS0e+9DDZZ8mNMAR6k1vp16zobc P+8N9dkpBgEmu87x++sscZNBos1CoglofPMOwwYrmZdXB4q/ocZtHJgQtnuipjX/k5qXqP YKME6+paGrwF3TwbNds50EzyFipWsPHspWOFrhydlmbl5MMWkr8wtkxO5jvWkGdCteNIMq lzOkWC+5NbXjbaD0XHEebby8ob5tMndtqUYzXR903XNNve7Nxp+ZQHyuQ+VXtZMP9Z9Sdb Js6awB4DgFpzU4kHgxjxtVWkGQcUo+ioCJ1skUNyuS1qoybzmJJDGnSPmZ4x3A== 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 4WY4dG4fbdz15QT for ; Tue, 30 Jul 2024 06:12:18 +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 46U6CIT9061940 for ; Tue, 30 Jul 2024 06:12:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46U6CI28061939 for pf@FreeBSD.org; Tue, 30 Jul 2024 06:12:18 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: pf@FreeBSD.org Subject: [Bug 276870] mbuf cluster leak with on pf+bird2 bgp routers Date: Tue, 30 Jul 2024 06:12:18 +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: borjam@sarenet.es X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-pf@freebsd.org Sender: owner-freebsd-pf@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276870 Borja Marcos changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |borjam@sarenet.es --- Comment #5 from Borja Marcos --- I may have something related (or not). I have observed a severe mbuf leak with the following sysctl variables grow= ing steadily. vm.uma.mbuf_packet.stats.current vm.uma.mbuf_cluster.stats.current vm.uma.mbuf.stats.current THe server on which I have been observing this runs quite a lot of stuff, s= o, suspecting some particular process(es) causing this I checked for the culpr= it. Turns out the culprit (trigger I should say) is a version of nfsen that uses threads. My main suspects are the nfcapd or sfcapd daemons which create and destroy threads. The funny thing is, I run two concurrent versions of these daemons. The old ones do *not* leak mbufs, while the recent ones do. The daemons are supposed to be pretty straightforward, receiving UDP packet= s in Netflow/sFlow/IPFix format. --=20 You are receiving this mail because: You are the assignee for the bug.=