From nobody Tue Jul 30 06:12:18 2024 X-Original-To: net@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 4WY4dG5ytWz5RJXD 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 4WY4dG4MW7z4sws 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=LtyqgawzcdIfqY/pfGei/2AD5vprxiXQZG7pGKfbdKgoQRrbq7iLZJ1FTKC1qA0jSE0Crt fqurFtpqCus6KFyanjhoFA9/3RJyAhelEUo7nPSUJyOUnqlukRid/grNEzy7FnWcQnWj2k yb9oDY5G9FN6nKgbBLY80SxVD9dDhKKLKfzMm9ZwkMtsii/K+qfaaKw8EzFZElM/Ga8DYl ORoH/C4TVtpQC00S/7cOoHXUfdYX592rUN5c3Lj4q5DMzwchfYgT2uVOf8zFvj9lx/yhnh zddBvctyU/2cqmXjo605xsA4qaxutCFCPi/FCkcSWQ8augW7+Rj+sPgB529gAw== 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=DvKUZNVaersQV8en6q5JL0ZlRA2TwljyKeVkneTrteI=; b=IdBSQRW1e43Bzg8xWJQg9CLgTzweLiqK3EAtK5yGnJ7WrDEa1Pf5dyp0LKG0uz2p6KjXP+ uW7q5H8lzw5AhCWJSpdfdlkI8mZa3i4VUCTSFOixWgiqBl2tm4j0vGoaobsZdvZZkoq+Re 4KkTST6rfUs1r4/TZnO2lfAjZLFZGSyKtlqsZbElQ4yzecyss9Gpdk/AJrHiEA5052r5gT 9lkzr4KBAAdxuuBNOqujvIwcehnZ4U/hCeZjIpzvXaUBY3/ptWtkss51sqPkQqnFDo6rbl SUwAiuKHqxUT/0lXTvdEtIloPMTqLZBzrF0Cgy+XJ63oEOCCgvin0nqZDuyx3A== 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 4WY4dG3ywLz15SL 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 46U6CIvF061935 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 46U6CIFV061934 for net@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: net@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: CC 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@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 on the CC list for the bug.=