[ 
https://issues.apache.org/jira/browse/SOLR-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541023#comment-13541023
 ] 

Ahmet Arslan commented on SOLR-2357:
------------------------------------

I am also started to get the following error after a tomcat restart. (I 
increased ram buffer size and enabled jmx)
{code}
SEVERE: The web application [/solr] created a ThreadLocal with key of type 
[org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value 
[org.apache.solr.schema.DateField$ThreadLocalDateFormat@6aec873d]) and a value 
of type [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value 
[org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) 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.
Dec 30, 2012 1:15:44 AM org.apache.catalina.loader.WebappClassLoader 
checkThreadLocalMapForLeaks
{code}

Not sure this is related with this but I see these too:

{code}
Dec 30, 2012 1:16:08 AM org.apache.catalina.session.StandardManager doLoad
SEVERE: IOException while loading persisted sessions: java.io.EOFException
java.io.EOFException
        at 
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)
        at 
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
        at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
        at 
org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
        at 
org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:246)
        at 
org.apache.catalina.session.StandardManager.load(StandardManager.java:204)
        at 
org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:491)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
        at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
        at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
{code}

{code}
Dec 30, 2012 1:16:08 AM org.apache.catalina.session.StandardManager 
startInternal
SEVERE: Exception loading sessions from persistent storage
java.io.EOFException
        at 
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)
        at 
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
        at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:779)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:279)
        at 
org.apache.catalina.util.CustomObjectInputStream.<init>(CustomObjectInputStream.java:58)
        at 
org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:246)
        at 
org.apache.catalina.session.StandardManager.load(StandardManager.java:204)
        at 
org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:491)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5294)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
        at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100)
        at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
{code}
                
> Thread Local memory leaks on restart
> ------------------------------------
>
>                 Key: SOLR-2357
>                 URL: https://issues.apache.org/jira/browse/SOLR-2357
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - Solr Cell (Tika extraction), search
>    Affects Versions: 1.4.1
>         Environment: Windows Server 2008, Apache Tomcat 7.0.8, Java 1.6.23
>            Reporter: Gus Heck
>              Labels: memory_leak, threadlocal
>
> Restarting solr (via a changed to a watched resource or via manager app for 
> example) after submitting documents with Solr-Cell, gives the following 
> message (many many times), and causes Tomcat to shutdown completely. 
> SEVERE: The web application [/solr] created a ThreadLocal with key of type 
> [org.
> apache.solr.common.util.DateUtil.ThreadLocalDateFormat] (value 
> [org.apache.solr.
> common.util.DateUtil$ThreadLocalDateFormat@dc30dfa]) and a value of type 
> [java.t
> ext.SimpleDateFormat] (value [java.text.SimpleDateFormat@5af7aed5]) but 
> failed t
> o remove it when the web application was stopped. Threads are going to be 
> renewe
> d over time to try and avoid a probable memory leak.
> Feb 10, 2011 7:17:53 AM org.apache.catalina.loader.WebappClassLoader 
> checkThread
> LocalMapForLeaks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to