I am new to solr. I have solr installed in my home directory
(/home/jar/solr).
But when I start the tutorial, I get an open files limit error.
$ ./bin/solr start -e cloud
*** [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
I made a limits file as follows:
/etc/security/limits.d # cat solr.conf
solr soft nofile 65000
solr hard nofile 65000
solr soft nproc 65000
solr hard nproc 65000
jar soft nofile 65000
jar hard nofile 65000
jar soft nproc 65000
jar hard nproc 65000
But this does not seem to solve the issue.
Also, my ultimate goal is to only index one directory and to serve it to
my Drupal site. Is there a way to run solr as a service so that it
restarts on boot? Can you please point me to how to do this?
--
James A. Rome
https://jamesrome.net