-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerized container consuming too much CPU resource #14
Comments
Hi @kweng2, I tried to reproduce this but haven't been able to, either in a docker container or running it straight up. |
If anyone else experienced this behaviour, can you please provide some more information under what conditions this was observed? Thanks! |
FWIW I haven't observed any issues. We have it running in our CI cluster under k8s, and monitoring is showing consistently tiny CPU usage for that pod. It's not handling a lot of tasks yet, it's a clean pod for every build and we purge the queue for each scenario, so it's maybe not 100% representative. |
I'm running it from docker-compose on macOS 11.0.1 |
Ok, I'm also seeing an increase in CPU consumption when i add a queue, but only about 1% per queue. At first I suspected the max concurrent dispatches (as it creates a go routine for each) but i created one with 1 million without any noticeable increase in CPU, so that does not seem to be it. |
Possibly related: docker/for-mac#5044 |
@aertje I'm observing an average of 0.00% CPU utilization on idle queues and around 1-3% for active queues 👍👏🎉 |
Thanks @Thammada, will close this issue then. |
Building docker image from source then running in container as suggested results in consuming ~100% of CPU:
I have not tried running this via go directly.
The text was updated successfully, but these errors were encountered: