Skip to content

Instantly share code, notes, and snippets.

View jgagnon1's full-sized avatar

Jerome Gagnon jgagnon1

View GitHub Profile
::: [es67b][PUF2OkuJT42Q3Ne1Z4UYuQ][inet[es67b/10.1.18.57:9300]]{master=true}
78.0% (390.1ms out of 500ms) cpu usage by thread 'elasticsearch[es67b][search][T#10]'
4/10 snapshots sharing following 24 elements
org.apache.lucene.index.SegmentTermPositions.skipPositions(SegmentTermPositions.java:131)
org.apache.lucene.index.SegmentTermPositions.lazySkip(SegmentTermPositions.java:169)
org.apache.lucene.index.SegmentTermPositions.nextPosition(SegmentTermPositions.java:70)
org.apache.lucene.search.spans.TermSpans.skipTo(TermSpans.java:73)
org.apache.lucene.search.spans.SpanScorer.advance(SpanScorer.java:68)
org.apache.lucene.search.ConjunctionScorer.doNext(ConjunctionScorer.java:97)
This file has been truncated, but you can view the full file.
::: [es7a][-2NqUY-ASnypSigd5KMrIw][inet[/10.1.13.207:9300]]{master=true}
16.8% (84.2ms out of 500ms) cpu usage by thread 'elasticsearch[es7a][search][T#3]'
10/10 snapshots sharing following 8 elements
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103)
@jgagnon1
jgagnon1 / gist:5007106
Created February 21, 2013 18:54
ES cpu hot threads
::: [es67b][BPTeIxwsQkm3_KNATVqgJQ][inet[es67b/10.1.18.57:9300]]{master=true}
99.3% (496.2ms out of 500ms) cpu usage by thread 'elasticsearch[es67b][search][T#3]'
8/10 snapshots sharing following 15 elements
org.elasticsearch.common.util.concurrent.jsr166y.LinkedTransferQueue.tryAppend(LinkedTransferQueue.java:653)
org.elasticsearch.common.util.concurrent.jsr166y.LinkedTransferQueue.xfer(LinkedTransferQueue.java:611)
org.elasticsearch.common.util.concurrent.jsr166y.LinkedTransferQueue.add(LinkedTransferQueue.java:1049)
org.elasticsearch.common.CacheRecycler.pushIntArray(CacheRecycler.java:502)
org.elasticsearch.common.CacheRecycler.pushIntArray(CacheRecycler.java:492)
org.elasticsearch.search.facet.terms.ints.TermsIntOrdinalsFacetCollector.facet(TermsIntOrdinalsFacetCollector.java:188)
// include the library code:
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
lcd.clear();
// set up the LCD's number of columns and rows: