Keycloak morre a cada alguns dias para uso de memória alta

1

Eu tenho um Keycloak em um VPS em execução como SSO para o restante da arquitetura. Mas a cada poucos dias, aparentemente sem qualquer razão, em um único pico, o Keycloak usa toda a sua memória disponível e entra em um estado bloqueado.

Aqui está o server.log pouco antes da última vez que aconteceu:

2016-06-21 21:24:29,963 DEBUG [org.keycloak.services] (default task-8) action: auth-username-password-form
2016-06-21 21:24:29,968 WARN  [org.keycloak.events] (default task-8) type=LOGIN_ERROR, realmId=186810ab-588b-48fd-a56c-f9c58bc370fa, clientId=registro, userId=null, ipAddress=101.62.141.157, error=user_not_found, auth_method=openid-connect, auth_type=code, redirect_uri=http://server.com/index.xhtml;jsessionid=yMRV-EkysuGJiXX0oVAU88uLcnZ2cGoV2xJR4-HY.ip-192-168-1-4, code_id=1e46ee1f-b620-45b6-8820-821a3248fa35, [email protected]
2016-06-21 21:24:29,971 DEBUG [org.keycloak.services] (default task-8) authenticator FAILURE_CHALLENGE: auth-username-password-form
2016-06-21 21:24:35,035 DEBUG [org.keycloak.services] (default task-7) authenticationAction
2016-06-21 21:24:35,035 DEBUG [org.keycloak.services] (default task-7) processAction: 5488581f-f2de-88ef-9dd4-4d8332176d48
2016-06-21 21:24:35,035 DEBUG [org.keycloak.services] (default task-7) check: auth-cookie requirement: ALTERNATIVE
2016-06-21 21:24:35,035 DEBUG [org.keycloak.services] (default task-7) execution is processed
2016-06-21 21:24:35,036 DEBUG [org.keycloak.services] (default task-7) check: auth-spnego requirement: DISABLED
2016-06-21 21:24:35,036 DEBUG [org.keycloak.services] (default task-7) execution is processed
2016-06-21 21:24:35,036 DEBUG [org.keycloak.services] (default task-7) check: null requirement: ALTERNATIVE
2016-06-21 21:24:35,036 DEBUG [org.keycloak.services] (default task-7) processAction: 5488581f-f2de-88ef-9dd4-4d8332976d48
2016-06-21 21:24:35,036 DEBUG [org.keycloak.services] (default task-7) check: auth-username-password-form requirement: REQUIRED
2016-06-21 21:24:35,036 DEBUG [org.keycloak.services] (default task-7) action: auth-username-password-form
2016-06-21 21:24:35,043 WARN  [org.keycloak.events] (default task-7) type=LOGIN_ERROR, realmId=186810ab-500b-48fd-a56c-f9c58bc370fa, clientId=registro, userId=null, ipAddress=101.62.141.157, error=user_not_found, auth_method=openid-connect, auth_type=code, redirect_uri=http://backoffice.trackingsport.com/index.xhtml;jsessionid=yMRV-EkysuGJiXX0oVAUrluLcnZ2cGoV2xJR4-HY.ip-192-168-1-4, code_id=1e46ee1f-b620-45b6-8820-821a3248fa35, [email protected]
2016-06-21 21:24:35,044 DEBUG [org.keycloak.services] (default task-7) authenticator FAILURE_CHALLENGE: auth-username-password-form
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) AUTHENTICATE
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) AUTHENTICATE ONLY
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) processFlow
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) check execution: auth-cookie requirement: ALTERNATIVE
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) authenticator: auth-cookie
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) invoke authenticator.authenticate
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) Could not find cookie: KEYCLOAK_IDENTITY
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) authenticator ATTEMPTED: auth-cookie
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) check execution: auth-spnego requirement: DISABLED
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) execution is processed
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) check execution: null requirement: ALTERNATIVE
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) execution is flow
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) processFlow
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) check execution: auth-username-password-form requirement: REQUIRED
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) authenticator: auth-username-password-form
2016-06-21 21:25:20,444 DEBUG [org.keycloak.services] (default task-13) invoke authenticator.authenticate
2016-06-21 21:25:20,445 DEBUG [org.keycloak.services] (default task-13) authenticator CHALLENGE: auth-username-password-form
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) AUTHENTICATE
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) AUTHENTICATE ONLY
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) processFlow
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) check execution: auth-cookie requirement: ALTERNATIVE
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) authenticator: auth-cookie
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) invoke authenticator.authenticate
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) Could not find cookie: KEYCLOAK_IDENTITY
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) authenticator ATTEMPTED: auth-cookie
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) check execution: auth-spnego requirement: DISABLED
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) execution is processed
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) check execution: null requirement: ALTERNATIVE
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) execution is flow
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) processFlow
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) check execution: auth-username-password-form requirement: REQUIRED
2016-06-21 21:25:27,492 DEBUG [org.keycloak.services] (default task-2) authenticator: auth-username-password-form

Estou completamente perdido aqui. O nível de log está no modo de depuração, mas ainda não consigo ver nada que me dê uma pista sobre o que está acontecendo.

Minha pergunta, como posso depurar isso? Você já experimentou alguma situação semelhante a esta?

    
por Victor Henriquez 29.06.2016 / 14:15

0 respostas