Skip navigation
smiralles
Currently Being Moderated

CF crashes 1 to 2 times a weeks

Sep 7, 2012 5:44 AM

hey there guys, it does not fail! CF keeps crashing on us 1 to 2 times a week sometimes even 3! i have applied all the latest patches to the system and CF but it just keep getting worse and worse! I'm not a CF guy and im tired of google'n stuff. please let me know what kind of info you guys would need to help me out with these problems! i have researched and read eveything on this site. thanks in advanced.

 

exception.log

"    "Error","jrpp-799","09/06/12","03:17:45","XXX","Connection Failure: Status code unavailable The specific sequence of files included or processed is: C:\wwwroot\scripts\processEmail.cfm, line: 145 "

coldfusion.tagext.net.HttpTag$HttpConnectionFailureException: Connection Failure: Status code unavailable

"    "Error","jrpp-925","09/07/12","00:32:55","XXX","Java heap space The specific sequence of files included or processed is: C:\wwwroot\XXX-micro\index.cfm, line: 9 "

java.lang.OutOfMemoryError: Java heap space

"    "Error","jrpp-938","09/07/12","00:32:55","XXX","The request has exceeded the allowable time limit Tag: cfoutput The specific sequence of files included or processed is: C:\wwwroot\locator\search.cfm, line: 338 "

coldfusion.runtime.RequestTimedOutException: The request has exceeded the allowable time limit Tag: cfoutput

"    "Error","jrpp-929","09/07/12","00:34:16","XXX","The request has exceeded the allowable time limit Tag: CFLOOP The specific sequence of files included or processed is: C:\wwwroot\scripts\processEmail.cfm, line: 107 "

coldfusion.runtime.RequestTimedOutException: The request has exceeded the allowable time limit Tag: CFLOOP

 

server.log

"    "Warning","jrpp-935","09/07/12","00:26:25",,"Thread: jrpp-935, processing template: C:\wwwroot\XXX-micro\index.cfm, completed in 55 seconds, exceeding the 45 second warning limit"

"    "Warning","jrpp-913","09/07/12","00:26:27",,"Thread: jrpp-913, processing template: C:\wwwroot\XXX-micro\candidate.cfm, completed in 47 seconds, exceeding the 45 second warning limit"

"    "Warning","jrpp-938","09/07/12","00:32:12",,"Thread: jrpp-938, processing template: C:\wwwroot\locator\search.cfm, completed in 60 seconds, exceeding the 45 second warning limit"

"    "Warning","jrpp-925","09/07/12","00:32:53",,"Thread: jrpp-925, processing template: C:\wwwroot\XXX-micro\index.cfm, completed in 150 seconds, exceeding the 45 second warning limit"

"    "Warning","jrpp-928","09/07/12","00:32:58",,"Thread: jrpp-928, processing template: C:\wwwroot\locator\search.cfm, completed in 163 seconds, exceeding the 45 second warning limit"

"    "Warning","jrpp-932","09/07/12","00:33:01",,"Thread: jrpp-932, processing template: C:\wwwroot\locator\search.cfm, completed in 168 seconds, exceeding the 45 second warning

application.log

"    "Error","jrpp-925","09/07/12","00:32:55","XXX","Java heap space The specific sequence of files included or processed is: C:\wwwroot\XXX-micro\index.cfm, line: 9 "

"    "Error","jrpp-938","09/07/12","00:32:55","XXX","The request has exceeded the allowable time limit Tag: cfoutput The specific sequence of files included or processed is: C:\wwwroot\locator\search.cfm, line: 338 "

"    "Error","jrpp-929","09/07/12","00:34:16","XXX","The request has exceeded the allowable time limit Tag: CFLOOP The specific sequence of files included or processed is: C:\wwwroot\scripts\processEmail.cfm, line: 107 "

 
Replies
  • Currently Being Moderated
    Sep 7, 2012 6:22 AM   in reply to smiralles

    Well probably a good place to start would be letting us know platforms and version numbers.  What OS?  What CF?  Stand-alone or j2ee?  What Web Server? etc.

     

    Also the entries from your app server's standard output log file when this happens.  For CF running under JRun j2ee this logfile is here: {drive}:\JRun4\logs\cfusion-out.log

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2012 7:44 AM   in reply to smiralles

    You might have some inefficient code causing the cpu to go to 100% utilization.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2012 8:03 AM   in reply to smiralles

    JRun4 is the default location for ColdFusion install.  It can be changed however.  Do you have a JRun4 directory on your application server (server that is running ColdFusion)?  If so, it should have a 'logs' directory under it with the log files in that folder.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2012 9:25 AM   in reply to smiralles

    That's it.  I believe that directory structure also shows that you are running a standalone installation.  It is just a difference in how CF is installed and runs.  All-in-one instead of being deployed to a j2ee server.  JRun is still there though behind the scenes.

     

    Are you seeing any "out of memory" errors in those logs?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2012 12:36 PM   in reply to smiralles

    I'm with Dan. The "java.lang.OutOfMemoryError: Java heap space" points to some process consuming all the memory JVM has available. Either you have lots of simultaneus requests, an incorrect CF configuration for your needs, or some inefficient code. The 47 to 168 seconds are huge for a script to complete, so I'd take a look to the code on those files.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2012 7:58 PM   in reply to smiralles

    Suggest check \coldfusion9\runtime\logs\ “out” and “event” logs for warnings errors prior to crash and when those applications slow down. Report back findings.

    HTH, Carl.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 10, 2012 8:09 AM   in reply to smiralles

    I suggest something like FusionReactor or some other CF/Java memory monitor (there is a free one I used as well but cannot think of the name). For me, it pinpointed a couple pages that were not releasing memory because of some differences between CF5 and CF9 when we ported the code. Your dump above may or may not reflect the actual culprit as memory issues are very hard to find. The prior request may have eaten all your memory and this request just happened to be the final straw.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 10, 2012 11:29 AM   in reply to Steve Sommers

    You are going to want to get some monitoring on that pretty quickly.

     

    In almost every case, Heap Memory errors come from bad code.

     

    Lots of times, this comes from a bunch of queries in a loop. Do you have

    any entries in the log files around the time of the crash that might point

    to a scheduled task running or some other process?

     

    DW

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 10, 2012 3:41 PM   in reply to DanWilson_

    Monitoring is a good idea that way you know what is going on. There are many free, donation and applications you pay for by way of tools to use.
    Free:
    -Logs (your already starting to get some useful errors)
    -CF Monitor (if you have an Enterprise licence ie not Standard)
    -JVM logging
    -Jconsole (part of Java JDK)
    -Jvisualvm (also part of Java JDK)
    -CF Server Manager (parts like details view might assist)
    -CF Metrics logging
    -CFSTAT (not to be disregarded)
    -others that do not come straight to mind
    Donation:
    -CFTracker (have not used that overly yet myself however looks good)
    Pay (tho may have trial period for free):
    -FusionReactor
    -SeeFusion
    -perhaps others

     

    Apologies to those that are missed in posting a quick forum reply.

     

    Given you know how one or more of those tools looks when CF is working well versa when CF is nearing crash then likely you can have a better idea as to what is the problem. Making an adjustment to a CF setting or CFM code and monitoring will show if adjustment has had any effect.

     

    Regards, Carl.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 10, 2012 3:46 PM   in reply to smiralles

    What is your CF9 JVM settings for minimum and maximum memory?

    Eg:

     

    Capture.JPG

     

    You think CF version is 9.0.1. Confirm version with -

     

    CFadmin > System Information

    Eg:
     
    About ColdFusion »

    Server Details 
    Server Product  ColdFusion 
    Version  9,0,1,274733   
    Edition  Enterprise   
    Update Level  /D:/ColdFusion9/lib/updates/chf9010001.jar   
    Java Version  1.6.0_17 

     

    Regards, Carl.

     
    |
    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