-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
High CPU utilisation (5 cores) and spammy logs #2721
Comments
Is this a fresh install, upgrade or other please? |
This has been running for a while. @alexec |
OK. Can I ask what you're baselining against please? |
hello @estahn , does your argocd has a lot of git repos configured ? |
We've faced the same issue in our production cluster. The reason for high CPU usage appears to be in a not efficient implementation of setting parsing. The ListRepositories method have n^2 complexity: it parses the whole content of Working on PR which fixes it ASAP. |
Also got a response to my question from @estahn: around 80 repos are configured. That is definitely enough to cause high CPU usage. |
…avoid unnecessary yaml parsing
Deployed 1.3.2 + changes in #2810 internally. Fix improved performance but there I'm still seeing higher CPU usage comparing to 1.2 :( |
Checklist:
argocd version
.Describe the bug
High CPU utilisation (5 cores) and spamming logs:
To Reproduce
N/A
Expected behavior
Less resource usage and not so many log entries about the same thing.
Screenshots
Version
Logs
N/A
The text was updated successfully, but these errors were encountered: