Description of problem: In recent builds (within the past 2 weeks or so - the build I'm currently using is d82d1581f18dcd6b9fb2a4e189df52ef82e43ece ) pages all load very slowly, coupled with very high CPU utilization. Normally with a 2 processor system, CPU is normally around 60-80% for the RHQ server process when automation is running (which clicks links in quick succession, keeping pages loading continuously). In recent builds, the cpu use is up to 150%. Version-Release number of selected component (if applicable): d82d1581f18dcd6b9fb2a4e189df52ef82e43ece How reproducible: Always Steps to Reproduce: 1. Install and start server 2. Login and view Dashboard page Actual results: Page loads extremely slow, can see each portlet appearing on the page one by one. All pages are equally affected. Expected results: Page loads should be faster, how fast of course is subjective, but we should all have a good feel for how the app behaved in the past on our test/dev boxes. Additional info: jshaughn and jsefler have seen the same problem.
I just tested on rhq3.0.0.B04, and the same problem is present in that build also. So it appears to have been introduced before then.
More testing reveals the two bookends for a git bisect: Latest known good build that doesn't contain this bug - rhq3.0.0.B02 Earliest known bad build that contains this bug - rhq3.0.0.B03
Here's an interesting wrinkle. Corey's recent JON install does not exhibit the problem. So I installed JON build 10593 (built Apr 7, 6pm EDT), on my test machine at it also did NOT exhibit the problem. Apparently RHQ is affected (including recent builds from hudson, dating all the way back to beta builds as far back as Feb 22).
java environment: [rhq@auto-rhq01 bin]$ java -version java version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b09) OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
GetCoreGui is taking a long time here - on average 1.5 s , as it gets called 310 times for each click (for me). This number does not change with the number of resources in inventory.
Disabling menu generation in /rhq/common/menu/menu.xhtml speeds up dashboard display from 3.5s+ to 0.5s
I believe joseph fixed this with commit df54d527d9d995ae21a2b907d019500dc059a39e . Performance seems to be back to normal, I'll reopen this if the problem comes back.
Mass-closure of verified bugs against JON.