You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Archana A M <ar...@gmail.com> on 2020/07/14 12:35:14 UTC
Ulimit recommendation for Apache Lucene 6.5.1
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
Re: Ulimit recommendation for Apache Lucene 6.5.1
Posted by Erick Erickson <er...@gmail.com>.
You’re probably OK, but why risk it? Setting the ulimits that
high doesn’t really negatively impact much of anytyhing. Leaving
them low leaves you open to problems in future.
I see no reason to keep them low, even in this situation.
Best,
Erick
> On Jul 14, 2020, at 5:10 PM, Ali Akhtar <al...@ali.actor> wrote:
>
> 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 <er...@gmail.com>
> wrote:
>
>> At least 65K. Yes, 65 thousand. Ditto for processes.
>>
>>> On Jul 14, 2020, at 8:35 AM, Archana A M <ar...@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-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Ulimit recommendation for Apache Lucene 6.5.1
Posted by Ali Akhtar <al...@ali.actor>.
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 <er...@gmail.com>
wrote:
> At least 65K. Yes, 65 thousand. Ditto for processes.
>
> > On Jul 14, 2020, at 8:35 AM, Archana A M <ar...@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
Re: Ulimit recommendation for Apache Lucene 6.5.1
Posted by Erick Erickson <er...@gmail.com>.
At least 65K. Yes, 65 thousand. Ditto for processes.
> On Jul 14, 2020, at 8:35 AM, Archana A M <ar...@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org