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

lucene-dev | Michael McCandless | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: [JENKINS] Lucene-Solr-NightlyTests-5.x - Build # 730 - Still Failing

    lucene-dev | 2 years ago | Michael McCandless
    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/6za9dzr2yvnqeaarom3jvpz70_43: Too many open files at __randomizedtesting.SeedInfo.seed([78910BB799798171]:0)

    Root Cause Analysis

    1. 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/6za9dzr2yvnqeaarom3jvpz70_43: Too many open files

      at org.apache.lucene.mockfile.HandleLimitFS.onOpen()
    2. org.apache.lucene
      HandleTrackingFS.newDirectoryStream
      1. org.apache.lucene.mockfile.HandleLimitFS.onOpen(HandleLimitFS.java:49)
      2. org.apache.lucene.mockfile.HandleTrackingFS.callOpenHook(HandleTrackingFS.java:84)
      3. org.apache.lucene.mockfile.HandleTrackingFS.newDirectoryStream(HandleTrackingFS.java:298)
      3 frames
    3. Java RT
      Files.newDirectoryStream
      1. java.nio.file.Files.newDirectoryStream(Files.java:545)
      1 frame
    4. Lucene
      ConcurrentMergeScheduler$MergeThread.run
      1. org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:171)
      2. org.apache.lucene.store.FSDirectory.listAll(FSDirectory.java:191)
      3. org.apache.lucene.store.MockDirectoryWrapper.listAll(MockDirectoryWrapper.java:1000)
      4. org.apache.lucene.index.DirectoryReader.indexExists(DirectoryReader.java:288)
      5. org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:787)
      6. org.apache.lucene.index.TestDemoParallelLeafReader$3.reindex(TestDemoParallelLeafReader.java:823)
      7. org.apache.lucene.index.TestDemoParallelLeafReader$ReindexingReader.getParallelLeafReader(TestDemoParallelLeafReader.java:397)
      8. org.apache.lucene.index.TestDemoParallelLeafReader$ReindexingReader.getCurrentReader(TestDemoParallelLeafReader.java:161)
      9. org.apache.lucene.index.TestDemoParallelLeafReader$ReindexingReader$ReindexingMergePolicy$ReindexingOneMerge.getMergeReaders(TestDemoParallelLeafReader.java:535)
      10. org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3958)
      11. org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3559)
      12. org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:519)
      13. org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:557)
      13 frames