[prev in list] [next in list] [prev in thread] [next in thread] 

List:       geronimo-user
Subject:    Re: Strange memory problems / white screens
From:       Peter Petersson <peter () pmb ! mine ! nu>
Date:       2007-07-19 18:34:45
Message-ID: 469FAEC5.9060704 () pmb ! mine ! nu
[Download RAW message or body]

Ian Hunter wrote:
>
> Where do I find the output from --verbose:gc -- I don't see anything 
> new in geronimo.log.
>
The output should be in var/log/geronimo.out (its located alongside with 
geronimo.log) or it may be printed in the console depending on the 
method you use to start the server.

regards
   Peter Petersson
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* Kevan Miller [mailto:kevan.miller@gmail.com]
> *Sent:* Thursday, July 19, 2007 10:41 AM
> *To:* user@geronimo.apache.org
> *Subject:* Re: Strange memory problems / white screens
>
>  
>
>  
>
> On Jul 19, 2007, at 10:14 AM, Ian Hunter wrote:
>
>
>
> We've noticed a problem where intermittently Geronimo starts failing 
> to respond to web requests (browser symptom is a blank white screen) 
> -- when this starts happening, we notice that on the system info tab, 
> the memory metrics display "Not Yet Available" but after we restart 
> Geronimo completely, web requests work and the memory values display.
>
>  
>
> Has anyone else seen anything like this?
>
>  
>
> Hi Ian,
>
> Any errors showing up in var/log/geronimo.log? Is this behavior truly 
> intermittent or somewhat predictable? I would suspect that you have a 
> memory leak... Have you tracked memory utilization?
>
>  
>
> I've found the following useful:
>
>  
>
> export JAVA_OPTS=" -verbose:gc -XX:+PrintGCDetails 
> -XX:+HeapDumpOnOutOfMemoryError"
>
>  
>
> First two options will cause GC statistics to be printed by the JVM.
>
>  
>
> HeapDumpOnOutOfMemoryError will cause a heap dump to be created on 
> OOME conditions. Very handy for post-mortem analysis... There's no 
> overhead associated with this setting (only pay a cost when you run 
> out of memory). 
>
>  
>
> --kevan 
>


[Attachment #3 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ian Hunter wrote:
<blockquote cite="mid:008801c7ca1d$e0546c80$8328a8c0@ihunterlap"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
  <style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
  </style>
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Where do I
find the output from &#8211;verbose:gc
&#8211; I don&#8217;t see anything new in geronimo.log.</span></font></p>
  </div>
</blockquote>
The output should be in var/log/geronimo.out (its located alongside
with geronimo.log) or it may be printed in the console depending on the
method you use to start the server.<br>
<br>
regards<br>
&nbsp;&nbsp; Peter Petersson<br>
<blockquote cite="mid:008801c7ca1d$e0546c80$8328a8c0@ihunterlap"
 type="cite">
  <div class="Section1">
  <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: \
navy;"><o:p></o:p></span></font></p>  <p class="MsoNormal"><font color="navy" \
face="Arial" size="2"><span  style="font-size: 10pt; font-family: Arial; color: \
navy;"><o:p>&nbsp;</o:p></span></font></p>  <p class="MsoNormal"><font color="navy" \
face="Arial" size="2"><span  style="font-size: 10pt; font-family: Arial; color: \
navy;"><o:p>&nbsp;</o:p></span></font></p>  <div>
  <div class="MsoNormal" style="text-align: center;" align="center"><font
 face="Times New Roman" size="3"><span style="font-size: 12pt;">
  <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
  <p class="MsoNormal"><b><font face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma; font-weight: \
bold;">From:</span></font></b><font  face="Tahoma" size="2"><span
 style="font-size: 10pt; font-family: Tahoma;"> Kevan Miller
[<a class="moz-txt-link-freetext" \
href="mailto:kevan.miller@gmail.com">mailto:kevan.miller@gmail.com</a>] <br>  \
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, July 19, 2007
10:41 AM<br>
  <b><span style="font-weight: bold;">To:</span></b>
<a class="moz-txt-link-abbreviated" \
href="mailto:user@geronimo.apache.org">user@geronimo.apache.org</a><br>  <b><span \
style="font-weight: bold;">Subject:</span></b> Re: Strange memory problems
/ white screens</span></font><o:p></o:p></p>
  </div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  <div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">On Jul 19, 2007, at 10:14 AM, Ian Hunter
wrote:<o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><br>
  <br>
  <o:p></o:p></span></font></p>
  <div>
  <p class="MsoNormal" style=""><span class="apple-style-span"><O:SMARTTAGTYPE
 namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"><O:SMARTTAGTYPE
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" \
name="State"><O:SMARTTAGTYPE  \
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"><O:SMARTTAGTYPE \
namespaceuri="urn:schemas-microsoft-com:office:smarttags" \
name="place"><O:SMARTTAGTYPE  \
namespaceuri="urn:schemas-microsoft-com:office:smarttags" \
name="Street"><O:SMARTTAGTYPE  \
namespaceuri="urn:schemas-microsoft-com:office:smarttags"  \
name="address"><O:SMARTTAGTYPE  \
namespaceuri="urn:schemas-microsoft-com:office:smarttags"  name="PersonName"><font \
color="black" face="Arial" size="2"><span  style="font-size: 10pt; font-family: \
Arial; color: black;"><span  style="border-spacing: 0px; orphans: 2; widows: 2; \
word-spacing: 0px;">We&#8217;ve noticed a problem where intermittently Geronimo \
starts failing to respond to
web requests (browser symptom is a blank white screen) &#8211; when this
starts
happening, we notice that on the system info tab, the memory metrics
display
&#8220;Not Yet Available&#8221; but after we restart Geronimo completely, web
requests work
and the memory values display.<O:P
 style="font-family: Arial; font-size: \
13.3333px;"></O:P></span></span></font></O:SMARTTAGTYPE></O:SMARTTAGTYPE></O:SMARTTAGT \
YPE></O:SMARTTAGTYPE></O:SMARTTAGTYPE></O:SMARTTAGTYPE></O:SMARTTAGTYPE></span><font  \
color="black"><span style="color: black;"><o:p></o:p></span></font></p>  <p \
class="MsoNormal" style=""><span class="apple-style-span"><O:P  style="font-family: \
Arial; font-size: 13.3333px;"><font color="black"  face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: \
black;">&nbsp;</span></font></O:P></span><font  color="black"><span style="color: \
black;"><o:p></o:p></span></font></p>  <p class="MsoNormal" style=""><span \
class="apple-style-span"><font  color="black" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: black;">Has anyone
else seen
anything like this?</span></font></span><font color="black"><span
 style="color: black;"><o:p></o:p></span></font></p>
  </div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">Hi Ian,<o:p></o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">Any errors showing up in
var/log/geronimo.log? Is this behavior truly
intermittent or somewhat predictable? I would suspect that you have a
memory
leak...&nbsp;Have you tracked memory utilization?<o:p></o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">I've found the following \
useful:<o:p></o:p></span></font></p>  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">export JAVA_OPTS="&nbsp;-verbose:gc
-XX:+PrintGCDetails
-XX:+HeapDumpOnOutOfMemoryError"<o:p></o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">First two options will cause GC statistics to
be printed by the JVM.<o:p></o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">HeapDumpOnOutOfMemoryError will cause a heap
dump to be created on OOME
conditions. Very handy for post-mortem analysis... There's no overhead
associated with this setting (only pay a cost when you run out of
memory).&nbsp;<o:p></o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;"><o:p>&nbsp;</o:p></span></font></p>
  </div>
  <div>
  <p class="MsoNormal"><font face="Times New Roman" size="3"><span
 style="font-size: 12pt;">--kevan&nbsp;<o:p></o:p></span></font></p>
  </div>
  </div>
</blockquote>
<br>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic