4 ms·
On RHEL systems you can use the 'cgred' service to classify processes based on the user running it or the command itself. For example, say you have user X who a
by WestCoastJustin 13y ago
On RHEL systems you can use the 'cgred' service to classify processes based on the user running it or the command itself. For example, say you have user X who always logs in and runs rsync commands and saturates the link. You can automatically classify this user or rsync process into a cgroup that throttles the network IP (or in your use case, memory) -- problem solved.
There is some great documentation @ https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/Resource_Management_Guide/index.html#The_cgred_Service https://access.redhat.com/site/documentation/en-US/Red_Hat_E...
- viraptor 13y agoIt's not RHEL-specific. Ubuntu and pretty much everything that includes cgroups tools has it.