REST fetch of groups in JBoss ON does not scale

Solution Unverified - Updated

Environment

  • Red Hat JBoss Operations Network (ON) 3.3.5
  • More then 400 agents;
  • More then 50 groups;
  • Attempt to view all groups in the JBoss ON using REST:

Content from jon.example.server is not included.http://jon.example.server:7080/rest/group.json

Issue

  • Fetching groups via REST does not scale.
  • REST interface group.json call is hanging JON server and causing transactions to roll back after 10 minutes;
  • Attempting to do a REST call to /rest/group.json the call takes a very long time, about 10 minutes, and finishes with a "transaction rolled back" result.
  • After unsuccessful /rest/group.json call in JBoss ON UI, the server continues to use full CPU with constant Full GC until restarted.

Resolution

Currently, there is no workaround.

This issue has been reported in This content is not included.Red Hat Bugzilla 1339301 and it will be fixed in a future releases of JBoss ON.

Root Cause

This is due to the code always fetching all implicit and explicit resources for the fetched groups.

SBR
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.