[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2009-03-18 Thread PeterJ
As I responded to DeanoUK, who had this same problem, you need to ask about this in the JBoss Transactions forum, or search that forum to see if DeanoUK already asked the question there and see what answer he(?) got. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopi

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2009-03-18 Thread Juvenxu
Hello PeterJ, I have exactly the same issue as you.what I have seen is that there are a lot of I/O operations under the following path: "$JBOSS_HOME/server/default/data/tx-object-store/HashedActionStore/defaultStore/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction". These I/O operations

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2008-03-19 Thread DeanoUK
JProbe or something like that? Here's an odd one. [GC 1163367K->948282K(5163904K), 0.0733880 secs] [GC 1201082K->1033885K(5172672K), 0.2795530 secs] [GC 1286685K->1035001K(5100352K), 0.1752780 secs] [GC 1215481K->1035389K(5136512K), 0.0123550 secs] As usual GC ran - at 19:59 which produces a spi

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2008-03-19 Thread PeterJ
You might ask about these messages in the JBoss Transactions forum. Looks like the next step is to run with a profiler to find out where your app is spending its time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137876#4137876 Reply to the post : http://

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2008-03-19 Thread DeanoUK
Seeing 99% CPU but not much memory being used + not much GC being performed and after a while saw these messages (multiple of): | [19 Mar 2008 17:06:33] WARN com.arjuna.ats.arjuna.logging.arjLoggerI18N - [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic act

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2008-03-19 Thread DeanoUK
Thanks Peter - I'll do both. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137839#4137839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137839 ___ jboss-user mailing list jb

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2008-03-19 Thread PeterJ
The set of GC output you posted at 9:37 looks good. Earlier, all of your GCs were full GCs taking around 10 seconds. Now you have minor GCs taking less than 1/10th of a second. Your post at 10:02 shows that you have overrun the 5GB heap you set. Note the heap sizes both before and after the col

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2008-03-19 Thread DeanoUK
And now this, only some minutes after a restart: [Unloading class sun.reflect.GeneratedMethodAccessor750] | 5015999K->5004634K(5126528K), 15.0047050 secs] | [19 Mar 2008 14:00:38] ERROR org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/csi].[default] - Servlet.service() for

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2008-03-19 Thread DeanoUK
Ok so we've had this running for around 12 hours+ and we're seeing similar issues. Receiving the following (over and over): [GC 2515286K->2130638K(5238528K), 0.0748890 secs] | [GC 2515406K->2137619K(5237440K), 0.0824530 secs] | [GC 2521619K->2144601K(5237312K), 0.0933110 secs] | [GC 252860

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2008-03-18 Thread PeterJ
You might have to try several heap settings, and use -XX:+PrintHeapAtGC to get the GC details, which you should graph and then analyze. That should tell you what to set the heap to. Also, set -XX:NewSize the same as MaxNewSize. View the original post : http://www.jboss.com/index.html?module=bb

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2008-03-18 Thread DeanoUK
PeterJ, I very much appreciate your response. I think you've hit the nail on the head too. I'll ensure we do this on the server ASAP and see what we results occur. What I don't really understand, is that we were having similar problems when the MaxNewSize was at default, which I believe is 32mb

[jboss-user] [Performance Tuning] - Re: 100% CPU usage with lots of memory

2008-03-18 Thread PeterJ
With those heap setting, the JVM will always do a full collection, which you noticed. The reason why: the JVM assumes the worst - that all objects in the young generation will survive the collection. Thus all 3GB of the young gen objects will survive, but according to your settings there is only