Bug 572722
Summary: | Rails leaks file descriptors when making database connections | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Todd Zullinger <tmz> | ||||
Component: | rubygem-activerecord | Assignee: | Michael Stahnke <mastahnke> | ||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | el5 | CC: | hbrock, mastahnke, urkedal, vanmeeuwen+fedora | ||||
Target Milestone: | --- | Flags: | mastahnke:
needinfo?
|
||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-04-06 10:38:55 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Todd Zullinger
2010-03-11 21:32:52 UTC
I also filed this upstream with puppet: http://projects.puppetlabs.com/issues/3693 Is there any chance we could ship update rails packages in parallel with the 2.1 packages? Created attachment 415348 [details]
Patch for leaking fd's with store configs
Would you be able to test the situation with the attached patch? I've tried and end up with the database being disconnected and the connection being cleaned up after the compiler is done storing configurations;
[root@master puppet]# lsof $(for pid in `pgrep puppetmaster`; do echo "-p $pid"; done) | wc -l
166
[root@master puppet]# lsof $(for pid in `pgrep puppetmaster`; do echo "-p $pid"; done) | wc -l
165
Uch. wrong paste ;-) Nevermind the patch, over a longer period of time it results in a MySQL::Error: MYSQL server has gone away Does this still happen in 2.7 series? I'm updating the rails stack 2.3.18, so that could help. Beyond that, there is PuppetDB now as the primary way to do this. Fedora EPEL 5 changed to end-of-life (EOL) status on 2017-03-31. Fedora EPEL 5 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora or Fedora EPEL, please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |