Skip navigation
jeffw2002
Currently Being Moderated

ColdFusion8 Enterprise server SSL memory leak brings down server!

Mar 8, 2012 7:22 AM

Thanks in advance for your help.

 

Our system is a Windows 2003 Server running ColdFustion8 Enterprise Server.  The site runs OK on a development server without SSL but when moved over to a live site with SSL there is a JRUN memory leak that eventually brings down the server around every three hours requiring the services be restarted. 

 

Any ideas on how to troubleshoot this issue?

 

We were thinking of modifying the heap size in the JVM config or WSconfig_JVMconfig files.  We are running CF8 Enterprise edition but we are not sure which config file to modify.  Does anyone know which config file to modify and what the best settings would be?

 

Thanks,

Jeff

 
Replies
  • Currently Being Moderated
    Mar 8, 2012 8:25 AM   in reply to jeffw2002

    Jeff,  Is it a 64 bit or 32 bit server? How much RAM is available to the OS?  It may not be a memory leak rather you may simply be running out of heap space, are you using the default 512mb?   When you run ColdFusion with a 512mb heap size on a server with 4GB of ram, ColdFusion will only be able to use 512mb of that 4GB. So you will certainly want to increase the heap size if it is at 512mb and you have more than 1gb of ram on the server.    Assuming you have roughly 2GB of ram on the server and If you are on 32 bit you can increase this to 1024MB (going much higher can cause CF not to start, but you should be able to get it higher if you experiment).  If you are on 64 bit you can go much higher, just make sure that you leave some room for the OS / IIS and anything else that may need to run.  SSL is likely not the problem, you would probably experience the same issue if you received the same amount of load you see on production on your development server.  As for which file to edit you want to edit:  {cf_root}/runtime/bin/jvm.config

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 8, 2012 9:29 AM   in reply to jeffw2002

    Are you sure it's a problem with SSL? If you've moved from one server to another that's not the only thing that could have changed. SSL is handled by the web server (i.e. IIS) and not ColdFusion, so I very much doubt that's the issue.

     

    If I remember correctly, although a 32-bit OS can address 3.2GB of RAM, one application can only get 1.2GB of contiguous RAM at any time. Some applications can utilise more, but it gets slower as it's harder to maintain due to the fragmented memory space.

     

    All you can do is set it to use that 1.2GB, but as I say I'd guess it's not an SSL issue.

     

    Although you say you're running 12GB of RAM on a 32-bit Windows box, so you must be running Enterprise Edition?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 8, 2012 1:43 PM   in reply to jeffw2002

    32 bit running with 12G of RAM

    A pussycat with the head of a tiger! Cut it down to 2GB. Else, get the whole tiger: 64 bit.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 9, 2012 7:30 AM   in reply to jeffw2002

    jeffw2002 wrote:

     

    Our system is a Windows 2003 Server running ColdFustion8 Enterprise Server.  The site runs OK on a development server without SSL but when moved over to a live site with SSL there is a JRUN memory leak that eventually brings down the server around every three hours requiring the services be restarted. 

     

    Any ideas on how to troubleshoot this issue?

     

    This tells me to:

     

         - Review the logs (including the logs in the runtime folder);

         - Set the Xmx and Xms JVM flags both to 1024;

         - Test by temporarily reducing the RAM to, say 2GB.

     

    These are steps I would undertake only as a last resort on a live site. However, you're going down every 3 hours, so something's got to be done. By the way, you haven't told us how many instances are running.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points