Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1335391 - Multiple miq servers running at the same time eating up memory
Multiple miq servers running at the same time eating up memory
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity high
: GA
: 5.6.0
Assigned To: Gregg Tanzillo
Jan Krocil
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-12 03:19 EDT by Jan Krocil
Modified: 2016-06-29 11:59 EDT (History)
12 users (show)

See Also:
Fixed In Version: 5.6.0.7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 11:59:40 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Comment 14 Joe Rafaniello 2016-05-16 10:10:16 EDT
My guess is that this is the problem:  https://github.com/ManageIQ/manageiq/pull/8707

We changed the server setproctitle to "MIQ Server" but the "rake evm:start" (start evmserverd) mechanism which prevents multiple server processes was looking for evm_server.rb.  I'll try to get that PR merged and we can try backporting it to 5.6 to see if it helps.
Comment 15 CFME Bot 2016-05-16 13:41:14 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/fe8f79677f1ba386d8cb581c848d800131deb549

commit fe8f79677f1ba386d8cb581c848d800131deb549
Author:     Joe Rafaniello <jrafanie@redhat.com>
AuthorDate: Sat May 14 23:00:38 2016 -0400
Commit:     Joe Rafaniello <jrafanie@redhat.com>
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(-)
Comment 18 errata-xmlrpc 2016-06-29 11:59:40 EDT
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

Note You need to log in before you can comment on or make changes to this bug.