cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caleb William Rackliffe (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3711) Unsustainable Thread Accumulation in ParallelCompactionIterable.Reducer ThreadPoolExecutor
Date Sun, 08 Jan 2012 23:48:39 GMT
Unsustainable Thread Accumulation in ParallelCompactionIterable.Reducer ThreadPoolExecutor
------------------------------------------------------------------------------------------

                 Key: CASSANDRA-3711
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3711
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.5
         Environment: Linux version 2.6.32-71.29.1.el6.x86_64 (mockbuild@c6b5.bsys.dev.centos.org)
(gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Mon Jun 27 19:49:27 BST 2011
            Reporter: Caleb William Rackliffe


With multithreaded compaction enabled, it looks like Reducer creates a new thread pool for
every compaction.  These pools seem to just sit around - i.e. "executor.shutdown()" never
gets called and the Threads live forever waiting for tasks that will never come.  For instance...


Name: CompactionReducer:1
State: TIMED_WAITING on java.util.concurrent.SynchronousQueue$TransferStack@72938aea
Total blocked: 0  Total waited: 1

Stack trace: 
 sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359)
java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)


--
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

        

Mime
View raw message