Re:Using cgroups to limit I/O
by loeg on Thursday October 19, 2017 @10:05AM
(#15507952)
Thanks! I use cgroups (manually) to memory constrain applications that I know leak memory (e.g., rtorrent, chrome at one time). This looks like a nice way of making that a bit less manual.
[ Parent
| on HN ]
No problem. I've just checked and it looks like libcgroup is not maintained any more and fallen behind the cgroups development. This may work instead:
systemd-run --scope -p MemoryMax=4M rtorrent
You can also set other quotas - `man systemd.resource-control` for more info.
Re:Using cgroups to limit I/O
by nerpderp83 on Thursday October 19, 2017 @02:34PM
(#15510409)
When they hit a threshold, send them a check point event and kill and restart. Too bad chrome didn't thundering heard so hard when it comes back to life.