You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device and OS: Fedora F1 (kernel 6.12)
App version: N/A
Kubernetes distro being used: N/A
Other: N/A
Steps to reproduce
When using Fedora F41 (kernel 6.12 line), Keycloak Pod get OOM Killed. The root cause can clearly be seen when manually calling the following command from the Keycloak Pod:
sh-5.1$ java -XshowSettings:vm -version
...
Max. Heap Size (Estimated): 7.67G <-- !!! This is the Node value!
...
Provider: cgroupv2
Effective CPU Count: 16 <-- !!! Again, taken from the Node!
The issue has already been reported in JDK-8346874 that follows to the actual fix - JDK-8347129. At the time of writing, this has been fixed only in the latest JVM versions with no information about the backports
Expected result
Keycloak shouldn't go OOM
Workaround
The most promising workaround is to add the following snippet to the Keycloak StatefulSet:
Environment
Device and OS: Fedora F1 (kernel 6.12)
App version: N/A
Kubernetes distro being used: N/A
Other: N/A
Steps to reproduce
When using Fedora F41 (kernel 6.12 line), Keycloak Pod get OOM Killed. The root cause can clearly be seen when manually calling the following command from the Keycloak Pod:
Kernel 6.11 (Good):
Kernel 6.12 (Bad):
The issue has already been reported in JDK-8346874 that follows to the actual fix - JDK-8347129. At the time of writing, this has been fixed only in the latest JVM versions with no information about the backports
Expected result
Keycloak shouldn't go OOM
Workaround
The most promising workaround is to add the following snippet to the Keycloak StatefulSet:
The text was updated successfully, but these errors were encountered: