You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Boris <mi...@gmail.com> on 2013/05/31 15:52:26 UTC

tomcat

I have installed roller 5.01 on tomcat.
Apache Tomcat/7.0.401.7.0_09-b05Oracle CorporationLinux2.6.38-16-generic-pae
i386linux
When I run diagnostic in Tomcat there is No web applications appear to have
triggered a memory leak on stop, reload or undeploy.

But in catalina.log I found severe leaks

SEVERE: The web application [/roller-5.0.1] appears to have started a
thread named [Abandoned connection cleanup thread] but has failed to stop
it. This is very likely to create a memory leak.
maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/roller-5.0.1] appears to have started a
thread named [com.google.inject.internal.Finalizer] but has failed to stop
it. This is very likely to create a memory leak.
maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/roller-5.0.1] appears to have started a
thread named [pool-2-thread-603] but has failed to stop it. This is very
likely to create a memory leak.
maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
[com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
type [java.lang.Object[]] (value [[Ljava.lang.Object;@1d7272a]) but failed
to remove it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.
maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
[com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
type [java.lang.Object[]] (value [[Ljava.lang.Object;@4c647a]) but failed
to remove it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.
maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
[com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
type [java.lang.Object[]] (value [[Ljava.lang.Object;@158a483]) but failed
to remove it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.
maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@98b2e5]) and
a value of type [org.apache.openjpa.persistence.EntityManagerImpl] (value
[org.apache.openjpa.persistence.EntityManagerImpl@d48523]) but failed to
remove it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.
maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
checkThreadLocalMapForLeaks
SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
[com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
type [java.lang.Object[]] (value [[Ljava.lang.Object;@108f56a]) but failed
to remove it when the web application was stopped. Threads are going to be
renewed over time to try and avoid a probable memory leak.
maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads

Kind regards


Boris Milikic

Re: tomcat

Posted by matthew sporleder <ms...@gmail.com>.
FWIW I also get these just on regular tomcat.  (no diagnostic tools needed)

On Fri, May 31, 2013 at 10:07 AM, Glen Mazza <gl...@gmail.com> wrote:
> Hmm, I can't see any of those error messages when I start Roller trunk
> (upcoming 5.1), at least.  I'm using JDK 7, Tomcat 7.0.29, on Ubuntu 12.04.
>
> Do those errors occur only when you run "diagnostic in Tomcat" or does it
> happen all the time anyway?  Also, what is the diagnostic tool you're using
> so we can replicate?
>
> Regards,
> Glen
>
>
> On 05/31/2013 09:52 AM, Boris wrote:
>>
>> I have installed roller 5.01 on tomcat.
>> Apache Tomcat/7.0.401.7.0_09-b05Oracle
>> CorporationLinux2.6.38-16-generic-pae
>> i386linux
>> When I run diagnostic in Tomcat there is No web applications appear to
>> have
>> triggered a memory leak on stop, reload or undeploy.
>>
>> But in catalina.log I found severe leaks
>>
>> SEVERE: The web application [/roller-5.0.1] appears to have started a
>> thread named [Abandoned connection cleanup thread] but has failed to stop
>> it. This is very likely to create a memory leak.
>> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>> SEVERE: The web application [/roller-5.0.1] appears to have started a
>> thread named [com.google.inject.internal.Finalizer] but has failed to stop
>> it. This is very likely to create a memory leak.
>> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>> SEVERE: The web application [/roller-5.0.1] appears to have started a
>> thread named [pool-2-thread-603] but has failed to stop it. This is very
>> likely to create a memory leak.
>> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
>> checkThreadLocalMapForLeaks
>> SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
>> of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
>> [com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
>> type [java.lang.Object[]] (value [[Ljava.lang.Object;@1d7272a]) but failed
>> to remove it when the web application was stopped. Threads are going to be
>> renewed over time to try and avoid a probable memory leak.
>> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
>> checkThreadLocalMapForLeaks
>> SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
>> of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
>> [com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
>> type [java.lang.Object[]] (value [[Ljava.lang.Object;@4c647a]) but failed
>> to remove it when the web application was stopped. Threads are going to be
>> renewed over time to try and avoid a probable memory leak.
>> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
>> checkThreadLocalMapForLeaks
>> SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
>> of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
>> [com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
>> type [java.lang.Object[]] (value [[Ljava.lang.Object;@158a483]) but failed
>> to remove it when the web application was stopped. Threads are going to be
>> renewed over time to try and avoid a probable memory leak.
>> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
>> checkThreadLocalMapForLeaks
>> SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
>> of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@98b2e5]) and
>> a value of type [org.apache.openjpa.persistence.EntityManagerImpl] (value
>> [org.apache.openjpa.persistence.EntityManagerImpl@d48523]) but failed to
>> remove it when the web application was stopped. Threads are going to be
>> renewed over time to try and avoid a probable memory leak.
>> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
>> checkThreadLocalMapForLeaks
>> SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
>> of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
>> [com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
>> type [java.lang.Object[]] (value [[Ljava.lang.Object;@108f56a]) but failed
>> to remove it when the web application was stopped. Threads are going to be
>> renewed over time to try and avoid a probable memory leak.
>> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
>> clearReferencesThreads
>>
>> Kind regards
>>
>>
>> Boris Milikic
>>
>

Re: tomcat

Posted by Glen Mazza <gl...@gmail.com>.
Hmm, I can't see any of those error messages when I start Roller trunk 
(upcoming 5.1), at least.  I'm using JDK 7, Tomcat 7.0.29, on Ubuntu 12.04.

Do those errors occur only when you run "diagnostic in Tomcat" or does 
it happen all the time anyway?  Also, what is the diagnostic tool you're 
using so we can replicate?

Regards,
Glen

On 05/31/2013 09:52 AM, Boris wrote:
> I have installed roller 5.01 on tomcat.
> Apache Tomcat/7.0.401.7.0_09-b05Oracle CorporationLinux2.6.38-16-generic-pae
> i386linux
> When I run diagnostic in Tomcat there is No web applications appear to have
> triggered a memory leak on stop, reload or undeploy.
>
> But in catalina.log I found severe leaks
>
> SEVERE: The web application [/roller-5.0.1] appears to have started a
> thread named [Abandoned connection cleanup thread] but has failed to stop
> it. This is very likely to create a memory leak.
> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/roller-5.0.1] appears to have started a
> thread named [com.google.inject.internal.Finalizer] but has failed to stop
> it. This is very likely to create a memory leak.
> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/roller-5.0.1] appears to have started a
> thread named [pool-2-thread-603] but has failed to stop it. This is very
> likely to create a memory leak.
> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
> SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
> of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
> [com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
> type [java.lang.Object[]] (value [[Ljava.lang.Object;@1d7272a]) but failed
> to remove it when the web application was stopped. Threads are going to be
> renewed over time to try and avoid a probable memory leak.
> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
> SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
> of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
> [com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
> type [java.lang.Object[]] (value [[Ljava.lang.Object;@4c647a]) but failed
> to remove it when the web application was stopped. Threads are going to be
> renewed over time to try and avoid a probable memory leak.
> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
> SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
> of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
> [com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
> type [java.lang.Object[]] (value [[Ljava.lang.Object;@158a483]) but failed
> to remove it when the web application was stopped. Threads are going to be
> renewed over time to try and avoid a probable memory leak.
> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
> SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
> of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@98b2e5]) and
> a value of type [org.apache.openjpa.persistence.EntityManagerImpl] (value
> [org.apache.openjpa.persistence.EntityManagerImpl@d48523]) but failed to
> remove it when the web application was stopped. Threads are going to be
> renewed over time to try and avoid a probable memory leak.
> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
> SEVERE: The web application [/roller-5.0.1] created a ThreadLocal with key
> of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value
> [com.opensymphony.xwork2.inject.ContainerImpl$10@1bdadb4]) and a value of
> type [java.lang.Object[]] (value [[Ljava.lang.Object;@108f56a]) but failed
> to remove it when the web application was stopped. Threads are going to be
> renewed over time to try and avoid a probable memory leak.
> maj 31, 2013 12:01:01 PM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
>
> Kind regards
>
>
> Boris Milikic
>