[Performance Tuning] - How to confirm JVM Settings

Santy Avinash <[email protected]> Wed, 21 Aug 2013 02:49:49 -0400
Newsgroups gmane.comp.java.jboss.user
Message-ID <[email protected]>
------=_Part_627267_2122545295.1377067789744
Content-Type: multipart/alternative; 
	boundary="----=_Part_627266_429955229.1377067789744"

------=_Part_627266_429955229.1377067789744
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Santy Avinash [https://community.jboss.org/people/pandes3] created the disc=
ussion

"How to confirm JVM Settings"

To view the discussion, visit: https://community.jboss.org/message/833306#8=
33306

--------------------------------------------------------------
Hi,

Needed some help here (Jboss AS 7.1, RHEL 6)

I have updated the java options in standalone.conf file=20

JAVA_OPTS=3D"-Xms2048m -Xmx2048m -XX:MaxPermSize=3D512m -XX:ThreadStackSize=
=3D128"

restarted the Jboss

Now need to confirm the settings have effecctively updated, I run the follo=
wing command "java -XshowSettings:all" , below is the output


VM settings:
=C2=A0=C2=A0=C2=A0 Stack Size: 1.00M
=C2=A0=C2=A0=C2=A0 Max. Heap Size (Estimated): 1.71G
=C2=A0=C2=A0=C2=A0 Ergonomics Machine Class: server
=C2=A0=C2=A0=C2=A0 Using VM: Java HotSpot(TM) 64-Bit Server VM

The stack size still it is showin as 1 MB and heap size as 1.71 G.

why the settings have not been updated ? Am I looking at right place (java =
-XshowSettings:all) ?

Help will be most appreciated

Regards

Avinash
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833306#833306]

Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=3D1&co=
ntainerType=3D14&container=3D2078]


------=_Part_627266_429955229.1377067789744
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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

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

=09=09=09=09<td>

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

=09=09=09=09=09=09=09</tr>
=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09<td bgcolor=3D"#FFFFFF" style=3D"font: normal 12px =
Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-ra=
dius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-b=
ottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style=
=3D"margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    How to confirm JVM Settings
</h3>
<span style=3D"margin-bottom: 10px;">
    created by <a href=3D"https://community.jboss.org/people/pandes3">Santy=
 Avinash</a> in <i>Performance Tuning</i> - <a href=3D"https://community.jb=
oss.org/message/833306#833306">View the full discussion</a>
</span>
<hr style=3D"margin: 20px 0; border: none; background-color: #dadada; heigh=
t: 1px;">

<div class=3D"jive-rendered-content"><p>Hi,</p><p style=3D"min-height: 8pt;=
 height: 8pt; padding: 0px;">&#160;</p><p>Needed some help here (Jboss AS 7=
.1, RHEL 6)</p><p style=3D"min-height: 8pt; height: 8pt; padding: 0px;">&#1=
60;</p><p>I have updated the java options in standalone.conf file </p><p st=
yle=3D"min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>JAVA_OPTS=
=3D"-Xms2048m -Xmx2048m -XX:MaxPermSize=3D512m -XX:ThreadStackSize=3D128"</=
p><p style=3D"min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>res=
tarted the Jboss</p><p style=3D"min-height: 8pt; height: 8pt; padding: 0px;=
">&#160;</p><p>Now need to confirm the settings have effecctively updated, =
I run the following command "<span lang=3D"EN-AU" style=3D"font-size: 12pt;=
 font-family: 'Times New Roman','serif';">java -XshowSettings:all" , below =
is the output<br/></span></p><p style=3D"min-height: 8pt; height: 8pt; padd=
ing: 0px;">&#160;</p><p>VM settings:</p><p>&#160;&#160;&#160; Stack Size: 1=
.00M</p><p>&#160;&#160;&#160; Max. Heap Size (Estimated): 1.71G</p><p>&#160=
;&#160;&#160; Ergonomics Machine Class: server</p><p>&#160;&#160;&#160; Usi=
ng VM: Java HotSpot(TM) 64-Bit Server VM</p><p style=3D"min-height: 8pt; he=
ight: 8pt; padding: 0px;">&#160;</p><p>The stack size still it is showin as=
 1 MB and heap size as 1.71 G.</p><p style=3D"min-height: 8pt; height: 8pt;=
 padding: 0px;">&#160;</p><p>why the settings have not been updated ? Am I =
looking at right place (<span lang=3D"EN-AU" style=3D"font-size: 12pt; font=
-family: 'Times New Roman','serif';">java -XshowSettings:all) ?</span></p><=
p style=3D"min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span =
lang=3D"EN-AU" style=3D"font-size: 12pt; font-family: 'Times New Roman','se=
rif';">Help will be most appreciated</span></p><p style=3D"min-height: 8pt;=
 height: 8pt; padding: 0px;">&#160;</p><p><span lang=3D"EN-AU" style=3D"fon=
t-size: 12pt; font-family: 'Times New Roman','serif';">Regards</span></p><p=
 style=3D"min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span l=
ang=3D"EN-AU" style=3D"font-size: 12pt; font-family: 'Times New Roman','ser=
if';">Avinash<br/></span></p></div>

<div style=3D"background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style=3D"margin: 0;">Reply to this message by <a href=3D"https://com=
munity.jboss.org/message/833306#833306">going to Community</a></p>
=09<p style=3D"margin: 0;">Start a new discussion in Performance Tuning at =
<a href=3D"https://community.jboss.org/choose-container!input.jspa?contentT=
ype=3D1&containerType=3D14&container=3D2078">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>
------=_Part_627266_429955229.1377067789744--

------=_Part_627267_2122545295.1377067789744
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user
------=_Part_627267_2122545295.1377067789744--