[ https://issues.apache.org/jira/browse/LUCENE-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036163#comment-13036163 ]
Doron Cohen commented on LUCENE-3123: ------------------------------------- This is on Ubuntu btw. Run log: {noformat} NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testBackgroundOptimize -Dtests.seed=-3981504507637360146:51354004663342240 NOTE: reproduce with: ant test -Dtestcase=TestIndexWriter -Dtestmethod=testBackgroundOptimize -Dtests.seed=-3981504507637360146:51354004663342240 The following exceptions were thrown by threads: *** Thread: Lucene Merge Thread #0 *** org.apache.lucene.index.MergePolicy$MergeException: java.io.FileNotFoundException: /tmp/test4907593285402510583tmp/_51_0.sd (Too many open files) at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:507) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:472) Caused by: java.io.FileNotFoundException: /tmp/test4907593285402510583tmp/_51_0.sd (Too many open files) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233) at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.<init>(SimpleFSDirectory.java:69) at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.<init>(SimpleFSDirectory.java:90) at org.apache.lucene.store.SimpleFSDirectory.openInput(SimpleFSDirectory.java:56) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:337) at org.apache.lucene.store.MockDirectoryWrapper.openInput(MockDirectoryWrapper.java:402) at org.apache.lucene.index.codecs.mockrandom.MockRandomCodec.fieldsProducer(MockRandomCodec.java:236) at org.apache.lucene.index.PerFieldCodecWrapper$FieldsReader.<init>(PerFieldCodecWrapper.java:113) at org.apache.lucene.index.PerFieldCodecWrapper.fieldsProducer(PerFieldCodecWrapper.java:210) at org.apache.lucene.index.SegmentReader$CoreReaders.<init>(SegmentReader.java:131) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:495) at org.apache.lucene.index.IndexWriter$ReaderPool.get(IndexWriter.java:635) at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:3260) at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:2930) at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:379) at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:447) NOTE: test params are: codec=RandomCodecProvider: {field=MockRandom}, locale=nl_NL, timezone=Turkey NOTE: all tests run in this JVM: [TestIndexWriter] NOTE: Linux 2.6.32-31-generic i386/Sun Microsystems Inc. 1.6.0_20 (32-bit)/cpus=1,threads=2,free=26480072,total=33468416 {noformat} > TestIndexWriter.testBackgroundOptimize fails with too many open files > --------------------------------------------------------------------- > > Key: LUCENE-3123 > URL: https://issues.apache.org/jira/browse/LUCENE-3123 > Project: Lucene - Java > Issue Type: Bug > Components: core/index > Environment: Linux 2.6.32-31-generic i386/Sun Microsystems Inc. > 1.6.0_20 (32-bit)/cpus=1,threads=2 > Reporter: Doron Cohen > > Recreate with this line: > ant test -Dtestcase=TestIndexWriter -Dtestmethod=testBackgroundOptimize > -Dtests.seed=-3981504507637360146:51354004663342240 > Might be related to LUCENE-2873 ? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org