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

CF11 Linux AWS JVM issue causing database connections spike and unresponsive server (fixed)

Explorer ,
Sep 07, 2018 Sep 07, 2018

Copy link to clipboard

Copied

We had a troublesome intermittent ( 3x weekly ) fault over a six week period which usually occurred under peak load and was only temporarily "reset" by a CF restart.

  1. First the AWS Linux box CPU spiked to 100%
  2. Then CF struggled to make database connections and the database connections piled up
  3. Requests delayed upto 20 seconds +
  4. CF Server unresponsive and needed restart
  5. CF Restart slow ( 5m + )

With help from a CF expert the problem was tracked to the inability of the JVM to get sufficient entropy

The fix is

ColdFusion_Administrator2.png

For clarification we simply change the highlighted arg from securerandom.source=file:/dev/random

To -Djava.security.egd=file:/dev/./urandom

and restart Coldfusion!

Views

299

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
Adobe Employee ,
Sep 07, 2018 Sep 07, 2018

Copy link to clipboard

Copied

LATEST

Thanks for sharing.

We have listed out all the possible solutions for performance issue in below blog:

ColdFusion performance issues and optimization | ColdFusion

-Rahul

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