3 ms·
If you use systemd you can assign services to slices which can be assigned cgroup resource reservations / limits. I don't think any distro does too much with th
by chousuke 10y ago
If you use systemd you can assign services to slices which can be assigned cgroup resource reservations / limits. I don't think any distro does too much with this out of the box yet (IIRC by default all services run under a single "system" slice, and user sessions under a user slice), but it should be possible to run an "emergency environment" slice in which the processes are always guaranteed some small amount of resources necessary to recover.
- JdeBP 10y agoThe LinkedIn people report that it's not that simple. * https://engineering.linkedin.com/blog/2016/08/don_t-let-linux-control-groups-uncontrolled https://engineering.linkedin.com/blog/2016/08/don_t-let-linu...