• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF 2018 Stability Issues after upgrading to HF-10

Community Beginner ,
Sep 21, 2020 Sep 21, 2020

Copy link to clipboard

Copied

HI Guys,

 

Wondering if anyone else is experience stability issues after upgrading to CD2018 Update 10?  We host in the cloud a single server CF2018.  It was on Update 2 and rock solid.  After updating to update 4, then update 10 over a 2 week period, we have lost stability in the system.

 

The server is now requiring a reboot every 3-10 days.

 

Thinking it was a memory issues, we have 16 GB on our VM, so we upgraded the heap size to 8192 (since it was always maxing at 2048).  No help.

 

When the system becomes unrepsonsive for our app, the CPU looks as though it is doing work still (not locked, but fluctuating between 1 and 30%).  The Administrator console is typically unavailable.

 

Today, for hte first time, the CFIDE administration page showed a CF error dump.

 

Environment:

Windows server 2012R2 fully patched (15 GB, 4 vCPU).  HDD has plenty of resources.  IIS serves the public.

Server Details
Server ProductColdFusion
Version2018,0,10,320417
EditionStandard  
Operating SystemWindows Server 2012 R2  
OS Version6.3  
Update Level/C:/ColdFusion2018/cfusion/lib/updates/chf20180010.jar  
Adobe Driver Version5.1.4 (Build 0001)  
Tomcat Version9.0.21.0  
ava Version11.0.1  
Java VendorOracle Corporation  
Java Vendor URLhttp://java.oracle.com/  
Java HomeC:\ColdFusion2018\jre  
Java File EncodingCp1252  
Java Default Localeen_US  
File Separator\  
Path Separator;  
Line SeparatorChr(13)  
User NameWEB02$  
User HomeC:\windows\system32\config\systemprofile  
User DirC:\ColdFusion2018\cfusion\bin  
Java VM Specification Version11  
Java VM Specification VendorOracle Corporation  
Java VM Specification NameJava Virtual Machine Specification  
Java VM Version11.0.1+13-LTS  
Java VM VendorOracle Corporation  
Java VM NameJava HotSpot(TM) 64-Bit Server VM  
Java Specification Version11  
Java Specification VendorOracle Corporation  
Java Specification NameJava Platform API Specification  
Java Class Version55.0  
TOPICS
Server administration

Views

432

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
community guidelines

correct answers 1 Correct answer

Community Beginner , Sep 28, 2020 Sep 28, 2020

Hi guys,

 

Thanks for your input.  As an update:

• Yes, although an unistall and reinstall was on the table, we have not yet done this;

• We seem to have established stability back into the system with the removal of the metaspace option in the config file.

We have had to add some drive space and change folder drive letters, necessitating server reboot, so the jury is still out, but stability has improved.

Votes

Translate

Translate
Guide ,
Sep 21, 2020 Sep 21, 2020

Copy link to clipboard

Copied

Hi Michael,

 

I am not noticing any CF2018 update 10 stabilty issues myself however I am using it with current Java 11.0.8. Perhaps you would like to upgrade the Java in use from 11.0.1.

 

What value are you useing for Metaspace?

 

Regards, Carl.

 

Votes

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
community guidelines
Community Beginner ,
Sep 21, 2020 Sep 21, 2020

Copy link to clipboard

Copied

Thanks.  Metaspace was set to 192M.  Changed this to 512M.

 

Was thinking about the java upgrade but this would need to wait for the weekend.  

 

Strange though that these stability issues only crept in when we started the upgrade process (and subsequent lockdown).

Votes

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
community guidelines
Community Beginner ,
Sep 21, 2020 Sep 21, 2020

Copy link to clipboard

Copied

CF would not restart with this value.  As per article below, I removed metaspace alltogether and will monitor.

https://www.carehart.org/blog/client/index.cfm/2020/2/24/solving_metaspace_errors 

Votes

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
community guidelines
Guide ,
Sep 21, 2020 Sep 21, 2020

Copy link to clipboard

Copied

Look forward to hearing how that goes. 

Votes

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
community guidelines
Community Expert ,
Sep 28, 2020 Sep 28, 2020

Copy link to clipboard

Copied

> ... the CFIDE administration page showed a CF error dump.

Could you please share the error dump.

Votes

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
community guidelines
Community Expert ,
Sep 28, 2020 Sep 28, 2020

Copy link to clipboard

Copied

BKBK, did you see the other comments from the 21st? I'd think the first question for Michael is rather whether the problem was resolved by the removal of the maxmetaspace. Given the discussion, I think that probably resolved it.

 

But yes, if somehow it did not, it could help to see the error. It could also help to view whatever error lines might also have been written to any of the CF logs at the same time that error occurred, if the cause is perhaps not obvious from the error shown IN the admin.


/Charlie (troubleshooter, carehart.org)

Votes

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
community guidelines
Community Expert ,
Sep 28, 2020 Sep 28, 2020

Copy link to clipboard

Copied

Yes, I saw the other comments. My own comment has a different perspective. Whether or not the metaspace solution works, and I hope it does, it would be helpful to the community to document the error for posterity. 

Votes

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
community guidelines
Community Expert ,
Sep 28, 2020 Sep 28, 2020

Copy link to clipboard

Copied

Hey, I've only just seen that an error message was actually posted! Sorry about that, Michael5DF8.

 

 

Votes

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
community guidelines
Community Expert ,
Sep 28, 2020 Sep 28, 2020

Copy link to clipboard

Copied

The error shown is:

net.sf.ehcache.CacheException: java.lang.NoClassDefFoundError: Could not initialize class net.sf.ehcache.statistics.extended.StandardPassThroughStatistic
at net.sf.ehcache.CacheManager.init(CacheManager.java:425)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:269)
at coldfusion.security.SecurityManager.initAuthCacheManager(SecurityManager.java:1752)
at coldfusion.security.SecurityManager.getElemStrFromAuthCache(SecurityManager.java:3742)
at coldfusion.security.SecurityManager.getElemFromAuthCache(SecurityManager.java:3857)

 

Net.sf.ehcache.statistics.extended is a package that is contained in the system library, /cfusion/lib/ehcache-2.10.3.jar. These are all built in. If you cannot find /cfusion/lib/ehcache-2.10.3.jar, then that will be a red flag right there.

 

To see this, simply unzip the JAR file. You should see within it the class file, /net/sf/ehcache/statistics/extended/StandardPassThroughStatistic.class. 

 

This error therefore suggests that there was an error during the update process. I would therefore suggest that you uninstall, then reinstall Update 10.

Votes

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
community guidelines
Community Expert ,
Sep 28, 2020 Sep 28, 2020

Copy link to clipboard

Copied

For the sake of ruling out: you don't use external Ehcache libraries, do you? (We do, and are therefore careful about the order in which classes are loaded). 

Votes

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
community guidelines
Community Beginner ,
Sep 28, 2020 Sep 28, 2020

Copy link to clipboard

Copied

LATEST

Hi guys,

 

Thanks for your input.  As an update:

• Yes, although an unistall and reinstall was on the table, we have not yet done this;

• We seem to have established stability back into the system with the removal of the metaspace option in the config file.

We have had to add some drive space and change folder drive letters, necessitating server reboot, so the jury is still out, but stability has improved.

Votes

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
community guidelines
Resources
Documentation