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/6za9dzr2yvnqeaarom3jvpz1o_43: Too many open files at __randomizedtesting.SeedInfo.seed([78910BB799798171]:0)

Solutions on the web12

  • 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/6za9dzr2yvnqeaarom3jvpz1o_43: 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/6za9dzr2yvnqeaarom3jvpz1o_43: 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/6za9dzr2yvnqeaarom3jvpz1o_43: 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.newDirectoryStream(HandleTrackingFS.java:298) at java.nio.file.Files.newDirectoryStream(Files.java:545) at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:171) at org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:191) at org.apache.lucene.store.MockDirectoryWrapper.listAll(MockDirectoryWrapper.java:1000) at org.apache.lucene.index.DirectoryReader.indexExists(DirectoryReader.java:288) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:787) at org.apache.lucene.index.TestDemoParallelLeafReader$3.reindex(TestDemoParallelLeafReader.java:823) 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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.