lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3985) Refactor support for thread leaks
Date Tue, 31 Jul 2012 16:07:34 GMT

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

Dawid Weiss commented on LUCENE-3985:
-------------------------------------

FullSolrCloudTest leaves the following:
{code}

68621 T11 ccr.ThreadLeakControl.checkThreadLeaks SEVERE 3 threads leaked from SUITE scope
at org.apache.solr.cloud.FullSolrCloudTest: 
	   1) Thread[id=606, name=Thread-97, state=WAITING, group=Overseer state updater.]
	        at java.lang.Object.wait(Native Method)
	        at java.lang.Object.wait(Object.java:503)
	        at org.apache.zookeeper.ClientCnxn.submitRequest(ClientCnxn.java:1345)
	        at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:925)
	        at org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:289)
	        at org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:1)
	        at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:67)
	        at org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:286)
	        at org.apache.solr.cloud.Overseer$CloudStateUpdater.amILeader(Overseer.java:187)
	        at org.apache.solr.cloud.Overseer$CloudStateUpdater.run(Overseer.java:113)
	        at java.lang.Thread.run(Thread.java:722)
	   2) Thread[id=600, name=TEST-FullSolrCloudTest.testDistribSearch-seed#[535509622737983D]-EventThread,
state=WAITING, group=TGRP-FullSolrCloudTest]
	        at sun.misc.Unsafe.park(Native Method)
	        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
	        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
	        at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
	        at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)
	   3) Thread[id=599, name=TEST-FullSolrCloudTest.testDistribSearch-seed#[535509622737983D]-SendThread(127.0.0.1:57474),
state=RUNNABLE, group=TGRP-FullSolrCloudTest]
	        at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
	        at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:295)
	        at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(WindowsSelectorImpl.java:277)
	        at sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:158)
	        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:87)
	        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:98)
	        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1131)
{code}
                
> Refactor support for thread leaks
> ---------------------------------
>
>                 Key: LUCENE-3985
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3985
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/test
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: LUCENE-3985.patch
>
>
> This will be duplicated in the runner and in LuceneTestCase; try to consolidate.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message