Bug 1091433
| Summary: | watchman consumes too much CPU | |||
|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Andy Grimm <agrimm> | |
| Component: | Containers | Assignee: | Jhon Honce <jhonce> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 2.x | CC: | bleanhar, bmeng, jgoulding, yadu | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1096863 (view as bug list) | Environment: | ||
| Last Closed: | 2014-07-15 10:28:31 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1096863 | |||
|
Description
Andy Grimm
2014-04-25 15:08:39 UTC
Added element STATE_CHECK_PERIOD to /etc/sysconfig/watchman to allow detuning of state checks. https://github.com/openshift/origin-server/pull/5383 Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/c84642a6f0c03af10fad08c6064f686f74e2dedf Bug 1091433 - Add setting to detune GearStatePlugin * Add sysconfig/watchman element STATE_CHECK_PERIOD to control frequency of running GearStatePlugin Test on devenv_4769, STATE_CHECK_PERIOD could take effect for watchman. steps: 1. Config in /etc/sysconfig/watchman and restart watchman STATE_CHANGE_DELAY=60 STATE_CHECK_PERIOD=60 2. change gear state and check the syslog, could get gear state change info in syslog with below log after about 2 min 3. check the cpu usage, it is lower than 20% Move bug to verified. |