Hi,

In my previous job we used to have similar issues. It turned out that the
JVM used by JRun for JRun's processes was running out of threads. The was
hard to pin point because you are not able to detect the percetage of memory
used by the JRun processes from what is actually used  by your CF code.

We had Macromedia support at the time and they provided a Java tool that
allowed us to see how many MBs were used by the JRun processes. Then we
could see the memory used by the JRun processes was at peak when the server
was crashing while the total memory utilized by JRun (in the windows task
manager was about 70 % of the memory allocated to the JVM Max Heap).

Try increasing the MaxPermSize (this is the memory utilized by the JRun's
for its internal processes). In Windows the -Xmx + MaxPermSize could
be 1.7GB per Macromedia/Adobe support but I have seen it working with
a max of
only 1.5 GB.

Go to your jvm.config file. It is in the c:\JRun4\bin\ directory (for Multi
Instance install). For single instance it is under c:\cfusionmx7\bin (I am
not sure about the location in the single instance but you can search the
cfusionmx7 directory for the file jvm.config).
Change the "MaxPermSize=128m" in the java.args line to "MaxPermSize=256m" as
below
# Arguments to VM
java.args=-Xmx1024M -server
-Dsun.io.useCanonCaches=false-XX:MaxPermSize=256m.....

This setting could be changed from the ColdFusion Admin as well.

This change requires a server restart. If your server crashes often then you
can make the change and let it crash and when you bring it back up the
setting should take effect.

Thanks,
Ahmed El-Rasheedy

On 6/19/07, Adam Presley <[EMAIL PROTECTED]> wrote:

As an employee here, I can tell you all these boxes got more memory than
god. lol

Adam

Dave Shuck wrote:
> That is a pretty quick diagnosis there, doc!
>
> While you may in fact be right, I think it would make sense to try to
> find trouble spots before slapping bandaids in order to mask
> problems.   I am not sure a blanket "give it more ram" statement is
> always the best advice.   That is my .02 anyway.
>
> On 6/19/07, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>*
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:
>
>     Get more ram on your db server.  You will be surprised at the
result.
>     -------------------------------------------------
>
>     Kevin Fricke
>     Lone Star Media
>     [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>     office: (512) 371-1822
>     mobile: (512) 626-0528
>
>     -----Original Message-----
>     From: "Dave Shuck" < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
>
>     Date: Tue, 19 Jun 2007 11:37:09
>     To:"Dallas/Fort Worth ColdFusion User Group Mailing List"
>     <[email protected] <mailto:[email protected]>>
>     Subject: Re: [DFW CFUG] ColdFusion/JVM SysAdmin needed
>
>
>     Also, they are the ones that wrote SeeFusion. :)<br><br><div><span
>     class="gmail_quote">On 6/19/07, <b class="gmail_sendername">Dave
>     Shuck</b> <<a href="mailto: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>">[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]></a>> wrote:</span><blockquote
>     class="gmail_quote" style="border-left: 1px solid rgb(204, 204,
>     204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>     Kyle, we have used Webapper ( <a href="http://www.webapper.com";
>     target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)"> www.webapper.com
>     <http://www.webapper.com></a> ) multiple times for this kind of
>     work, and there is no one that I would more highly
>     recommend. They specialize in this type of work and will
>     quickly pinpoint your problems. If you are
>     interested, contact Patrick Quinn at
>     <a href="mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>"
>     target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)"> [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]
></a>.<br><br>~Dave<br><br><div><div><span
>     class="e" id="q_11344d78011175a7_1"><span class="gmail_quote">
>     On 6/19/07, <b class="gmail_sendername">Kyle Murphy</b> <<a
>     href="mailto: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>" target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)">[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     </a>> wrote:</span></span></div><blockquote class="gmail_quote"
>     style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt
>     0pt 0.8ex; padding-left: 1ex;"><div><span class="e"
>     id="q_11344d78011175a7_3">
>
>
>
>     <div bgcolor="#ffffff" text="#000000">
>     This is not an official job posting, so I wanted to put it on the
CFUG
>     list. Our company is looking for a consultant to address CF
>     Performance issues in our production environment. We are
>     experiencing
>     mutliple restarts & CF flushes throughout the day & need a
>     full
>     time resource to help us determine the culprit(s).<br>
>     <br>
>     This would be a short term project (1-3 months) and would require
>     someone in our office on a daily basis. This person needs to
>     be very
>     well versed in the following:<br>
>     <br>
>     <ul>
>       <li>JVM</li>
>       <li>Garbage Collection</li>
>       <li>Datasource settings</li>
>       <li>methods to monitor JVM (JProbe, SeeFusion, etc.).</li>
>       <li>etc</li>
>     </ul>
>     If you have any information, we would like to speak to you
>     ASAP. I can
>     be reached at 214-239-9117.<br>
>     <br>
>     Thank you,<br>
>     Kyle Murphy<br>
>     Director of Professional Services<br>
>     Clearview Staffing Software<br>
>     <a href="http://www.clearviewtss.com"; target="_blank"
>     onclick="return top.js.OpenExtLink(window,event,this)">
>     www.clearviewtss.com <http://www.clearviewtss.com></a><br>
>     <br>
>     </div></span></div>
>
>     <br>_______________________________________________<br>Reply to
>     DFWCFUG:<br> <a href="mailto: [email protected]
>     <mailto:[email protected]>" target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)">[email protected]
>     <mailto:[email protected]></a><br>Subscribe/Unsubscribe:
>     <br> <a
>     href="http://lists1.safesecureweb.com/mailman/listinfo/list";
>     target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)">
http://lists1.safesecureweb.com/mailman/listinfo/list</a><br>List
>     Archives:<br>
>
>     <a href="http://www.mail-archive.com/list%40list.dfwcfug.org/";
>     target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)">
>     http://www.mail-archive.com/list%40list.dfwcfug.org/</a><br>
>     <a href=" http://www.mail-archive.com/list%40dfwcfug.org/";
>     target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)">
>
>     http://www.mail-archive.com/list%40dfwcfug.org/
>     <http://www.mail-archive.com/list%40dfwcfug.org/></a><br>DFWCFUG
>     Sponsors:<br> <a href="http://www.instantspot.com/";
>     target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)"> www.instantspot.com/
>     <http://www.instantspot.com/></a><br> <a
>     href="http://www.teksystems.com/"; target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)">
>
>     www.teksystems.com/ <http://www.teksystems.com/></a><br><br><br
>     clear="all"></blockquote></div><br><br clear="all"><br>--
>     <br>~Dave Shuck<br><a href="mailto: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>" target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)">[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     </a><br><a href=" http://daveshuck.instantspot.com";
>     target="_blank" onclick="return
>     top.js.OpenExtLink(window,event,this)">
>     http://daveshuck.instantspot.com
>     </a>
>     </blockquote></div><br><br clear="all"><br>-- <br>~Dave
>     Shuck<br><a href="mailto: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>">[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]></a><br><a
>     href="http://daveshuck.instantspot.com";>
>     http://daveshuck.instantspot.com</a>
>
>     _______________________________________________
>     Reply to DFWCFUG:
>       [email protected] <mailto:[email protected]>
>     Subscribe/Unsubscribe:
>       http://lists1.safesecureweb.com/mailman/listinfo/list
>     List Archives:
>         http://www.mail-archive.com/list%40list.dfwcfug.org/
>     <http://www.mail-archive.com/list%40list.dfwcfug.org/>
>       http://www.mail-archive.com/list%40dfwcfug.org/
>     DFWCFUG Sponsors:
>       www.instantspot.com/ <http://www.instantspot.com/>
>        www.teksystems.com/ <http://www.teksystems.com/>
>
>
>     _______________________________________________
>     Reply to DFWCFUG:
>       [email protected] <mailto:[email protected]>
>     Subscribe/Unsubscribe:
>        http://lists1.safesecureweb.com/mailman/listinfo/list
>     List Archives:
>         http://www.mail-archive.com/list%40list.dfwcfug.org/
>        http://www.mail-archive.com/list%40dfwcfug.org/
>     DFWCFUG Sponsors:
>       www.instantspot.com/ <http://www.instantspot.com/>
>       www.teksystems.com/ <http://www.teksystems.com/>
>
>
>
>
> --
> ~Dave Shuck
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> http://daveshuck.instantspot.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> Reply to DFWCFUG:
>   [email protected]
> Subscribe/Unsubscribe:
>   http://lists1.safesecureweb.com/mailman/listinfo/list
> List Archives:
>     http://www.mail-archive.com/list%40list.dfwcfug.org/
>   http://www.mail-archive.com/list%40dfwcfug.org/
> DFWCFUG Sponsors:
>   www.instantspot.com/
>   www.teksystems.com/
>


_______________________________________________
Reply to DFWCFUG:
[email protected]
Subscribe/Unsubscribe:
http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
   http://www.mail-archive.com/list%40list.dfwcfug.org/
http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
www.instantspot.com/
www.teksystems.com/

_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.instantspot.com/
  www.teksystems.com/

Reply via email to