Bug 572342 - 10-20 simultaneous GUI sessions can quickly cause the Server to run out of heap
Summary: 10-20 simultaneous GUI sessions can quickly cause the Server to run out of heap
Keywords:
Status: CLOSED DUPLICATE of bug 577294
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 1.3.1
Hardware: All
OS: All
high
high
Target Milestone: ---
: ---
Assignee: Ian Springer
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: 574133
TreeView+ depends on / blocked
 
Reported: 2010-03-10 22:27 UTC by Ian Springer
Modified: 2013-08-06 00:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-04-01 12:07:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Ian Springer 2010-03-10 22:27:33 UTC
After 11 users logged into the GUI and surfed around a bit, the used heap shot up by about 400 MB. Analysis of the heap dump showed that the culprits were very fat org.ajax4jsf.util.LRUMaps inside org.ajax4jsf.application.AjaxStateHolders inside Tomcat Sessions. Googling for these misbehaving classes brought me to https://jira.jboss.org/jira/browse/RF-3878. There is a workaround described in the forum post linked off this issue which entails adding the following context params to web.xml:

<context-param>
 <description>
 </description>
 <param-name>com.sun.faces.numberOfViewsInSession</param-name>
 <param-value>1</param-value>
 </context-param>
 <context-param>
 <description>
 </description>
 <param-name>com.sun.faces.numberOfLogicalViews</param-name>
 <param-value>1</param-value>
</context-param>

We should test out this workaround this asap.

Note, RF-3878 is closed and says it was fixed in RF 3.3.0, but it doesn't describe what the fix was. We should ping the RF team for more details...

Comment 1 Lukas Krejci 2010-04-01 12:07:10 UTC
Marking as duplicate because bug 577294 deals with the core issue at hand.

*** This bug has been marked as a duplicate of bug 577294 ***


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