lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarun Kumar <ta...@sumologic.com>
Subject lucene index reader performance
Date Tue, 28 Jun 2016 11:05:58 GMT
I am running lucene 4.6.1. I am trying to get documents corresponding to
docIds. All threads get stuck (don't get stuck exactly but spend a LOT of
time in) at:

java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.FileDispatcherImpl.pread0(Native Method)
        at sun.nio.ch.FileDispatcherImpl.pread(FileDispatcherImpl.java:52)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:220)
        at sun.nio.ch.IOUtil.read(IOUtil.java:197)
        at sun.nio.ch.FileChannelImpl.readInternal(FileChannelImpl.java:731)
        at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:716)
        at
org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:169)
        at
org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:271)
        at
org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:51)
        at org.apache.lucene.store.DataInput.readVInt(DataInput.java:108)
        at
org.apache.lucene.store.BufferedIndexInput.readVInt(BufferedIndexInput.java:218)
        at
org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.visitDocument(CompressingStoredFieldsReader.java:232)
        at
org.apache.lucene.index.SegmentReader.document(SegmentReader.java:277)
        at
org.apache.lucene.index.BaseCompositeReader.document(BaseCompositeReader.java:110)
        at
org.apache.lucene.index.IndexReader.document(IndexReader.java:440)


There is no disk throttling. What can result into this?

Thanks
Tarun

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message