Bug 1584127
| Summary: | allow control-cpu-load.sh(cgroups tunables) to also take process names as input(eg: glusterd or glusterfsd) | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Nag Pavan Chilakam <nchilaka> |
| Component: | core | Assignee: | Mohit Agrawal <moagrawa> |
| Status: | CLOSED WONTFIX | QA Contact: | Rahul Hinduja <rhinduja> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rhgs-3.4 | CC: | nchilaka, rhs-bugs, storage-qa-internal |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-19 03:53:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Nag Pavan Chilakam
2018-05-30 10:55:30 UTC
Hi, The main purpose to use cgroup for client process is because we don't want to fix the issue for the client (glustershd,quota etc). The cgroup is just a workaround to mitigate the issue but we would not suggest using the script for all gluster process. The other thing I am not able to understand what we will achieve if we do change the script to accept process name instead of pid. As I mentioned script is useful only for a client so we don't provide process name as an argument because all client process use same binary name glusterfsd. Thanks, Mohit Agrawal (In reply to Mohit Agrawal from comment #4) > Hi, > > The main purpose to use cgroup for client process is because we don't want > to fix the issue for the client (glustershd,quota etc). > The cgroup is just a workaround to mitigate the issue but we would not > suggest using the script for all gluster process. > The other thing I am not able to understand what we will achieve if we do > change the script to accept process name instead of pid. > As I mentioned script is useful only for a client so we don't provide > process name as an argument because all client process use same binary name > glusterfsd. > > Thanks, > Mohit Agrawal We can use cgroup script for glusterd and glusterfsd and not just client processes like shd/quotas Also, providing name is easier from a admin perspective. if the scope of the feature is limited, then if you feel it is not worth the time and effort implementing this, kindly go ahead and close this as won't fix |