: Open file limit warning when starting solr
Hello,
How did you installed Solr?, have you followed this instructions?:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lucene.apache.org_solr_guide_7-5F0_taking-2Dsolr-2Dto-2Dproduction.html-23taking-2Dsolr-2Dto-2Dproduction=DwIFaQ=0TzQCy9lgR5hSW
r n etc/init.d and I followed the
> instructions in the link that you sent.
> Should I uninstall and re-install?
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 5:45 PM
> To: solr-user@lucene.apache.org
&g
u sent.
> Should I uninstall and re-install?
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 5:45 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
>
Subject: Re: Open file limit warning when starting solr
Hello,
Strange... Solr user is created during the installation... What user is your
Solr running?
> cat /etc/init.d/solr |grep -i "RUNAS="
>
Have you followed all the info in the link I've sent?, because they talk also
is the same
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 5:00 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> I mean change to solr us
nofile 65000
The result is the same
-Original Message-
From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
Sent: Wednesday, December 12, 2018 5:00 PM
To: solr-user@lucene.apache.org
Subject: Re: Open file limit warning when starting solr
Hello,
I mean change to solr user using su as sudo
fs.file-max
> fs.file-max = 810202
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 4:04 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
>
@lucene.apache.org
Subject: Re: Open file limit warning when starting solr
Hello,
The *su solr* command is important, because you change to Solr user before
check the limits again, then it shows its limits. Are you running the daemon as
solr user?
Other command to check is:
> # sysctl -a|grep
nesday, December 12, 2018 3:31 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting solr
>
> Hello,
>
> What output you get with this commands?:
>
> > root@solr-temp01:/# ulimit -n
> > 1024
> > root@solr-temp01:/# su solr
&g
mpt reply. I tried that but I'm still
> getting the file limit warning.
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 12:14 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when st
mpt reply. I tried that but I'm still
> getting the file limit warning.
>
> -Original Message-
> From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
> Sent: Wednesday, December 12, 2018 12:14 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Open file limit warning when starting
Hi Daniel and thanks for the prompt reply. I tried that but I'm still getting
the file limit warning.
-Original Message-
From: Daniel Carrasco [mailto:d.carra...@i2tic.com]
Sent: Wednesday, December 12, 2018 12:14 PM
To: solr-user@lucene.apache.org
Subject: Re: Open file limit warning
Hello,
Try creating a file in /etc/security/limits.d/solr.conf with this:
solr softnofile 65000
solr hardnofile 65000
solr softnproc 65000
solr hardnproc 65000
This worked for me on Debian 9.
Hello, When launching solr (Ubuntu 16.04) I'm getting:
* [WARN] *** Your open file limit is currently 1024.
It should be set to 65000 to avoid operational disruption.
If you no longer wish to see this warning, set
SOLR_ULIMIT_CHECKS to false in your
14 matches
Mail list logo