ColdFusion Application server crashing

384 Views Asked by At

I am using ColdFusion 11 and there are more than 20 web sites setup using IIS.

The issue I am facing, in Windows tasks manager memory for the ColdFusion process is keep increasing and when it crosses 90% then all the sites stop working and messages show “Internal server error”. After restarting the server, it started working again.

Server has a total 30GB memory and 20GB is allocated to ColdFusion JVM. FusionReactor is also installed on my server.

Here are some of my findings.

  1. Database server is working properly. All the queries are completed in a few seconds.

  2. I monitored the Memory Heap graph in FusionReactor. It continually increases and it is also going out of maximum heap size. https://www.screencast.com/t/lHGg1my57K

  3. In coldfusion-out.log, following repeated errors logged before server crash.

Jun 11, 2020 20:39:24 PM Error [ajp-bio-8014-exec-1186] - Event Name: onSessionStart
Jun 11, 2020 20:39:24 PM Error [ajp-bio-8014-exec-1186] - Message: Event handler exception.
Jun 11, 2020 20:39:24 PM Error [ajp-bio-8014-exec-1186] - Detail: An exception occurred while invoking an event handler method from Application.cfc. The method name is: onSessionStart.
Jun 11, 2020 20:39:24 PM Error [ajp-bio-8014-exec-1186] - Type: Database
Jun 11, 2020 20:39:25 PM Error [ajp-bio-8014-exec-1156] - Event Name: onRequestStart
Jun 11, 2020 20:39:25 PM Error [ajp-bio-8014-exec-1156] - Message: Event handler exception.

Other messages that repeating in log are.

Jun 11, 2020 20:27:56 PM Error [ajp-bio-8014-exec-462] - Event Name: 
Jun 11, 2020 20:27:56 PM Error [ajp-bio-8014-exec-462] - Message: The request has exceeded the allowable time limit Tag: CFLOOP
Jun 11, 2020 20:28:27 PM Error [ajp-bio-8014-exec-475] - Event Name: 
Jun 11, 2020 20:28:27 PM Error [ajp-bio-8014-exec-475] - Message: The request has exceeded the allowable time limit Tag: CFQUERY

Does someone have an idea how to investigate and find the root cause?

1

There are 1 best solutions below

0
On

I fixed this issue by changing the server settings. I disabled the CF server monitoring and adjusted the Request Limits in CF Administrator. Thanks @Sev_Roberts to share your knowledge.