[AYUDA URGENTE] Alfresco se detiene solo...!!!!!

cancel
Showing results for 
Search instead for 
Did you mean: 
krlos83
Member II

[AYUDA URGENTE] Alfresco se detiene solo...!!!!!

Buenos días a todos:

Tengo un alfresco-enterprise 4.0.0 en un server de 30gb en ram y 8 nucleos que lo instalé hace mas de un mes sin darme problemas de funcionamiento hasta hoy que decidí entrar a share y me encontré con la sorpresa de que mi Alfresco estaba detenido.

Observando los logs sale el siguiente mensaje:

GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@134806b7]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@4d576e1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5c99cc8e]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@4d576e1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@6a48fc0b]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@4d576e1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5db0e244]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@4d576e1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.tagging.TagScopePropertyMethodInterceptor$1@7ebc3a37]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7f6e8cd]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@4d576e1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5d9b6cb0]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@4d576e1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [org.alfresco.repo.security.authentication.AuthenticationUtil.ThreadLocalStack] (value [org.alfresco.repo.security.authentication.AuthenticationUtil$ThreadLocalStack@67ade260]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7544ae20]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@4d576e1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@632deed0]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@4d576e1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [org.alfresco.repo.template.QNameAwareObjectWrapper$1@25c6664a]) and a value of type [null] (value [org.alfresco.repo.template.QNameAwareObjectWrapper$1$1@6c46215]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@29c7158b]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@4d576e1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@7003f305]) and a value of type [null] (value [org.alfresco.repo.web.scripts.RepositoryImageResolver$1@4d576e1a]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
04-mar-2016 17:14:15 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

mi configuración de la jvm es la siguiente:

export JAVA_OPTS="-XX:MaxPermSize=512M -Xms30G -Xmx30G -XX:-DisableExplicitGC -Dalfresco.home=/opt/alfresco-4.0.0 -Duser.language=es -Duser.region=ES -Dcom.sun.management.jmxremote -Dsun.security.ssl.allowUnsafeRenegotiation=true"

Disculpen por la molestia necesito ayuda urgente pues este ambiente es de producción.

Saludos cordiales,


CAM
2 Replies
angelborroy
Expert

Re: [AYUDA URGENTE] Alfresco se detiene solo...!!!!!

Habría que identificar el problema con más detalle, pero me parece curioso que asignes 30G de máximo a Java en una máquina de 30G de RAM. ¿Qué ocurre cuando Java ocupa toda la memoria? ¿En qué espacio de memoria tienes previsto que se ejecute el sistema operativo, LibreOffice, ImageMagick…?
Software Engineer in Alfresco Search Team.
krlos83
Member II

Re: [AYUDA URGENTE] Alfresco se detiene solo...!!!!!

Muchas gracias por tu comentario y pronta respuesta tienes toda la razón al respecto lo esa configuración lo vi en otros foros y ahora ya la cambie a a una máxima de 20G hasta el momento no se ha presentado ese problema pero al parecer se debe a una mala forma de detener el servicio pues se lo estaba realizando de manera forzada matando directamente el servicio pues lo evidencié yo mismo, al mismo tiempo utilice la forma correcta de detener e iniciar el alfresco y como repito no se ha vuelto a presentar el problema pero daré seguimiento al caso y les informaré al respecto.