From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 0757F1FF0B2 for ; Sun, 08 Nov 2026 22:44:25 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 737BD215C6; Sun, 08 Nov 2026 22:44:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail2; t=1794173731; x=1794432931; bh=D0tKZxB4GD4t14RVHZdpHPK0iNAMs1W67XVcgywyLy0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ovtu080AmzhxBVvodddjHSX7KQBW+NZiBFIhNWoAxLhHDWYLMkpHyMfr7OT8Qa1vh 7u1mh443bJOvS1pAETNs5thq57AZ8xcTeq7RMEUC+NWWaNnZRby34o2LzGuLnqNQPG E5O3Le4tzqK0QgqcdqWLi7EYjwa6yFTPxQKOJ1fB3t22RMdoDdEDkmLI+/rvK+n3Eh Jzb2PXMZElANR6IoObJulvYMtWJAtMXssm2HnhWCUGYAydk4OVTAXS44ao7gpVuKJU ltSwc1tGYxs/43GVtVjaIxXZf97FqzG/BlAVbzJL4V1P9OKbJO9s+ZhOiw17lo93lz hKb5kGNzADMpg== Date: Sun, 08 Nov 2026 21:35:27 +0000 To: "pve-devel@lists.proxmox.com" From: 666Goofy666 <666goofy666@proton.me> Subject: [PATCH docs 5/6] pct: memory: change to cgroup v2 Message-ID: <20261108213430.139213-6-666goofy666@proton.me> In-Reply-To: <20261108213430.139213-1-666goofy666@proton.me> References: <20261108213430.139213-1-666goofy666@proton.me> Feedback-ID: 177793653:user:proton X-Pm-Message-ID: 07fec548040d487590876017c253e991dc7745b2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL -0.350 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy FREEMAIL_ENVFROM_END_DIGIT 1 Envelope-from freemail username ends in digit FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider FROM_STARTS_WITH_NUMS 0.553 From: starts with several numbers KAM_INFOUSMEBIZ 0.75 Prevalent use of .info|.us|.me|.me.uk|.biz|xyz|id|rocks|life domains in spam/malware RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: FJNCEBVSLWETLADJEC3242QWJ5QQSBLX X-Message-ID-Hash: FJNCEBVSLWETLADJEC3242QWJ5QQSBLX X-MailFrom: 666goofy666@proton.me X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: 666Goofy666 <666goofy666@proton.me> X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: 666Goofy666 <666goofy666@proton.me> PVE9 no longer uses cgroups v1, reflect cgroup v2 memory and swap limits, where swap is defined independently from the memory limit. Signed-off-by: 666Goofy666 <666goofy666@proton.me> --- pct.adoc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pct.adoc b/pct.adoc index 0d618ab..6f8fab4 100644 --- a/pct.adoc +++ b/pct.adoc @@ -471,17 +471,15 @@ Memory =20 [thumbnail=3D"screenshot/gui-create-ct-memory.png"] =20 -Container memory is controlled using the cgroup memory controller. +Container memory is controlled using the cgroup v2 memory controller. =20 [horizontal] =20 -`memory`: :: Limit overall memory usage. This corresponds to the -`memory.limit_in_bytes` cgroup setting. - -`swap`: :: Allows the container to use additional swap memory from the hos= t -swap space. This corresponds to the `memory.memsw.limit_in_bytes` cgroup -setting, which is set to the sum of both value (`memory + swap`). +`memory`: :: Limits the maximum memory usage of the container. +This corresponds to the `memory.max` cgroup setting. =20 +`swap`: :: Limits the additional swap memory the container can use. +This corresponds to the `memory.swap.max` cgroup setting. =20 [[pct_mount_points]] Mount Points --=20 2.56.0