You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Johnnie W Adams <jx...@ualr.edu> on 2024/04/17 17:32:25 UTC
Possibly bogus WARNings on startup
Hi, folks,
I worked around (for the moment) my install problems and get this
message on starting solr up:
*** [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 profile or solr.in.sh
*** [WARN] *** Your Max Processes Limit is currently 14430.
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 profile or solr.in.sh
However:
# sysctl -p
fs.file-max = 65000
kernel.pid_max = 65000
Are these WARNings accurate? I guess I could just disable them, but
that seems sloppy.
Thanks,
John A
--
John Adams
Senior Linux/Middleware Administrator | Information Technology Services
+1-501-916-3010 | jxadams@ualr.edu | http://ualr.edu/itservices
*UA Little Rock*
Reminder: IT Services will never ask for your password over the phone or
in an email. Always be suspicious of requests for personal information that
come via email, even from known contacts. For more information or to
report suspicious email, visit IT Security
<http://ualr.edu/itservices/security/>.
Re: Possibly bogus WARNings on startup
Posted by "Arrieta, Alejandro" <aa...@perrinsoftware.com>.
Hello,
With Solr already started.
#get solr pid
ps -ef|grep solr
#list process limits
cat /proc/solrpid/limits
As the user that runs Solr you can check the user limits:
#hard limits
ulimit -Ha
#soft limits
ulimit -Sa
Generally, the soft limits are applied.
You can change them in /etc/security/limits.d/solr.conf
as described here:
https://www.searchistheway.com/posts/How_to_help_Apache_Solr_project_testing_Solr_9.5.RC3/#setting-user-limits
Hope this helps
Kind regards,
Alejandro Arrieta
On Wed, Apr 17, 2024 at 1:32 PM Johnnie W Adams <jx...@ualr.edu> wrote:
> Hi, folks,
>
> I worked around (for the moment) my install problems and get this
> message on starting solr up:
>
> *** [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 profile or solr.in.sh
>
> *** [WARN] *** Your Max Processes Limit is currently 14430.
>
> 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 profile or solr.in.sh
>
>
> However:
>
> # sysctl -p
>
> fs.file-max = 65000
>
> kernel.pid_max = 65000
>
> Are these WARNings accurate? I guess I could just disable them, but
> that seems sloppy.
>
> Thanks,
>
> John A
> --
> John Adams
> Senior Linux/Middleware Administrator | Information Technology Services
> +1-501-916-3010 | jxadams@ualr.edu | http://ualr.edu/itservices
> *UA Little Rock*
>
> Reminder: IT Services will never ask for your password over the phone or
> in an email. Always be suspicious of requests for personal information that
> come via email, even from known contacts. For more information or to
> report suspicious email, visit IT Security
> <http://ualr.edu/itservices/security/>.
>