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:23:35 GMT

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

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

Yeah, it will vary -- the lingering time is 2 seconds but it's still not enough and I see
some failures depending on the machine I use. My build server failed with this one, for example:
{code}
build	31-Jul-2012 15:01:23	[junit4:junit4] Suite: org.apache.solr.cloud.ZkCLITest
...
build	31-Jul-2012 15:01:23	[junit4:junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.ThreadLeakError:
1 thread leaked from SUITE scope at org.apache.solr.cloud.ZkCLITest: 
build	31-Jul-2012 15:01:23	[junit4:junit4]    >    1) Thread[id=20260, name=SessionTracker,
state=TIMED_WAITING, group=TGRP-ZkCLITest]
build	31-Jul-2012 15:01:23	[junit4:junit4]    >         at java.lang.Object.wait(Native
Method)
build	31-Jul-2012 15:01:23	[junit4:junit4]    >         at org.apache.zookeeper.server.SessionTrackerImpl.run(SessionTrackerImpl.java:145)
build	31-Jul-2012 15:01:23	[junit4:junit4]    > 	at __randomizedtesting.SeedInfo.seed([B90AA507E190F87]:0)
build	31-Jul-2012 15:01:23	[junit4:junit4]    >
{code}

We should try to nail these because they probably contribute to those thread limits that you've
been commenting on. I also see some crazy thread IDs in logs like: T20000 which seems suspicious
-- they should be reused after a while.

                
> 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