Bug 953955 - Memory leak in operation jobs code
Summary: Memory leak in operation jobs code
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Operations
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHQ 4.7
Assignee: John Mazzitelli
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 954011
TreeView+ depends on / blocked
 
Reported: 2013-04-19 16:08 UTC by Thomas Segismont
Modified: 2013-09-03 14:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
: 954011 (view as bug list)
Environment:
Last Closed: 2013-09-03 14:43:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Thomas Segismont 2013-04-19 16:08:21 UTC
Description of problem:
We have a bug in the operations jobs code where we authenticate the user who scheduled the operation and never log him out.

Consequently, the SessionManager cache keeps accumulating entries.

Version-Release number of selected component (if applicable):
4.7

How reproducible:
Always

Steps to Reproduce:
1. 
2.
3.
  
Actual results:


Expected results:


Additional info:

See call hierarchies of org.rhq.enterprise.server.operation.OperationJob#getUserWithSession

The fix should make operation jobs log out the users and if possible the Session manager automatically evict timed out sessionq (with something like a task in a ScheduledExecutor).

Comment 1 John Mazzitelli 2013-04-24 03:46:52 UTC
git commit to master: cbfe893ad59715428bc8f72763c5b67f6b236779

Comment 2 Heiko W. Rupp 2013-09-03 14:43:47 UTC
Bulk closing of issues in old RHQ releases that are in production for a while now.

Please open a new issue when running into an issue.


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