Skip to content

Instantly share code, notes, and snippets.

@vkisselmann
Created July 15, 2013 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vkisselmann/5998537 to your computer and use it in GitHub Desktop.
Save vkisselmann/5998537 to your computer and use it in GitHub Desktop.
elasticsearch hot_threads
::: [esearch.cloud][BpQZoQReSX6PxigkCXH6GA][inet[/1.2.3.4:9300]]
109.8% (548.9ms out of 500ms) cpu usage by thread 'elasticsearch[esearch.cloud][search][T#1522]'
10/10 snapshots sharing following 15 elements
org.elasticsearch.common.jackson.core.sym.BytesToNameCanonicalizer.makeChild(BytesToNameCanonicalizer.java:175)
org.elasticsearch.common.jackson.dataformat.smile.SmileParserBootstrapper.constructParser(SmileParserBootstrapper.java:100)
org.elasticsearch.common.jackson.dataformat.smile.SmileFactory._createJsonParser(SmileFactory.java:330)
org.elasticsearch.common.jackson.dataformat.smile.SmileFactory.createJsonParser(SmileFactory.java:255)
org.elasticsearch.common.xcontent.smile.SmileXContent.createParser(SmileXContent.java:90)
org.elasticsearch.common.xcontent.smile.SmileXContent.createParser(SmileXContent.java:95)
org.elasticsearch.search.SearchService.parseSource(SearchService.java:532)
org.elasticsearch.search.SearchService.createContext(SearchService.java:469)
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:228)
org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:497)
org.elasticsearch.search.action.SearchServiceTransportAction$SearchQueryTransportHandler.messageReceived(SearchServiceTransportAction.java:486)
org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.run(MessageChannelHandler.java:268)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
109.4% (547.2ms out of 500ms) cpu usage by thread 'elasticsearch[esearch.cloud][[recovery_stream]][T#1]'
5/10 snapshots sharing following 20 elements
java.util.Arrays.copyOf(Arrays.java:2271)
org.elasticsearch.common.io.stream.BytesStreamOutput.writeBytes(BytesStreamOutput.java:88)
org.elasticsearch.common.io.stream.StreamOutput.write(StreamOutput.java:252)
org.elasticsearch.common.compress.lzf.ChunkEncoder.encodeAndWriteChunk(ChunkEncoder.java:157)
org.elasticsearch.common.compress.lzf.LZFCompressedStreamOutput.compress(LZFCompressedStreamOutput.java:52)
org.elasticsearch.common.compress.CompressedStreamOutput.flushBuffer(CompressedStreamOutput.java:125)
org.elasticsearch.common.compress.CompressedStreamOutput.writeBytes(CompressedStreamOutput.java:80)
org.elasticsearch.common.io.stream.StreamOutput.write(StreamOutput.java:252)
org.elasticsearch.common.bytes.BytesArray.writeTo(BytesArray.java:83)
org.elasticsearch.common.io.stream.StreamOutput.writeBytesReference(StreamOutput.java:94)
org.elasticsearch.common.io.stream.AdapterStreamOutput.writeBytesReference(AdapterStreamOutput.java:98)
org.elasticsearch.indices.recovery.RecoveryFileChunkRequest.writeTo(RecoveryFileChunkRequest.java:111)
org.elasticsearch.transport.support.TransportStreams.buildRequest(TransportStreams.java:113)
org.elasticsearch.transport.netty.NettyTransport.sendRequest(NettyTransport.java:519)
org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:185)
org.elasticsearch.transport.TransportService.submitRequest(TransportService.java:166)
org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:159)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
5/10 snapshots sharing following 6 elements
org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:185)
org.elasticsearch.transport.TransportService.submitRequest(TransportService.java:166)
org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:159)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
94.4% (471.8ms out of 500ms) cpu usage by thread 'elasticsearch[esearch.cloud][[recovery_stream]][T#3]'
2/10 snapshots sharing following 19 elements
java.util.Arrays.copyOf(Arrays.java:2271)
org.elasticsearch.common.io.stream.BytesStreamOutput.writeBytes(BytesStreamOutput.java:88)
org.elasticsearch.common.io.stream.StreamOutput.write(StreamOutput.java:252)
org.elasticsearch.common.compress.lzf.ChunkEncoder.encodeAndWriteChunk(ChunkEncoder.java:157)
org.elasticsearch.common.compress.lzf.LZFCompressedStreamOutput.compress(LZFCompressedStreamOutput.java:52)
org.elasticsearch.common.compress.CompressedStreamOutput.writeBytes(CompressedStreamOutput.java:87)
org.elasticsearch.common.io.stream.StreamOutput.write(StreamOutput.java:252)
org.elasticsearch.common.bytes.BytesArray.writeTo(BytesArray.java:83)
org.elasticsearch.common.io.stream.StreamOutput.writeBytesReference(StreamOutput.java:94)
org.elasticsearch.common.io.stream.AdapterStreamOutput.writeBytesReference(AdapterStreamOutput.java:98)
org.elasticsearch.indices.recovery.RecoveryFileChunkRequest.writeTo(RecoveryFileChunkRequest.java:111)
org.elasticsearch.transport.support.TransportStreams.buildRequest(TransportStreams.java:113)
org.elasticsearch.transport.netty.NettyTransport.sendRequest(NettyTransport.java:519)
org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:185)
org.elasticsearch.transport.TransportService.submitRequest(TransportService.java:166)
org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:159)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
4/10 snapshots sharing following 17 elements
org.elasticsearch.common.compress.lzf.ChunkEncoder.tryCompress(ChunkEncoder.java:236)
org.elasticsearch.common.compress.lzf.ChunkEncoder.encodeAndWriteChunk(ChunkEncoder.java:154)
org.elasticsearch.common.compress.lzf.LZFCompressedStreamOutput.compress(LZFCompressedStreamOutput.java:52)
org.elasticsearch.common.compress.CompressedStreamOutput.writeBytes(CompressedStreamOutput.java:87)
org.elasticsearch.common.io.stream.StreamOutput.write(StreamOutput.java:252)
org.elasticsearch.common.bytes.BytesArray.writeTo(BytesArray.java:83)
org.elasticsearch.common.io.stream.StreamOutput.writeBytesReference(StreamOutput.java:94)
org.elasticsearch.common.io.stream.AdapterStreamOutput.writeBytesReference(AdapterStreamOutput.java:98)
org.elasticsearch.indices.recovery.RecoveryFileChunkRequest.writeTo(RecoveryFileChunkRequest.java:111)
org.elasticsearch.transport.support.TransportStreams.buildRequest(TransportStreams.java:113)
org.elasticsearch.transport.netty.NettyTransport.sendRequest(NettyTransport.java:519)
org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:185)
org.elasticsearch.transport.TransportService.submitRequest(TransportService.java:166)
org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:159)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
4/10 snapshots sharing following 6 elements
org.elasticsearch.transport.TransportService.sendRequest(TransportService.java:185)
org.elasticsearch.transport.TransportService.submitRequest(TransportService.java:166)
org.elasticsearch.indices.recovery.RecoverySource$1$1.run(RecoverySource.java:159)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
java.lang.Thread.run(Thread.java:722)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment