[keycloak-user] Out of memory error on Keycloak cluster
Stian Thorgersen
sthorger at redhat.com
Wed Oct 12 10:03:53 EDT 2016
Could be https://issues.jboss.org/browse/KEYCLOAK-3202 if so it's not fixed
in 1.9.8. There's a work around though, you can set "<eviction
max-entries="10000" strategy="LRU"/>" for the realmVersions cache. Also,
make sure you have a sane max entries on the users cache.
On 11 October 2016 at 15:33, Bill Burke <bburke at redhat.com> wrote:
> I believe we fixed some cache leakage problems sometime between 1.9.1
> and 1.9.8. You'll have to search JIRA. I strongly suggest you upgrade
> to 1.9.8. We did a huge amount of stability, performance, and bug fixes
> between 1.9.1 and 1.9.8 to get Keycloak ready for product. RH-SSO is
> based on Keycloak 1.9.8.
>
>
> On 10/10/16 11:21 AM, robinfernandes . wrote:
> > Hi,
> >
> > We are using Keycloak 1.9.2.Final and have a cluster with an hap and 3
> > keycloak nodes behind it.
> > For the first time in about 4-6 months we received errors that java heap
> > space out of memory and the nodes just went down.
> > We had around 100k users as well as 35k active connections at the time.
> > We have around 512MB heap space assigned.
> >
> > I am not able to reproduce it after restarting the nodes.
> >
> > Is there any reason that this could happen?
> >
> >
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
More information about the keycloak-user
mailing list