Bug 1132091
Summary: | High CPU usage in hibernate thread (java.util.regex.Pattern$Start.match) | ||
---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Heiko W. Rupp <hrupp> |
Component: | Plugin -- JBoss EAP 6 | Assignee: | Michael Burman <miburman> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | JON 3.2 | CC: | hrupp, loleary, mfoley, stianlund+bugzilla, tsegismo |
Target Milestone: | ER02 | Keywords: | Triaged |
Target Release: | JON 3.3.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1128614 | Environment: | |
Last Closed: | 2014-12-11 14:02:36 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: | 1128614 | ||
Bug Blocks: |
Description
Heiko W. Rupp
2014-08-20 16:11:03 UTC
Cherry-picked to release/jon3.3.x commit b3a16a878f89a366c5ffb18b25f6978a9b8c91e4 Author: Thomas Segismont <tsegismo> Date: Wed Aug 20 17:24:56 2014 +0200 Bug 1128614 - RHQ 4.12 high CPU usage in hibernate thread (java.util.regex.Pattern$Start.match) EAP up to 6.3 included has an issue with the JIPI implementation which cause high CPU usage when reading the Hibernate Persistence Unit with :re High CPU usage was detected when checking for availability and loading configuration. So the fix consists in: * BaseComponent#getAvailability change Read only minimum information as we just want to make sure we can read the resource. There's no need to read the children names, evaluate defaul * HibernatePersistenceUnitComponent#loadConfiguration addition Reading the "enabled" attribute is the only thing needed. These changes not only fix the issue but generally improve performance in the AS7 plugin (less data sent over the AS7 management connection). (cherry picked from commit b5e8b3b09d5f05506ecd723feeeb1be5be1af6e5) Moving to ON_QA as available for test with the following brew build: https://brewweb.devel.redhat.com//buildinfo?buildID=381194 |