[infinispan-issues] [JBoss JIRA] Updated: (ISPN-982) Testsuite is leaking threads
Dan Berindei (JIRA)
jira-events at lists.jboss.org
Mon May 9 05:25:18 EDT 2011
[ https://issues.jboss.org/browse/ISPN-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei updated ISPN-982:
------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/295
Some executors created by the cache components or by the tests themselves were not shut down properly.
I added Executor.shutdown()/shutdownNow() calls for all the executors used in Infinispan components and in tests that didn't have the call.
> Testsuite is leaking threads
> ----------------------------
>
> Key: ISPN-982
> URL: https://issues.jboss.org/browse/ISPN-982
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Reporter: Sanne Grinovero
> Assignee: Dan Berindei
> Fix For: 5.0.0.CR2
>
>
> It seems that during test execution of the core module (master branch) the number of used threads ramps up quite noticeably.
> On Linux this is likely to hit the barrier of permitted threads per process, which will prevent the GC thread to start and in turn send the testsuite to critical failure via a very misleading OOM exception.
> you can observe the behaviour running the testsuite and attaching jconsole to it, on the "threads" tab you'll see the number raising. In my case it goes up to around ~800 threads before being killed (long before the tests are finished).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list