zhaoyan created CASSANDRA-13235: ----------------------------------- Summary: All thread blocked and writes pending. Key: CASSANDRA-13235 URL: https://issues.apache.org/jira/browse/CASSANDRA-13235 Project: Cassandra Issue Type: Bug Components: Core Environment: jdk8 cassandra 2.1.15 Reporter: zhaoyan
I found cassandra many pending MutationStage task NFO [Service Thread] 2017-02-17 16:00:14,440 StatusLogger.java:51 - Pool Name Active Pending Completed Blocked All Time Blocked INFO [Service Thread] 2017-02-17 16:00:14,440 StatusLogger.java:66 - MutationStage 384 4553 4294213082 0 0 INFO [Service Thread] 2017-02-17 16:00:14,441 StatusLogger.java:66 - RequestResponseStage 0 0 2172612382 0 0 INFO [Service Thread] 2017-02-17 16:00:14,441 StatusLogger.java:66 - ReadRepairStage 0 0 5378852 0 0 INFO [Service Thread] 2017-02-17 16:00:14,441 StatusLogger.java:66 - CounterMutationStage 0 0 0 0 0 INFO [Service Thread] 2017-02-17 16:00:14,441 StatusLogger.java:66 - ReadStage 5 0 577242284 0 0 INFO [Service Thread] 2017-02-17 16:00:14,441 StatusLogger.java:66 - MiscStage 0 0 0 0 0 And I found there are many blocked thread with jstack "SharedPool-Worker-28" #416 daemon prio=5 os_prio=0 tid=0x0000000001fb8000 nid=0x7459 waiting for monitor entry [0x00007fdd83ca0000] java.lang.Thread.State: BLOCKED (on object monitor) at sun.misc.Unsafe.monitorEnter(Native Method) at org.apache.cassandra.utils.concurrent.Locks.monitorEnterUnsafe(Locks.java:46) at org.apache.cassandra.db.AtomicBTreeColumns.addAllWithSizeDelta(AtomicBTreeColumns.java:202) at org.apache.cassandra.db.Memtable.put(Memtable.java:210) at org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:1244) at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:396) at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:359) at org.apache.cassandra.db.Mutation.apply(Mutation.java:214) at org.apache.cassandra.db.MutationVerbHandler.doVerb(MutationVerbHandler.java:54) at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:64) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164) at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) at java.lang.Thread.run(Thread.java:745) INFO [Service Thread] 2017-02-17 16:00:14,441 StatusLogger.java:66 - HintedHandoff 0 0 1480 0 0 INFO [Service Thread] 2017-02-17 16:00:14,441 StatusLogger.java:66 - GossipStage 0 0 9342250 0 0 -- This message was sent by Atlassian JIRA (v6.3.15#6346)