This content has been marked as final.
Show 4 replies
-
1. Re: JBoss AS 4.2.3.GA + Seam 2.1.0.GA - 1 hit = 100% CPU
noelo Dec 2, 2008 5:41 AM (in response to rhills)If this is on windows, run it without the apache portable runtime (apr)....
I've seen this happen problem happen on windows before with tomcat... -
2. Re: JBoss AS 4.2.3.GA + Seam 2.1.0.GA - 1 hit = 100% CPU
rhills Dec 2, 2008 8:28 PM (in response to rhills)It is on Windows (XP). I've not seen anything official about the APR being CPU-intensive on the Windows OS, is this a known issue?
-
3. Re: JBoss AS 4.2.3.GA + Seam 2.1.0.GA - 1 hit = 100% CPU
noelo Dec 2, 2008 8:41 PM (in response to rhills)I have seen high CPU usage on XP and Tomcat running using the APR.
This *may* be the cause of your issue, try it out without the apr and see.... -
4. Re: JBoss AS 4.2.3.GA + Seam 2.1.0.GA - 1 hit = 100% CPU
rhills Dec 3, 2008 5:40 PM (in response to rhills)"noelo" wrote:
I have seen high CPU usage on XP and Tomcat running using the APR.
This *may* be the cause of your issue, try it out without the apr and see....
OK, I've removed APR and HTTPS from the equation and although the app performance has improved slightly we're still seeing 100% CPU usage with a single hit on each of our dynamic pages that I've tested.
I've profiled a single hit on a single page that takes about 10 seconds from clicking on a "Search" button to the end of page rendering (25 result rows shown). Without the APR, we get a little more visibility in our profiling results, and around 7 of the 10 seconds are spent rendering the result: com.sun.facelets.FaceleteViewHandler.renderView. Below that, there is no standout time hog. Our own classes consume about 100ms of the total unfortunately so there doesn't seem to be much we can do there.
We'll play around with one of our views and by process of elimination see if we can pinpoint the problem.