Cache calculation for fuel-stats web interface consumes a lot of memory

Bug #1608889 reported by Alexander Kislitsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Alexander Kislitsky

Bug Description

We are fetching all clusters information from DB when json_reports calculates aggregated installations info. As result a lot of memory is consumed on this request.

For fix the issue we should select only required json fields from clusters array.

tags: added: non-release
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-stats (master)

Fix proposed to branch: master
Review: https://review.openstack.org/350141

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-stats (master)

Reviewed: https://review.openstack.org/350141
Committed: https://git.openstack.org/cgit/openstack/fuel-stats/commit/?id=601e81cbf8e9bf6f5c9c6d40c842f25241bc2b66
Submitter: Jenkins
Branch: master

commit 601e81cbf8e9bf6f5c9c6d40c842f25241bc2b66
Author: Alexander Kislitsky <email address hidden>
Date: Tue Aug 2 18:57:40 2016 +0300

    Memory consumption decreased for JSON reports

    Instead fetching of all clusters data we are selecting only
    required fields for report.

    Change-Id: Id5555d0d0c29a20a3d03e640398a85b961fe37ec
    Closes-Bug: #1608889

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.