You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/04/14 05:20:41 UTC

[GitHub] [incubator-dolphinscheduler] chengshiwen edited a comment on issue #5198: [Bug][Docker/K8s] Incorrect runtime metrics of cpu and memory in Docker/K8s

chengshiwen edited a comment on issue #5198:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/5198#issuecomment-819235178


   > @chengshiwen What is your Java version? When I use the latest image (container support is enabled by default), these results are correct.
   ```
   openjdk version "1.8.0_282"
   OpenJDK Runtime Environment (build 1.8.0_282-b08)
   OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)
   ```
   
   `UseContainerSupport` is not friendly to memory in Docker/K8s and `Runtime.getRuntime().availableProcessors` in K8s. You will see `Runtime.getRuntime().availableProcessors=1` if `requests.limts.cpu` is not configuredin K8s


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org