Kubernetes Hints

Java

Java and Kuberentes is a bit complicated. Java tries to autodetect various system information (for example Memory, Cpu count) and autotunes the java virtual machine. These detections are off for containers, as java might see a lot of cpu cores, but the container is limited to a few. Explicit settings for memory (Xms, Xmx) and cpu (-XX:ActiveProcessorCount=X) are advised.

Cern JMX

Error creating bean with name 'gcRatios' defined in cern.acet.metrics.util.MetricsConfig: 
Bean instantiation via factory method failed; nested exption is ...

cern java instrumentation assumes that the parallel Garbage collector is running. Other garbage collectors don't have this bean. Explicitly setting CPU count or garbage collector should help.

-- ChristophHandel - 30 May 2022
Topic revision: r2 - 17 Aug 2022, HannoHuether
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback