Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 May 2023 18:43:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271246] Kernel wired memory leak with repeated netstat
Message-ID:  <bug-271246-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271246

            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:

while(1)=20
  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 c=
an
eventually lead to swapping, thrashing, and then a panic.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271246-227>