In /etc/systemd/system.control/user.slice.d/ you should have a number of files likeHmpff. Am stuck! It must be something I'm doing wrong. I've done it 4/5 times now on fresh installs to no avail.
Here is what I'm doing
Code:vi /etc/default/grub grub2-mkconfig -o /boot/grub2/grub.cfg shutdown -r now
And then...
Code:useradd test1 id -u test1 systemctl set-property user-1000.slice CPUQuota=5%
Only for top to show out of control CPU stats. Any advice appreciated at this stage. Thank you
50-BlockIOAccounting.conf 50-CPUAccounting.conf 50-CPUShares.conf 50-MemoryAccounting.conf 50-TasksAccounting.conf
Create./change them using:
systemctl set-property user.slice BlockIOAccounting=yes
/*
BlockIOAccounting=yes
CPUAccounting=yes
CPUShares=1024
MemoryAccounting=yes
*/
Otherwise I would know what's different. It's been a while when I did it and it worked at once, so I didn't make any notes