[EJB/JBoss] - MDB rollback
by sams2100
I'm not sure if this is the right area for this, if not please move it and feel free to yell at me.
Here's my issue: When I have a pool of a given MDBs heavily working away on a lot of work, I sometimes need to suddenly stop those MDBs from working on any future messages that may be on the queue. So when I go into the jmx console and stop the MDB, it will wait for the MDBs to fully complete before shutting down. This is great, but it then assumes the MDB failed and rolls back the message to the queue. What I don't understand is, why does it wait for the bean to finish if its just going to consider it failed? Is there a way to allow a bean to finish like that, but also assume the work it finished was successful and doesn't need to be re-run?
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233995#4233995
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233995
16 years, 5 months
[Performance Tuning] - Re: Too may FullGC
by vons1234
Hi Peter,
I am not sure that it was due to AggressiveHeap.
I did try to set the -XX:NewSize=400M -XX:MaxNewSize=400M, Full GC is happening every minute
So now options are
| JAVA_OPTS="-server -Xms1500m -Xmx1500m -Xss128k -XX:NewSize=400M -XX:MaxNewSize=400M -verbose:gc -Xloggc:/opt/jboss-4.2.0.GA/logs/GC.log -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+UseLargePages -XX:PermSize=512m -XX:MaxPermSize=512m -XX:ThreadStackSize=512 -XX:+UseParallelGC -XX:CompileThreshold=100 -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31"
|
see the excerpts from GC.log
| 4.083: [GC [PSYoungGen: 92161K->4011K(358400K)] 92161K->4011K(1484800K), 0.0105160 secs]
| 4.093: [Full GC [PSYoungGen: 4011K->0K(358400K)] [PSOldGen: 0K->3912K(1126400K)] 4011K->3912K(1484800K) [PSPermGen: 10442K->10442K(524288K)], 0.0647090 secs]
| 14.868: [GC [PSYoungGen: 307200K->16084K(358400K)] 311112K->19996K(1484800K), 0.0257470 secs]
| 24.043: [GC [PSYoungGen: 323284K->35371K(358400K)] 327196K->39283K(1484800K), 0.0585670 secs]
| 29.813: [GC [PSYoungGen: 342571K->46513K(358400K)] 346483K->50425K(1484800K), 0.0626800 secs]
| 64.215: [GC [PSYoungGen: 267394K->51194K(358400K)] 271306K->68206K(1484800K), 0.0918350 secs]
| 64.307: [Full GC [PSYoungGen: 51194K->0K(358400K)] [PSOldGen: 17011K->67462K(1126400K)] 68206K->67462K(1484800K) [PSPermGen: 56403K->56403K(524288K)], 0.5361080 secs]
| 124.906: [GC [PSYoungGen: 151055K->4753K(358400K)] 218518K->72216K(1484800K), 0.0107620 secs]
| 124.916: [Full GC [PSYoungGen: 4753K->0K(358400K)] [PSOldGen: 67462K->72103K(1126400K)] 72216K->72103K(1484800K) [PSPermGen: 62877K->62877K(524288K)], 0.5240890 secs]
| 185.465: [GC [PSYoungGen: 18961K->306K(358400K)] 91065K->72410K(1484800K), 0.0044300 secs]
| 185.470: [Full GC [PSYoungGen: 306K->0K(358400K)] [PSOldGen: 72103K->70911K(1126400K)] 72410K->70911K(1484800K) [PSPermGen: 62898K->62728K(524288K)], 0.5783190 secs]
| 246.080: [GC [PSYoungGen: 17583K->321K(358400K)] 88495K->71233K(1484800K), 0.0043550 secs]
| 246.084: [Full GC [PSYoungGen: 321K->0K(358400K)] [PSOldGen: 70911K->71137K(1126400K)] 71233K->71137K(1484800K) [PSPermGen: 62754K->62754K(524288K)], 0.4824640 secs]
|
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233990#4233990
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233990
16 years, 5 months