Description of problem:
# systemctl set-property systemd-user-sessions CPUAffinity=1
I'm trying to contain user(s) sessions in cgroup cpuset, I apologize if I get it wrong, way I understand to achieve this is though systemd-user-sessions + CPUAffinity, yet I get this when I tried above:
Unknown assignment CPUAffinity
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Setting CPUAffinity via systemctl set-property is not supported. If you *really* want to set it, you can set it directly in the service file. I'm not sure if it's a good idea, though.
I do that:
as a Drop-In and it has NO effect, does not affect users shell sessions via ssh. (bug?)
How do I cgroup users' ssh-shell whole sessions. (except SU)
I was so easy with old libcgroup.
I see CPUQuota is not in RHEL's systemd
but CPUAffinity also has no impact, and I tried both systemd-user-sessions and systemd-logind