https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271246

            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: b...@freebsd.org
          Reporter: d...@jetcafe.org

Consider the following simple loop:

while(1) 
  netstat >/dev/null
end

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.

Reply via email to