java.io.FileNotFoundException: /opt/confluence-data/index/_16oo.f139 (Too many open files)

Atlassian JIRA | Ivan Benko [Atlassian] | 1 decade ago
  1. 0

    [CONF-7401] too many files open error due to bonnie.LuceneException - Atlassian JIRA

    atlassian.com | 1 year ago
    java.io.FileNotFoundException: /opt/confluence-data/index/_16oo.f139 (Too many open files)
  2. 0

    The present indexing process creates 'too many file handles'. When more FHs are needed, it runs out of resources and terminates with an error: 2006-11-13 10:59:11,991 ERROR [confluence.search.lucene.DefaultConfluenceIndexManager] processTasks Failed to refresh the lucene searcher. java.io.FileNotFoundException: /opt/confluence-data/index/_16oo.f139 (Too many open files) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212) at org.apache.lucene.store.FSIndexInput$Descriptor.<init>(FSDirectory.java:425) at org.apache.lucene.store.FSIndexInput.<init>(FSDirectory.java:434) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:324) at org.apache.lucene.index.SegmentReader.openNorms(SegmentReader.java:525) at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:157) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:129) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:115) at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:150) at org.apache.lucene.store.Lock$With.run(Lock.java:109) at org.apache.lucene.index.IndexReader.open(IndexReader.java:143) at org.apache.lucene.index.IndexReader.open(IndexReader.java:138) at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:47) at org.apache.lucene.search.DelayCloseIndexSearcher.<init>(DelayCloseIndexSearcher.java:88) at org.apache.lucene.search.DateFilterScoringSearcher.<init>(DateFilterScoringSearcher.java:36) at com.atlassian.confluence.search.lucene.ConfluenceLuceneConnection.createSearcher(ConfluenceLuceneConnection.java:63) at com.atlassian.confluence.search.lucene.ConfluenceLuceneConnection.refreshSearcher(ConfluenceLuceneConnection.java:102) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.processTasks(DefaultConfluenceIndexManager.java:208) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(DefaultConfluenceIndexManager.java:93) at sun.reflect.GeneratedMethodAccessor479.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy15.flushQueue(Unknown Source) at com.atlassian.confluence.search.lucene.IndexQueueFlusher.executeInternal(IndexQueueFlusher.java:38) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:66) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

    Atlassian JIRA | 1 decade ago | Ivan Benko [Atlassian]
    java.io.FileNotFoundException: /opt/confluence-data/index/_16oo.f139 (Too many open files)
  3. 0

    The present indexing process creates 'too many file handles'. When more FHs are needed, it runs out of resources and terminates with an error: 2006-11-13 10:59:11,991 ERROR [confluence.search.lucene.DefaultConfluenceIndexManager] processTasks Failed to refresh the lucene searcher. java.io.FileNotFoundException: /opt/confluence-data/index/_16oo.f139 (Too many open files) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212) at org.apache.lucene.store.FSIndexInput$Descriptor.<init>(FSDirectory.java:425) at org.apache.lucene.store.FSIndexInput.<init>(FSDirectory.java:434) at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:324) at org.apache.lucene.index.SegmentReader.openNorms(SegmentReader.java:525) at org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:157) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:129) at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:115) at org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:150) at org.apache.lucene.store.Lock$With.run(Lock.java:109) at org.apache.lucene.index.IndexReader.open(IndexReader.java:143) at org.apache.lucene.index.IndexReader.open(IndexReader.java:138) at org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:47) at org.apache.lucene.search.DelayCloseIndexSearcher.<init>(DelayCloseIndexSearcher.java:88) at org.apache.lucene.search.DateFilterScoringSearcher.<init>(DateFilterScoringSearcher.java:36) at com.atlassian.confluence.search.lucene.ConfluenceLuceneConnection.createSearcher(ConfluenceLuceneConnection.java:63) at com.atlassian.confluence.search.lucene.ConfluenceLuceneConnection.refreshSearcher(ConfluenceLuceneConnection.java:102) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.processTasks(DefaultConfluenceIndexManager.java:208) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(DefaultConfluenceIndexManager.java:93) at sun.reflect.GeneratedMethodAccessor479.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy15.flushQueue(Unknown Source) at com.atlassian.confluence.search.lucene.IndexQueueFlusher.executeInternal(IndexQueueFlusher.java:38) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:66) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

    Atlassian JIRA | 1 decade ago | Ivan Benko [Atlassian]
    java.io.FileNotFoundException: /opt/confluence-data/index/_16oo.f139 (Too many open files)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Search failing when cluster busy

    GitHub | 7 years ago | clintongormley
    org.elasticsearch.index.gateway.IndexShardGatewaySnapshotFailedException: [ia_object_1270046679][0] Failed to append snapshot translog into [/opt/elasticsearch/data/iAnnounce/ia_object_1270046679/0/translog/translog-3]
  6. 0

    java.io.IOException: Invalid argument and Too many open files

    Stack Overflow | 6 years ago | purple
    java.io.FileNotFoundException: /root/TorrentStealer/downloads/MAME - Update ROMs (v0.141 to v0.141u2)/lah_l104.zip (Too many open files)

  1. Andreas Häber 1 times, last 2 weeks ago
  2. tyson925 5 times, last 7 months ago
  3. rp 13 times, last 8 months ago
30 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /opt/confluence-data/index/_16oo.f139 (Too many open files)

    at java.io.RandomAccessFile.open()
  2. Java RT
    RandomAccessFile.<init>
    1. java.io.RandomAccessFile.open(Native Method)
    2. java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
    2 frames
  3. Lucene
    DateFilterScoringSearcher.<init>
    1. org.apache.lucene.store.FSIndexInput$Descriptor.<init>(FSDirectory.java:425)
    2. org.apache.lucene.store.FSIndexInput.<init>(FSDirectory.java:434)
    3. org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:324)
    4. org.apache.lucene.index.SegmentReader.openNorms(SegmentReader.java:525)
    5. org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:157)
    6. org.apache.lucene.index.SegmentReader.get(SegmentReader.java:129)
    7. org.apache.lucene.index.SegmentReader.get(SegmentReader.java:115)
    8. org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:150)
    9. org.apache.lucene.store.Lock$With.run(Lock.java:109)
    10. org.apache.lucene.index.IndexReader.open(IndexReader.java:143)
    11. org.apache.lucene.index.IndexReader.open(IndexReader.java:138)
    12. org.apache.lucene.search.IndexSearcher.<init>(IndexSearcher.java:47)
    13. org.apache.lucene.search.DelayCloseIndexSearcher.<init>(DelayCloseIndexSearcher.java:88)
    14. org.apache.lucene.search.DateFilterScoringSearcher.<init>(DateFilterScoringSearcher.java:36)
    14 frames
  4. com.atlassian.confluence
    DefaultConfluenceIndexManager.flushQueue
    1. com.atlassian.confluence.search.lucene.ConfluenceLuceneConnection.createSearcher(ConfluenceLuceneConnection.java:63)
    2. com.atlassian.confluence.search.lucene.ConfluenceLuceneConnection.refreshSearcher(ConfluenceLuceneConnection.java:102)
    3. com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.processTasks(DefaultConfluenceIndexManager.java:208)
    4. com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(DefaultConfluenceIndexManager.java:93)
    4 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor479.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:585)
    3 frames
  6. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116)
    3 frames
  7. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
    1 frame
  8. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
    2 frames
  9. Unknown
    $Proxy15.flushQueue
    1. $Proxy15.flushQueue(Unknown Source)
    1 frame
  10. com.atlassian.confluence
    IndexQueueFlusher.executeInternal
    1. com.atlassian.confluence.search.lucene.IndexQueueFlusher.executeInternal(IndexQueueFlusher.java:38)
    1 frame
  11. Spring Context Support
    QuartzJobBean.execute
    1. org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:66)
    1 frame
  12. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:191)
    2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
    2 frames