<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Cpu 100% and GC is running
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/arumilli">sreenivas arumilli</a> in <i>Performance Tuning</i> - <a href="http://community.jboss.org/message/644809#644809">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>We have observered the CPU is touch 100%&#160; usage while GC running in JVM for couple of secs and (daemon)threads are increasing from 200 to 500.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Following&#160; are the GC logs:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><p>2012-01-05T09:55:04.131000: 9748.990: [GC [PSYoungGen: 1269344K-&gt;24844K(1274944K)] 1644968K-&gt;410570K(3931200K), 0.1539430 secs]</p><p>2012-01-05T09:55:06.901000: 9751.760: [GC [PSYoungGen: 1266572K-&gt;16787K(1275200K)] 1652298K-&gt;412469K(3931456K), 0.1403010 secs]</p><p>2012-01-05T09:55:09.826000: 9754.685: [GC [PSYoungGen: 1258515K-&gt;28069K(1272640K)] 1654197K-&gt;427708K(3928896K), 0.0863350 secs]</p><p>2012-01-05T09:55:12.573000: 9757.432: [GC [PSYoungGen: 1267749K-&gt;28986K(1268672K)] 1667388K-&gt;442158K(3924928K), 0.1925500 secs]</p><p>2012-01-05T09:55:15.415000: 9760.274: [GC [PSYoungGen: 1268666K-&gt;29813K(1269760K)] 1681838K-&gt;456553K(3926016K), 0.1983170 secs]</p><p>2012-01-05T09:55:18.400000: 9763.259: [GC [PSYoungGen: 1263605K-&gt;25547K(1271232K)] 1690345K-&gt;465817K(3927488K), 0.0741820 secs]</p><p>2012-01-05T09:55:21.030000: 9765.889: [GC [PSYoungGen: 1259339K-&gt;28609K(1270464K)] 1699609K-&gt;479890K(3926720K), 0.0903450 secs]</p><p>2012-01-05T09:55:23.691000: 9768.550: [GC [PSYoungGen: 1262145K-&gt;23413K(1271104K)] 1713426K-&gt;486897K(3927360K), 0.0705770 secs]</p><p>2012-01-05T09:55:26.348000: 9771.207: [GC [PSYoungGen: 1256949K-&gt;20455K(1273152K)] 1720433K-&gt;492161K(3929408K), 0.0597660 secs]</p><p>2012-01-05T09:55:28.934000: 9773.793: [GC [PSYoungGen: 1257383K-&gt;25634K(1272448K)] 1729089K-&gt;504501K(3928704K), 0.0641520 secs]</p><p>2012-01-05T09:55:31.628000: 9776.487: [GC [PSYoungGen: 1262562K-&gt;24623K(1274304K)] 1741429K-&gt;513884K(3930560K), 0.0649770 secs]</p><p>2012-01-05T09:55:34.698000: 9779.557: [GC [PSYoungGen: 1263791K-&gt;34357K(1273536K)] 1753052K-&gt;531695K(3929792K), 0.0710200 secs]</p><p>2012-01-05T09:55:37.427000: 9782.286: [GC [PSYoungGen: 1273525K-&gt;32264K(1261248K)] 1770863K-&gt;550162K(3917504K), 0.0734510 secs]</p><p>2012-01-05T09:55:40.007000: 9784.866: [GC [PSYoungGen: 1258376K-&gt;36728K(1262848K)] 1776274K-&gt;572739K(3919104K), 0.0913590 secs]</p><p>2012-01-05T09:55:42.520000: 9787.379: [GC [PSYoungGen: 1262840K-&gt;21809K(1265728K)] 1798851K-&gt;578910K(3921984K), 0.0735170 secs]</p><p>2012-01-05T09:55:44.996000: 9789.855: [GC [PSYoungGen: 1243889K-&gt;21991K(1265024K)] 1800990K-&gt;585886K(3921280K), 0.0672800 secs]</p><p>2012-01-05T09:55:47.506000: 9792.365: [GC [PSYoungGen: 1244071K-&gt;25800K(1268032K)] 1807966K-&gt;597725K(3924288K), 0.0715630 secs]</p><p>2012-01-05T09:55:50.101000: 9794.960: [GC [PSYoungGen: 1251720K-&gt;20716K(1266560K)] 1823645K-&gt;603125K(3922816K), 0.0660460 secs]</p><p>2012-01-05T09:55:52.527000: 9797.386: [GC [PSYoungGen: 1246636K-&gt;17876K(1268672K)] 1829045K-&gt;606765K(3924928K), 0.0609200 secs]</p><p>2012-01-05T09:55:54.990000: 9799.849: [GC [PSYoungGen: 1246420K-&gt;22689K(1268544K)] 1835309K-&gt;615465K(3924800K), 0.0649620 secs]</p><p>2012-01-05T09:55:57.464000: 9802.323: [GC [PSYoungGen: 1251233K-&gt;16658K(1269824K)] 1844009K-&gt;617066K(3926080K), 0.0643570 secs]</p><p>2012-01-05T09:55:59.967000: 9804.826: [GC [PSYoungGen: 1247570K-&gt;15072K(1269760K)] 1847978K-&gt;619016K(3926016K), 0.0599230 secs]</p><p>2012-01-05T09:56:02.499000: 9807.358: [GC [PSYoungGen: 1245984K-&gt;16908K(1270400K)] 1849928K-&gt;623478K(3926656K), 0.0640130 secs]</p><p>2012-01-05T09:56:05.053000: 9809.912: [GC [PSYoungGen: 1248460K-&gt;13682K(1269824K)] 1855030K-&gt;625222K(3926080K), 0.0592950 secs]</p><p>2012-01-05T09:56:07.780000: 9812.639: [GC [PSYoungGen: 1245234K-&gt;7300K(1269056K)] 1856774K-&gt;623595K(3925312K), 0.0493350 secs]</p><p>2012-01-05T09:56:10.469000: 9815.328: [GC [PSYoungGen: 1238148K-&gt;5620K(1236480K)] 1854443K-&gt;623920K(3892736K), 0.0413330 secs]</p><p>2012-01-05T09:56:13.238000: 9818.097: [GC [PSYoungGen: 1236468K-&gt;7042K(1269248K)] 1854768K-&gt;627137K(3925504K), 0.0379700 secs]</p><p>2012-01-05T09:56:15.948000: 9820.807: [GC [PSYoungGen: 1236802K-&gt;7586K(1269184K)] 1856897K-&gt;629529K(3925440K), 0.0296320 secs]</p><p>2012-01-05T09:56:18.617000: 9823.476: [GC [PSYoungGen: 1237346K-&gt;10997K(1271104K)] 1859289K-&gt;635764K(3927360K), 0.0349820 secs]</p><p>2012-01-05T09:56:21.153000: 9826.012: [GC [PSYoungGen: 1243189K-&gt;9572K(1269760K)] 1867956K-&gt;638488K(3926016K), 0.0305350 secs]</p><p>2012-01-05T09:56:54.537000: 9859.396: [GC [PSYoungGen: 1241764K-&gt;11066K(1273536K)] 1870680K-&gt;642061K(3929792K), 0.0356580 secs]</p><p>2012-01-05T09:58:26: 9950.859: [GC [PSYoungGen: 1248058K-&gt;16924K(1272128K)] 1879053K-&gt;649544K(3928384K), 0.0543600 secs]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></blockquote><p>and my JVM settings are </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><blockquote class="jive-quote"><p>-Dprogram.name=run.sh</p><p>-Dprogram.name=run.sh</p><p>-Xms3872m</p><p>-Xmx3872m</p><p>-Dsun.rmi.dgc.client.gcInterval=3600000</p><p>-Dsun.rmi.dgc.server.gcInterval=3600000</p><p>-XX:NewSize=1278m</p><p>-XX:MaxNewSize=1278m</p><p>-Djava.net.preferIPv4Stack=true</p><p>-XX:MaxPermSize=256m</p><p>-Djavax.net.ssl.trustStore=/opt/properties/.keystore</p><p>-Djavax.net.ssl.trustStorePassword=changeit</p><p>-Dcom.sun.management.jmxremote.port=8888</p><p>-Djava.rmi.server.hostname=xx.xx.xx.xx</p><p>-Dcom.sun.management.jmxremote.ssl=false</p><p>-Dcom.sun.management.jmxremote</p><p>-XX:+PrintGCDetails</p><p>-Xloggc:/opt/gc.log</p><p>-XX:+UseTLAB</p><p>-Xss256k</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></blockquote><p>Regards,</p><p>Arumilli.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/644809#644809">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Performance Tuning at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>