Highlighted

ColdFusion Launcher Application maxing out CPU

Explorer ,
Feb 14, 2017

Copy link to clipboard

Copied

Every couple of weeks the ColdFusion Launcher Application will go up and max out the CPU on the server.  Site will then begin to timeout.  Restarting the ColdFusion server services is required to resolve the issue.  The is happening on two separate web servers.  Both are running CF 2016 and Windows Server 2012 R2.

TOPICS
Server administration

Views

3.2K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

ColdFusion Launcher Application maxing out CPU

Explorer ,
Feb 14, 2017

Copy link to clipboard

Copied

Every couple of weeks the ColdFusion Launcher Application will go up and max out the CPU on the server.  Site will then begin to timeout.  Restarting the ColdFusion server services is required to resolve the issue.  The is happening on two separate web servers.  Both are running CF 2016 and Windows Server 2012 R2.

TOPICS
Server administration

Views

3.2K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 14, 2017 0
Advocate ,
Feb 14, 2017

Copy link to clipboard

Copied

You have some bad / expensive code somewhere.

Something in the code is causing this CPU to increase and grind to a halt. You will need to use something like the Server Monitor or Fusion Reactor to see what is going on when this happens and what requests are happening.

Once you can see what page is causing the issue, you can then look at the code to see why this is happening.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 14, 2017 0
Guide ,
Feb 14, 2017

Copy link to clipboard

Copied

+1 what haxbh said

Andrew you could also monitor the CF Java plus tomcat to know those are well not having a problem leading to CPU being maxed out. You can use free tools like JMC which is part of  Oracle JDK to check on CF Java plus tomcat when CF has JMX (java management extensions) enabled.

Regards, Carl.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 14, 2017 0
Explorer ,
Feb 15, 2017

Copy link to clipboard

Copied

I have gotten in touch with support and have provided thread dump and heap dump to them.  I am waiting for them to get back to me.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 15, 2017 0
Guide ,
Feb 22, 2017

Copy link to clipboard

Copied

Hi Andrew,

Any update?

Regards, Carl.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 22, 2017 0
Explorer ,
Feb 23, 2017

Copy link to clipboard

Copied

Support requested that I apply the latest CF updates and rerun the site connectors.  Then they wanted a fresh thread and heap dump to analyze.  Unfortunately this was on a production system so I have to go through the process of applying the updates to dev and test then running thru QA before I can apply them to production.  This process take about a week so I had to go ahead and restart the services on the Prod system to get rid of the issue.

No I have to wait for the CPU to max out again before running the thread and heap dumps.  This usually only happens ever couple of weeks.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 23, 2017 0
New Here ,
Mar 08, 2017

Copy link to clipboard

Copied

We are experiencing the same issue.  After about 6 days under production load we see abnormal high CPU, requests take longer and over performance degrades. Restarting the CF immediately fixes the issue.  CPU profiles return to normal under the same load.

We are also running CF 2016 update 3 and Windows Server 2012 R2.  A cluster of 6 nodes, the nodes begins to spike with in a few hours of each other as they all get restarted at the same time and take the same distributed amount of traffic.

This occurred production, and I was unable to take a heap dump at the time because the site was failing.

Have you had any new updates on the issue?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 08, 2017 0
Explorer ,
Mar 10, 2017

Copy link to clipboard

Copied

Unfortunately our issue seems more sporadic and can take up to three weeks before it happens.  I am waiting now for the next occurrence to happen so I can send thread and heap dumps to support.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 10, 2017 0
Participant ,
Mar 10, 2017

Copy link to clipboard

Copied

It could be anything, you need to have full-time monitoring installed. We use FusionReactor, consider that. Its free for 2 weeks and then you can do month by month after that.

I had something similar happen and it was that the jvm.config default XX:MaxMetaspaceSize=192m was not large enough. I increased mine to 512m and that helped.

Also play around with using XX:+UseConcMarkSweepGC (*instead of -XX:+UseParallelGC) -XX:+CMSParallelRemarkEnabled -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark  in your jvm.config.


Here's some of the args I use:
java.args=-server -Xms5g -Xmx10g -XX:ReservedCodeCacheSize=128m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 10, 2017 0
Explorer ,
Mar 13, 2017

Copy link to clipboard

Copied

The CPU spiked again over the weekend.  I was able to get a snapshot from within server monitor and also a heap dump on the server.  I have sent both the Adobe CF support.  I will add updates as I get them.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 13, 2017 0