Hello All,
When keycloak runs for a while, usually a few days, it will report an error. As follows:
2018-08-01 09:01:08,851 ERROR [io.undertow.request] (default I/O-47) UT005071: Undertow
request failed HttpServerExchange{ GET /auth/realms/tenant/protocol/openid-connect/auth
request
{Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8],
Accept-Language=[zh-CN,zh;q=0.9], Accept-Encoding=[gzip, deflate], User-Agent=[Mozilla/5.0
(Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186
Safari/537.36], Connection=[keep-alive],
Cookie=[AUTH_SESSION_ID=f41059dc-8814-4436-8a8a-40673695da64.10-110-13-175;
KEYCLOAK_SESSION=tenant/e57bacd7-0171-418a-b08b-8177b33ce10a/f41059dc-8814-4436-8a8a-40673695da64;
KEYCLOAK_IDENTITY=eyJhbGciOiJIUzI1NiIsImtpZCIgOiAiY2E2OGY2MD; msa=1520826256045_910_1],
Referer=[http://10.110.13.180/portal/?realm=tenant], Upgrade-Insecure-Requests=[1],
Host=[10.110.13.175:9080]} response {}}: java.lang.OutOfMemoryError: unable to create new
native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1357)
at org.xnio.XnioWorker.execute(XnioWorker.java:797)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:343)
at
io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:254)
at
io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136)
at
io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:59)
at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
at
org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:571)
Would you tell me the solution?
Thanks.
Chuannan