0
votes
0answers
32 views

Problem limiting the resources of a process

I want to limit the memory and cpu a process can use, because it is overloading my PC. I open a terminal, run ulimit -v 4192000, run the process, open another terminal and run cpulimit -p ...
6
votes
2answers
6k views

Limit process to one cpu core

How to limit process to one cpu core ? Something similar to ulimit or cpulimit would be nice. (Just to ensure: I do NOT want to limit percentage usage or time of execution. I want to force app (with ...
19
votes
3answers
977 views

How to limit resource usage to save CPU+RAM for a certain process?

I have a dev server on which sshd sometimes stops working because the machine runs out of RAM. Yes we are running low on memory and upgrading is not a feasible choice right now. What I want to do is ...