Tuning ParallelGCThreads / ConcGCThreads in CMS on OpenJDK

Solution Verified - Updated -

Issue

  • How are ConcGCThreads and ParallelGCThreads calculated?
  • How to tune ConcGCThreads and ParallelGCThreads in CMS?
  • Monitors and benchmarks indicates an overwork of cpu activity and long Garbage Collection pauses while running multiple JBoss EAP instances. What values should I set for ParallelGCThreads / CMSParallelThreads to solve it?

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7.x
  • OpenJDK/OracleJDK 8
    • 8/7 (CMS is deprecated in JDK 11)
  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content