[
https://issues.apache.org/jira/browse/SOLR-12027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376377#comment-16376377
]
ASF subversion and git services commented on SOLR-12027:
--------------------------------------------------------
Commit d3ef153b09461aa0bd2f735954905321d6b72aed in lucene-solr's branch
refs/heads/master from [~mkhludnev]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d3ef153 ]
SOLR-12027: Increasing thread lingering to 80s
Sometimes Jetty can't stop for a minute. We need tests wait more than a minute
in the worst case
to avoid test noise like ThreadLeakError: 1 thread leaked from SUITE scope.
> 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
> Priority: Major
> Attachments: SOLR-12027.patch, SOLR-12027.patch,
> 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: [email protected]
For additional commands, e-mail: [email protected]