From nobody Tue Mar 18 00:13:26 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZGskb3DPGz5qwy6 for ; Tue, 18 Mar 2025 00:13:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZGskZ5mWKz3hcd for ; Tue, 18 Mar 2025 00:13:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742256806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+MxVuzoFfxN93AKMhZEGQ92uVbO2lqQd0qUzsLjHubU=; b=OMhkHw3gDptu8V3Ae66eoHRM4KQ/Qjzo5P56VcfrYGYbixTBliPb9ICov2A+cOmIpY/o/e 6h5RXFmjxmsk2LdjJQBeSRDB1nnKPge+/7yUwOHl1nX1Ad1Pa6JNKTivcNTuPgtjgK3t1j x2NqaTgw+9egIqBLROX1NrhhBGoCQ/TBQrHUyRZxpgZ/RTxv5EShHHjQtY4+rS7Es1fK0d U3Rgncjktjx9FUMJPVRsCziCvqU/foqv3uk61Vn+XkWad+65kZJ9jc/hwL2Ph5fNC6PRkE 0wwhO8vCYLUGTbiuOA3OwPMBCvLjQ23gXAoyoUAjcB/Be1nUBBI1blqn0kXOaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742256806; a=rsa-sha256; cv=none; b=uSGtaR+wJUYFhXxcrDPuKF3OjWsGK6PVTxMXB1V/l95vlkw+6IaTmzFW9pCWpM39CL+kQL 38tjTfzGK3hNf69Ym4npbql88Kw4q9R8pjkSTWxE6yqvpXZAP+C9xOBRFcypBjW+RCTVTn 4pDvWu37PLTo2VGCzkUqIblch1o6gQ8bRcK2TbCkwAAcjmaIiiGnJx+fKIoeadYhg0/Isn ZHxIvikZoM2MsqGRfnvO36kyrWcBBNpvcyq2/qSwNsngDFjLDJT/U+dzSk1r44wuQ8uwLM jI44uEdymdHlFk1Ok0mfsCzmTlbqghOPg0hJQZGbseF5fmYaQnRE5Gg5KAEAJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742256806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+MxVuzoFfxN93AKMhZEGQ92uVbO2lqQd0qUzsLjHubU=; b=FpXA/veXcwsN2QRhQkhYpaHORWVVIc+K1CLVWWb81CChMp6H5mtsuBAWq0mVjS9zcUPt0E VZ6TRnlkjQn14eZ0BPjmxVEZEW//ssU6Kzoq5Wj+xWvb5pMY+uIgs+/mA9lyDTT7OA/oIh H48asSYRpIXercpkJOVCfMK/ZjKSgOCuZRN19eyhsW1gdSaMPyNMrWHQE8996140sEW+v4 GF1xnWU2dRIakNvmE3sjqDGAgEc9IME6a9XppeVXUBcLwjn6zdJOZfKgZZAm4uZOVd3KHT DfQIjyNhWfJgtKtNoSsEKfmv4BCjWEGxw54/D36fUmOVGl6Snj2WVBNY5cMrTA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZGskZ5401z18F2 for ; Tue, 18 Mar 2025 00:13:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 52I0DQOa060226 for ; Tue, 18 Mar 2025 00:13:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 52I0DQLt060225 for bugs@FreeBSD.org; Tue, 18 Mar 2025 00:13:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 284815] RCTL memoryuse limit is not working Date: Tue, 18 Mar 2025 00:13:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jSML4ThWwBID69YC@protonmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284815 --- Comment #3 from jSML4ThWwBID69YC@protonmail.com --- Hello,=20 I think I may be misunderstanding how it's supposed to work. The processes I see using excessive memory are items like PHP, or PostgreSQ= L. Both seem to use some kind of anonymous memory, which does not appear to be restricted by the rctl memoryuse rule.=20 I've tried the vmemoryuse option, and that causes resources to be restricte= d in a way that breaks normal operation. Also, the values it shows are pretty cr= azy. 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 thi= s? 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? --=20 You are receiving this mail because: You are the assignee for the bug.=