Mikhail Khludnev created SOLR-12027:
---------------------------------------

             Summary: ThreadLeakError: 1 thread leaked from SUITE scope at 
org.apache.solr.search.join.BlockJoinFacetDistribTest
                 Key: SOLR-12027
                 URL: https://issues.apache.org/jira/browse/SOLR-12027
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Tests
            Reporter: Mikhail Khludnev
         Attachments: jetty-threadleak-problem-still.txt, 
jetty-threadleak-problem.txt


I tried to look into the sub. The symptoms looks like. 
{code}
WARN  (jetty-closer-2-thread-2) [    ] o.e.j.u.t.QueuedThreadPool 
QueuedThreadPool@qtp860938026{STOPPING,8<=9<=10000,i=0,q=1} Couldn't stop 
Thread[qtp860938
{code}
The thread successfully handled one request before. Then we have:
{code}
 2> Feb 23, 2018 11:20:41 PM 
com.carrotsearch.randomizedtesting.ThreadLeakControl checkThreadLeaks
  2> SEVERE: 1 thread leaked from SUITE scope at 
org.apache.solr.search.join.BlockJoinFacetDistribTest: 
  2>    1) Thread[id=76, name=qtp860938026-76, state=TIMED_WAITING, 
group=TGRP-BlockJoinFacetDistribTest]
  2>         at sun.misc.Unsafe.park(Native Method)
  2>         at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
  2>         at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2163)
  2>         at 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.reservedWait(ReservedThreadExecutor.java:308)
  2>         at 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:373)
  2>         at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:708)
  2>         at 
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:626)
  2>         at java.lang.Thread.run(Thread.java:745)
{code}
and then
{code}
  2> SEVERE: There are still zombie threads that couldn't be terminated:
  2>    1) Thread[id=76, name=qtp860938026-76, state=TIMED_WAITING, 
group=TGRP-BlockJoinFacetDistribTest]
  2>         at sun.misc.Unsafe.park(Native Method)
  2>         at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
...
[23:19:41.186] ERROR   0.00s | BlockJoinFacetDistribTest (suite) <<<
   > Throwable #1: com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread 
leaked from SUITE scope at 
org.apache.solr.search.join.BlockJoinFacetDistribTest: 
   >    1) Thread[id=76, name=qtp860938026-76, state=TIMED_WAITING, 
group=TGRP-BlockJoinFacetDistribTest]
   >         at sun.misc.Unsafe.park(Native Method)
   >         at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
   >         at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2163)
   >         at 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.reservedWait(ReservedThreadExecutor.java:308)
{code} 
This also happen to other tests as well, not deterministic, but more or less is 
reproduced with {{ant beast}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to