Skip to content
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

Extensive use of CPU resources (discussion) #106

Open
rgaudin opened this issue Feb 21, 2022 · 0 comments
Open

Extensive use of CPU resources (discussion) #106

rgaudin opened this issue Feb 21, 2022 · 0 comments

Comments

@rgaudin
Copy link
Contributor

rgaudin commented Feb 21, 2022

We are using v0.3.2 via Docker and noticed that Docker's own CPU limitation is having a hard time constraining the crawler.

Our worker used to be on dedicated HW (ran via docker) and that was fine but for external reasons, we installed another service on the same hardware (still via docker).

What we experienced then was that although we instructed Docker to set a quota on the container (say 0.5 CPU), the container was always oscillating (bursting?) to 100% which caused the other service to lack CPU resources and fail.

We had to set the cpusets on the container to explicitly use specific cores/cpu for the two services to coexist on the same HW.
Although I understand there's probably nothing to do about it, I wanted to share this information. Might not be present in newer version, might be a docker issue, or a kernel issue, or just not an issue but a limitation of how cgroups works.

Might be interesting to keep it in mind when offering k8s manifests…

Maybe #103 will help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant