3 ms·
You can't limit resources like CPU and memory for users.
by usrnm 3y ago
You can't limit resources like CPU and memory for users.
- inferiorhuman 3y agohttps://man.freebsd.org/cgi/man.cgi?query=login.conf&apropos=0&sektion=5&manpath=FreeBSD+13.2-RELEASE&arch=default&format=html https://man.freebsd.org/cgi/man.cgi?query=login.conf&apropos... https://man.freebsd.org/cgi/man.cgi?query=rctl&apropos=0&sektion=0&manpath=FreeBSD+13.2-RELEASE&arch=default&format=html https://man.freebsd.org/cgi/man.cgi?query=rctl&apropos=0&sek... https://www.tecmint.com/set-limits-on-user-processes-using-ulimit-in-linux/ https://www.tecmint.com/set-limits-on-user-processes-using-u...
- dijit 3y agoAs much as I complain about systemd being overly complex and the lock-in that follows: sudo systemctl edit --force user-1234.slice [Slice] MemoryMax=1G CPUQuota=10% It's also something that's been available on the other UNIX-likes (FreeBSD/Solaris) since essentially forever.
- usrnm 3y agoAnd systemd does the exact same thing under the hood as running in a container would.
- _joel 3y agocgroups?