How to handle cgroup with service unit of systemd on RHEL 7?
Issue
-
How to control resource with systemd for a user process group
-
RHEL7moves the resource management settings from theprocess levelto theapplication levelby binding the system of cgroup hierarchies with the systemd unit tree. The old way of configuring cgroup, by means of editing several /etc/cg*.conf files are still available but no longer recommended. -
Systemd provides three unit type (
slice, scope, service) that are used for the purpose of resource control.
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.