org.apache.lucene.index.MergePolicy$MergeException

java.nio.file.FileSystemException: /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-5.x/lucene/build/core/test/J3/temp/lucene.index.TestDemoParallelLeafReader 78910BB799798171-001/tempDir-002/segs/6za9dzr2yvnqeaarom3jvpwp6_40/_0_Memory_0.mdvd: Too many open files at __randomizedtesting.SeedInfo.seed([78910BB799798171]:0)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web31

  • via lucene-dev by Michael McCandless, 9 months ago
    java.nio.file.FileSystemException: /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-5.x/lucene/build/core/test/J3/temp/lucene.index.TestDemoParallelLeafReader 78910BB799798171-001/tempDir-002/segs/6za9dzr2yvnqeaarom3jvpwp6_40/_0_Memory_0.mdvd: Too many open files at __randomizedtesting.SeedInfo.seed([78910BB799798171]:0)
  • java.io.FileNotFoundException: /home/alvas/europarl/index/_70g.tii (Too many open files)
  • via apache.org by Unknown author, 9 months ago
    java.lang.ArrayIndexOutOfBoundsException: -65536 at __randomizedtesting.SeedInfo.seed([5DC54DB14FA5979]:0)
  • Stack trace

    • org.apache.lucene.index.MergePolicy$MergeException: java.nio.file.FileSystemException: /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-5.x/lucene/build/core/test/J3/temp/lucene.index.TestDemoParallelLeafReader 78910BB799798171-001/tempDir-002/segs/6za9dzr2yvnqeaarom3jvpwp6_40/_0_Memory_0.mdvd: Too many open files at __randomizedtesting.SeedInfo.seed([78910BB799798171]:0) at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:611) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:581) Caused by: java.nio.file.FileSystemException: /usr/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-5.x/lucene/build/core/test/J3/temp/lucene.index.TestDemoParallelLeafReader 78910BB799798171-001/tempDir-002/segs/6za9dzr2yvnqeaarom3jvpwp6_40/_0_Memory_0.mdvd: Too many open files at org.apache.lucene.mockfile.HandleLimitFS.onOpen(HandleLimitFS.java:49) at org.apache.lucene.mockfile.HandleTrackingFS.callOpenHook(HandleTrackingFS.java:84) at org.apache.lucene.mockfile.HandleTrackingFS.newOutputStream(HandleTrackingFS.java:157) at java.nio.file.Files.newOutputStream(Files.java:172) at org.apache.lucene.store.FSDirectory$FSIndexOutput.<init>(FSDirectory.java:265) at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:214) at org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:607) at org.apache.lucene.store.TrackingDirectoryWrapper.createOutput(TrackingDirectoryWrapper.java:43) at org.apache.lucene.codecs.memory.MemoryDocValuesConsumer.<init>(MemoryDocValuesConsumer.java:76) at org.apache.lucene.codecs.memory.MemoryDocValuesFormat.fieldsConsumer(MemoryDocValuesFormat.java:60) at org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.getInstance(PerFieldDocValuesFormat.java:187) at org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.addNumericField(PerFieldDocValuesFormat.java:111) at org.apache.lucene.index.NumericDocValuesWriter.flush(NumericDocValuesWriter.java:90) at org.apache.lucene.index.DefaultIndexingChain.writeDocValues(DefaultIndexingChain.java:142) at org.apache.lucene.index.DefaultIndexingChain.flush(DefaultIndexingChain.java:93) at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:419) at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:503) at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:615) at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3019) at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:2994) at org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1678) at org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1658) at org.apache.lucene.index.TestDemoParallelLeafReader$3.reindex(TestDemoParallelLeafReader.java:851) at org.apache.lucene.index.TestDemoParallelLeafReader$ReindexingReader.getParallelLeafReader(TestDemoParallelLeafReader.java:397) at org.apache.lucene.index.TestDemoParallelLeafReader$ReindexingReader.getCurrentReader(TestDemoParallelLeafReader.java:161) at org.apache.lucene.index.TestDemoParallelLeafReader$ReindexingReader$ReindexingMergePolicy$ReindexingOneMerge.getMergeReaders(TestDemoParallelLeafReader.java:535) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3958) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3559) at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:519) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:557)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.