8000 Memory grows until heap exhausted - huge `DefaultSegmentedDataContainer` · keycloak keycloak · Discussion #37154 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

I looked at the infinispan metrics and noticed that it was accumulation of 350K+ authenticationSessions:

vendor_statistics_approximate_entries_in_memory{cache="authenticationSessions",cache_manager="keycloak",node="xxxx"} 358087.0

They had the Login timeout value set to 30 days, so it was just keeping everything in memory:

(as a side note, I'm curious why they recommend the value to be "relatively long, such as 30 minutes or more" given that long login timeouts create a potential vulnerability to session fixation attacks)

Sorry I didn't think to look there. Problem solved!

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@xgp
Comment options

@ahus1
Comment options

ahus1 Feb 10, 2025
Collaborator

Comment options

You must be logged in to vote
3 replies
@ahus1
Comment options

ahus1 Feb 10, 2025
Collaborator

@xgp

@ahus1
Comment options

ahus1 Feb 11, 2025
Collaborator

Answer selected by xgp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
0