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

API uses lots of CPU by default and requires a CPU limit on docker-compose/kube #448

Open
zoriya opened this issue Apr 28, 2024 · 0 comments
Labels
back bug Something isn't working

Comments

@zoriya
Copy link
Owner

zoriya commented Apr 28, 2024

Kyoo's version

4.5.0

What happened?

To trace this, last time I checked it was because the aspnet runner was creating threads since requests were queuing up. I tried to set a thread count limit, but it did not work, and I simply set a CPU limit on docker compose.

We should look into:

  • enforcing a thread limit to fix this
  • profile the app to know if this is the cause or simply a symptom
@zoriya zoriya added bug Something isn't working back labels Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant