| Summary: | node-web-proxy consumes lots of CPU when open files limit is reached | ||
|---|---|---|---|
| Product: | Red Hat Software Collections | Reporter: | Andy Grimm <agrimm> |
| Component: | nodejs | Assignee: | Tomas Hrcka <thrcka> |
| Status: | CLOSED ERRATA | QA Contact: | Miroslav HradĂlek <mhradile> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | nodejs010 | CC: | jgoulding, mhradile, mmcgrath |
| 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: | 2014-06-04 07:15:05 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: | |
|
Description
Andy Grimm
2013-11-14 13:49:12 UTC
Possibly related to this, I found that node-web-proxy is not closing down some connections where the client has disconnected. I have several nodes with more than 100 sockets in CLOSE_WAIT state, and they don't ever appear to go away. One node has 605 such connections. This is causing outages about every other week or so in Online (at least for cloud9, possibly others) So, I found this: https://github.com/einaros/ws/issues/180 which seems related to the file descriptor leak. and this: https://github.com/joyent/node/issues/5504 which seems related to the high CPU utilization (which we now see at times independent of hitting the fd limit) Moving this to software collections. We're actually seeing suspiciously similar behavior in both the OpenShift code which uses node.js and in our users' node.js based apps. All are currently using nodejs010-nodejs-0.10.5-6.el6.x86_64 . Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0620.html |