Bug 622740 - [dup profiles] Java heap-size ISE on 1000 duplicated systems
Summary: [dup profiles] Java heap-size ISE on 1000 duplicated systems
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.1
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Partha Aji
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: sat540-triage space12
TreeView+ depends on / blocked
 
Reported: 2010-08-10 10:16 UTC by Garik Khachikyan
Modified: 2015-01-04 21:57 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-08-19 08:33:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Garik Khachikyan 2010-08-10 10:16:27 UTC
Description of problem:
Spacewalk throws "java.lang.OutOfMemoryError: Java heap space" while requesting "/rhn/systems/DuplicateIPList.do" for a registered 1000 duplicate copies of a single system.

Version-Release number of selected component (if applicable):
spacewalk-backend-1.1.42-1.el5
spacewalk-java-1.1.35-1.el5
spacewalk-schema-1.1.19-1.el5
spacewalk-oracle-1.1.6-1.el5


How reproducible:
1 from 1 attempt.

Steps to Reproduce:
1. prepare ~1000 duplicate systems
2. request "/rhn/systems/DuplicateIPList.do"
3.
Script could be:
---
for i in {1..1000}
  do
    rhnreg_ks --activationkey=<your_actKey_here> --force --profilename=dupe$i-`hostname`
    echo "registering... $i"
  done
---
  
Actual results:
ISE and java dump in /var/log/tomcat5/catalina.out

Expected results:
No dumps, system should handle this capacity

Additional info:
all the java settings are the default ones coming from standard Spacewalk installation.

Comment 1 Garik Khachikyan 2010-08-10 10:17:23 UTC
take up the bug priority

Comment 3 Clifford Perry 2010-08-10 22:48:28 UTC
bumping priority down. A 1,000 duplicates is a crazy high number, lets acknowledge a limitation. Low priority, we have other issues. Where do we say that ISE is bad, 10, 50, 200 duplicate profiles? Do we know when the page starts to fail? I'd anticipate that as long as you can bring up the page when a user has say 5,000 systems, with a few dozen duplicates, then that is a more 'normal' usage that I'd expect we would handle OK. 

Cliff.

Comment 6 Garik Khachikyan 2010-08-19 08:33:30 UTC
the Spacewalk with >3000 systems registered and several pairs of dupl. profiles there works perfectly on 4GB RHEL5 virtual guest machine.

so closing the issue.


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