Bug 1010461
Summary: | nodejs supervisor poll interval is too short | ||
---|---|---|---|
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: | bmeng, jgoulding, jhonce, nduong, ricky.hussmann, trevor |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-17 13:30:09 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
Andy Grimm
2013-09-20 20:04:20 UTC
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/038acedd8ca9c1c4b93fd45ad5f61767aa552079 Bug 1010461 - Increase supervisor poll_interval * Increase default supervisor poll_interval to reduce resource usage Verified on devenv_3833, To compare, do the same test on devenv-stage_478, 1. Create nodejs-0.10 app 2. SSH login to the app 3. Copy the server.js file to <random>.js about 5000 times under app-repo 4. Restart the gear 5. Use top to check the cpu usage of the supervisor process On stage ami, it will use up to 99% cpu, and keep in about 60% for a while and then down to 30%. On devenv_3833, it will use up to 40% cpu, and will go down in a short time with about 5%-10% usage. Move bug to verified. |