Bug 1335391
| Summary: | Multiple miq servers running at the same time eating up memory | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Jan Krocil <jkrocil> |
| Component: | Appliance | Assignee: | Gregg Tanzillo <gtanzill> |
| Status: | CLOSED ERRATA | QA Contact: | Jan Krocil <jkrocil> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.6.0 | CC: | abellott, akrzos, dmetzger, gblomqui, jfrey, jhardy, jkrocil, jrafanie, mfalesni, nachandr, obarenbo, simaishi |
| Target Milestone: | GA | ||
| Target Release: | 5.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.6.0.7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-29 15:59:40 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: | |||
|
Comment 14
Joe Rafaniello
2016-05-16 14:10:16 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/fe8f79677f1ba386d8cb581c848d800131deb549 commit fe8f79677f1ba386d8cb581c848d800131deb549 Author: Joe Rafaniello <jrafanie> AuthorDate: Sat May 14 23:00:38 2016 -0400 Commit: Joe Rafaniello <jrafanie> CommitDate: Mon May 16 10:29:35 2016 -0400 evm.pid / process existence is the safe way to ask if we're running? When we changed the process title using setproctitle to "MIQ Server" [1], we broke rake evm:start's detection of a previously running server. While a process title/command line is somewhat helpful to check, only the server should be writing to evm.pid so checking for a process from evm.pid is enough. https://bugzilla.redhat.com/show_bug.cgi?id=1335391 [1] 1ba7801ee1d2591f17fe05861d726ac0d9a20fa1 app/models/miq_server.rb | 2 +- spec/models/miq_server_spec.rb | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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. https://access.redhat.com/errata/RHBA-2016:1348 |