CPU always at 100%

Moderator: gregober

Post Reply
piap
Posts: 1
Joined: Thu Apr 16, 2020 7:44 am

CPU always at 100%

Post by piap » Thu Apr 16, 2020 7:48 am

the cpu is still at 100% when using Dynfi
any ideas ? the product is testing on LXC / 16Go RAM / 10CPU
Attachments
cpu.PNG
cpu.PNG (8.73 KiB) Viewed 5758 times
User avatar
gregober
Posts: 89
Joined: Tue Mar 26, 2019 2:06 pm

Re: CPU always at 100%

Post by gregober » Fri Apr 17, 2020 4:38 pm

Which version of JRE are you using ?
"java -version" should let you know. Make sure you are running version 11, it is now the recommended one.

Code: Select all

my-computer 18:37:03 ~ -> java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.3+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.3+7, mixed mode)
Another point: Java and LXC containers might not be cooperating so nicely together.
https://weekly-geekly.github.io/article ... index.html
https://jaxenter.com/nobody-puts-java-c ... 39373.html

I would rather deploy this on a VM (KVM ? )

Which OS are you using ?
Petrus
Posts: 4
Joined: Tue Sep 24, 2019 10:21 am

Re: CPU always at 100%

Post by Petrus » Fri Apr 17, 2020 4:59 pm

Hi piap

Have you enabled the secrets encryption perhaps?
Maybe you could publish your config file (after obfuscating). Nothing strange in logs?
And yes, go with Java 11 at lest, works better with containers.

Best!
Post Reply