If you cache the IndexSearcher and only have a couple of segments, and it’s a read only system (indexing is done just once), would it still open a lot of files?
On Tue, 14 Jul 2020 at 7:05 PM, Erick Erickson <erickerick...@gmail.com> wrote: > At least 65K. Yes, 65 thousand. Ditto for processes. > > > On Jul 14, 2020, at 8:35 AM, Archana A M <archana.am...@gmail.com> > wrote: > > > > Dear Team, > > > > We are getting "too many open files" in server while trying to access > > apache Lucene cache. > > > > Could someone please suggest the recommended open file limit while using > > apache Lucene in the application. > > > > Please find the relevant details below > > > > Lucene version - 6.5.1 > > > > current ulimit soft limit - 1024 > > > > current ulimit hard limit - 4096 > > > > Server - Jbosseap 7.1 > > > > Thanks > > > > Archana > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >