<div dir="ltr">I've ran with a standard 2.0.0.CR1 server and only changes are adding "<eviction max-entries="10000" strategy="LRU"/>" to realmVersions cache.<br><div><br></div><div>I've now created 10 million users over night and still have steady throughput of 200 user/sec and memory around 150. What db are you using? I'm just using default H2 db at the moment,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 June 2016 at 17:51, Chris Hairfield <span dir="ltr"><<a href="mailto:chairfield@gmail.com" target="_blank">chairfield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><i>My replies started bouncing; guess I sent too many pictures ;)</i><div><br></div><div><div>I'd be perfectly happy with that throughput. What other parameters did you run it under?</div><div><br></div><div>JAVA_OPTS: "-server -Xms1g -Xmx4g -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -XX:+UseParallelGC -XX:ParallelGCThreads=4"</div><div><br></div><div>Run command: bin/standalone.sh -c standalone.xml</div><div><br></div><div>My standalone.xml:</div><div> <cache-container name="keycloak" jndi-name="infinispan/Keycloak"></div><div> <local-cache name="realms"/></div><div> <local-cache name="users"></div><div> <eviction max-entries="10000" strategy="LRU"/></div><div> </local-cache></div><div> <local-cache name="sessions"/></div><div> <local-cache name="offlineSessions"/></div><div> <local-cache name="loginFailures"/></div><div> <local-cache name="work"/></div><div> <local-cache name="realmVersions"></div><div> <transaction mode="BATCH" locking="PESSIMISTIC"/></div><div> <eviction max-entries="10000" strategy="LRU"/></div><div> </local-cache></div><div> </cache-container></div><div><br></div><div>You can see memory starting to thrash at a higher rate (up to 1.4 GB). I only created 22k users in this test.</div></div></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></div><br></div>