java.io.IOException: Too many open files

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via cloudera.com by Unknown author, 1 year ago
Too many open files
via cloudera.com by Unknown author, 1 year ago
via cloudera.com by Unknown author, 1 year ago
java.io.IOException: Too many open files
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at org.apache.lucene.store.SimpleFSLock.obtain(SimpleFSLockFactory.java:124)
at org.apache.lucene.store.Lock.obtain(Lock.java:73)
at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1565)
at org.apache.lucene.index.IndexWriter.(IndexWriter.java:1121)
at com.liferay.portal.search.lucene.IndexWriterFactory.getWriter(IndexWriterFactory.java:191)
at com.liferay.portal.search.lucene.LuceneUtil.getWriter(LuceneUtil.java:414)
at com.liferay.portal.search.lucene.LuceneUtil.getWriter(LuceneUtil.java:408)
at com.liferay.portal.search.lucene.LuceneIndexWriterImpl.addDocument(LuceneIndexWriterImpl.java:56)
at com.liferay.portal.search.lucene.LuceneIndexWriterImpl.updateDocument(LuceneIndexWriterImpl.java:106)
at com.liferay.portal.search.lucene.messaging.LuceneWriterMessageListener.doReceive(LuceneWriterMessageListener.java:91)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:70)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

19 times, 1 year ago
103 times, 6 months ago
3 times, 1 year ago
12 times, 1 year ago
8 times, 2 weeks ago
78 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.