Re: [systemd-devel] Resource limits getting enforced only for processes in user's terminal not for su [user] from root's terminal

2023-04-23 Thread Mantas Mikulėnas
On Mon, Apr 24, 2023 at 7:04 AM jaimin bhaduri wrote: > Cgroups v2 is enabled in almalinux 9.1 with 5.14.0-70.22.1.el9_0.x86_64 > kernel and systemd 250 (250-12.el9_1.3). > > Content of /etc/systemd/system/user-1002.slice.d/override.conf: > > > > > > > > > > > > > > > > > > > *[Unit]Description=U

[systemd-devel] Resource limits getting enforced only for processes in user's terminal not for su [user] from root's terminal

2023-04-23 Thread jaimin bhaduri
Cgroups v2 is enabled in almalinux 9.1 with 5.14.0-70.22.1.el9_0.x86_64 kernel and systemd 250 (250-12.el9_1.3). Content of /etc/systemd/system/user-1002.slice.d/override.conf: *[Unit]Description=User Slice for UID 1002[Slice]CPUAccounting=1MemoryAccounting=1IOAccounting=1TasksAc