Bug 954011
Summary: | Operations create sessions that live forever resulting in OutOfMemoryError | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> |
Component: | Operations | Assignee: | John Mazzitelli <mazz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | JON 3.0.1 | CC: | acavalca, mazz, tsegismo |
Target Milestone: | ER01 | Keywords: | TestCaseNeeded |
Target Release: | JON 3.2.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 953955 | Environment: | |
Last Closed: | 2014-01-02 20:43:23 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: | |||
Bug Depends On: | 953955 | ||
Bug Blocks: |
Description
Larry O'Leary
2013-04-19 21:39:26 UTC
A few things: 1) the session manager never purged timed out sessions unless someone logged out (during a logout, we would scrub all timed out sessions). We need a periodic job to clean out any sessions no matter what is going on with user login/logout. 2) the operation job code is creating multiple sessions when it only should be creating one 3) the operation job code should log out of the sessions it creates - this will remove the session from the manager and not leak the session. git commit to master: cbfe893ad59715428bc8f72763c5b67f6b236779 note - I think a workaround for this is to periodically log in as a user (ANY user) and then immediately log out. This should trigger the session purge code. You might even be able to schedule a cron job to log in and out using the CLI. I haven't tested any of this, but the code to scrub old sessions is in the logout workflow, so presumably logging in and out of a CLI session or Web session would help clean up any old sessions and clean up any "leaked" sessions. Might be something for customers to try if they are hitting this issue as a temporary workaround. As this is MODIFIED or ON_QA, setting milestone to ER1. |