[Bug 271246] Kernel wired memory leak with repeated netstat

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 May 2023 18:43:27 UTC

            Bug ID: 271246
           Summary: Kernel wired memory leak with repeated netstat
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: dave@jetcafe.org

Consider the following simple loop:

  netstat >/dev/null

Running this loop will increase wired memory as measured by
vm.stats.vm.v_wire_count. This memory is never reclaimed by the OS, which can
eventually lead to swapping, thrashing, and then a panic.

You are receiving this mail because:
You are the assignee for the bug.