cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhaoyan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13235) All thread blocked and writes pending.
Date Wed, 22 Feb 2017 06:18:44 GMT

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

zhaoyan commented on CASSANDRA-13235:
-------------------------------------

like:
{code}
NFO  [NativePoolCleaner] 2017-02-21 23:03:13,947 ColumnFamilyStore.java:1211 - Flushing largest
CFS(Keyspace='keyspacename', ColumnFamily='tablename') to free up room. Used total: 0.11/0.09,
live: 0.11/0.09, flushing: 0.00/0.00, this: 0.07/0.07
INFO  [NativePoolCleaner] 2017-02-21 23:03:13,947 ColumnFamilyStore.java:905 - Enqueuing flush
of tablename: 234916964 (7%) on-heap, 7040478 (0%) off-heap
INFO  [MemtableFlushWriter:108083] 2017-02-21 23:03:15,579 Memtable.java:347 - Writing Memtable-tablename@86463873(5.512MiB
serialized bytes, 629467 ops, 7%/0% of on/off-heap limit)
{code}

{code}
INFO  [ScheduledTasks:1] 2017-02-21 23:03:16,068 MessagingService.java:929 - MUTATION messages
were dropped in last 5000 ms: 721 for internal timeout and 0 for cross node timeout
{code}

{code}
INFO  [ScheduledTasks:1] 2017-02-21 23:02:51,016 MessagingService.java:929 - READ_REPAIR messages
were dropped in last 5000 ms: 1 for internal timeout and 0 for cross node timeout
{code}

> 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
> {code}
> 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
> 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
> {code}
> And I found there are many blocked thread with jstack
> {code}
> "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)
> {code}
> To use "grep BLOCKED |wc -l",  get Number is 384 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message