Closed istudies closed 1 year ago
Should be caused by not adding the resource limit. After starting with the resource limit, it looks OK
docker-compose.yaml
...
deploy:
resources:
limits:
cpus: '2'
memory: 2g
...
@istudies Thanks for your reporting. Could you help to add a comment for this WithCGroup
method? Thanks again.
@doujiang24 https://github.com/mosn/holmes/pull/136 PTAL
Set
holmes.WithCGroup(true)
in the docker container. The log message indicates that the cpu core failed to be obtained.cgroup version: v1