[Bug 271580] vmemoryuse counts shared memory as a sum for all processes

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 May 2023 10:39:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271580

            Bug ID: 271580
           Summary: vmemoryuse counts shared memory as a sum for all
                    processes
           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: KOT@MATPOCKuH.Ru

The system counts memory uses a summary RSS for every process ran, not
excluding the shared memory.

Resulting, for example, I can't open multiple connections for a postgresql
database in a jail which vmemoryuse is set, because pgsql forks a child
process, that uses a global huge shared memory pool.

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