I'm running game server applications on dedicated server that I have, but I want to be able to limit the CPU/RAM/etc usage on a per-user basis to make sure one of the servers doesn't eat up more resources than it is supposed to be given. I've seen people recommend ulimit for this, but the way to limit CPU in it is confusing... What I'm aiming to do is limit each user to 1 thread ( out of 16 ) and 1G of RAM.. I'd also prefer not to do this in VMs, as I only have 3 IPs and my previous attempts to setup NAT have been rather unsuccessful.
Limit CPU/RAM usage per user?
debian;cpu;ram