Delete Blocked


(Pengleiyfw) #1

Hi all:
I meet this question ,I don't know how to slove this problem.This problem lead to high cpu and load average! Here is a jstack file。

elasticsearch[data-1237][bulk][T#195]" daemon prio=10 tid=0x00007f02580b5800 nid=0x7d4a waiting for monitor entry [0x00007f016f207000]
java.lang.Thread.State: BLOCKED (on object monitor)
at org.elasticsearch.index.engine.InternalEngine.pruneDeletedTombstones(InternalEngine.java:708)
- waiting to lock <0x00000004320c8750> (a java.lang.Object)
at org.elasticsearch.index.engine.InternalEngine.maybePruneDeletedTombstones(InternalEngine.java:471)
at org.elasticsearch.index.engine.InternalEngine.delete(InternalEngine.java:463)
at org.elasticsearch.index.shard.IndexShard.delete(IndexShard.java:521)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnReplica(TransportShardBulkAction.java:596)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$ReplicaOperationTransportHandler.messageReceived(TransportShardReplicationOperationAction.java:249)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$ReplicaOperationTransportHandler.messageReceived(TransportShardReplicationOperationAction.java:228)
at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.doRun(MessageChannelHandler.java:277)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:36)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Locked ownable synchronizers:
- <0x000000044c5d5658> (a java.util.concurrent.ThreadPoolExecutor$Worker)


(Mark Walkom) #2

What version are you on?
How are you issuing the delete?


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.