Re: OutOfMemoryError and Too many open files

2017-05-08 Thread Erick Erickson
Solr/Lucene really like having a bunch of files available, so bumping the ulimit is often the right thing to do. This assumes you don't have any custom code that is failing to close searchers and the like. Best, Erick On Mon, May 8, 2017 at 10:40 AM, Satya Marivada wrote: > Hi, > > Started gett

Re: OutOfMemoryError and Too many open files

2017-05-08 Thread Shawn Heisey
On 5/8/2017 11:40 AM, Satya Marivada wrote: > Started getting below errors/exceptions. I have listed the resolution > inline. Could you please see if I am headed right? > > java.lang.OutOfMemoryError: unable to create new native thread > java.io.IOException: Too many open files I have never had a

OutOfMemoryError and Too many open files

2017-05-08 Thread Satya Marivada
Hi, Started getting below errors/exceptions. I have listed the resolution inline. Could you please see if I am headed right? The below error basically says that there are no more threads can be created as the limit has reached. We have big index and I assume the threads are being created outside