Bug 577294
| Summary: | 10-20 Simulatenous users accessing a page with leftnav causes huge memory usage | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Lukas Krejci <lkrejci> |
| Component: | Core Server | Assignee: | Lukas Krejci <lkrejci> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.3.1 | CC: | ian.springer, spinder, tao |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-08-12 16:46:19 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 593121 | ||
|
Description
Lukas Krejci
2010-03-26 16:13:20 UTC
Bug 572342 is related to and possibly obsoleted by this bug. *** Bug 572342 has been marked as a duplicate of this bug. *** The solution offered in the bug 572342 is only the first step in solving this because with big inventories (>2000 resources per platform) the tree is approx. 10MB in size (per user). So with 20 users simultaneously browsing the nav tree pages, we need 200MB just for storing the tree in session. The second step is to optimize the datastructure that stores the tree in session. Because only limited subset of data is needed for the display purposes, we can be quite aggressive in this and achieve cca 8-fold improvement. We need both fixes in place to a) reduce the memory consumption and b) not runaway with storing too much unnecessary data in the session. Fixed in RHQ_1_3_1_GA_CP SVN branch in revision 5305 and in git by commit b547a54 (as of now, this is in a separate branch in git). *** Bug 574025 has been marked as a duplicate of this bug. *** Lukas, did you test master with your UI load testing framework? I've tested this before I merged it into master, so technically I didn't test master but practically it should be ok since the code in question was tested elsewhere. Setting to VERIFIED based on lukas' description Mass-closure of verified bugs against JON. |