-
Notifications
You must be signed in to change notification settings - Fork 18
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
Very large increase in CPU consumption after migration from Keycloak 21.1.2 to 24.0.4 #108
Comments
Probably related to: #65 What kind of resources do you use? |
There is now also away to get prometheus metrics about resources: https://blog.crossplane.io/crossplane-v1-16/ i'll track that in #109 and probably work on it tomorrow |
So maybe it's really the protocol mappers: #65 (comment) i have to check that out as well -> you can try that workaround |
Ok - in our case it was just missing |
@Breee the change helps in our case decrese the CPU usage from ~ 7 cores to stable 2-3 cores but it seems that there is some memory leak (maybe in Terraform - I see there is v.1.4.6 version used) which cause that provider over time take more and more meory: |
Can you test if the leaks go away with:
? |
I will have to re-test it multiple times with different memory limits, but in our case after first trials it seems it is still leaking even in v 0.23 |
@Breee applied the change. Will let you know about the results. |
Tracking that in #118 -> will try to fix that asap |
please test out @nowyp @vladimirblahoz
it contains changes of pr #124 |
@Breee thanks for update. Applied changes to our dev cluster - let you know later about the outcome |
let's consolidate further discussions into #118 |
Hi,
we noticed very large CPU increase after switch from Keycloak 21.1.2 to 24.0.4. Initially we assumed that the problem was related that we use older provider version (v0.17.0) but we upgraded to the latest v0.22.0 and it did not help.
Below is Grafana CPU usage chart and how is changed when we upgraded Keycloak:
Except the Keycloak upgrade we did not have in this specific release any other changes. We also do not observe any errors or anything like that in our logs for keycloak provider.
The text was updated successfully, but these errors were encountered: