[Bug 284815] RCTL memoryuse limit is not working

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Mar 2025 00:13:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284815

--- Comment #3 from jSML4ThWwBID69YC@protonmail.com ---
Hello, 

I think I may be misunderstanding how it's supposed to work.

The processes I see using excessive memory are items like PHP, or PostgreSQL.
Both seem to use some kind of anonymous memory, which does not appear to be
restricted by the rctl memoryuse rule. 

I've tried the vmemoryuse option, and that causes resources to be restricted in
a way that breaks normal operation. Also, the values it shows are pretty crazy.
I've seen over a TB in memory usage reported, on a system with 128GB. The
accounting seems really incorrect. Should I open a different ticket for this?

Assuming I'm correct about the anonymous memory allocation being the issue,
then is there a way to fully limit memory usage by user id?

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