Translated message

A translation of this page exists in English.

RHEL 8 で cgroups v2 を使用してユーザーのメモリー使用量を制限できない理由

Solution In Progress - Updated -

Issue

  • RHEL 8 で cgroups v2 を使用する場合 (grub ブートラインで systemd.cgroup_unified_hierarchy=1)、cgroup メモリー制約が機能しません。
/etc/systemd/system/user-.slice.d/15-memory.conf
[Slice]
MemoryMax=1G
MemoryHigh=512M
MemorySwapMax=512M

Environment

  • cgroups v2 が有効な Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content