And too this: open files (-n) 1024
At least. ________________________________ David Martín Nieto Analista Funcional Calle Cabeza Mesada 5 28031, Madrid T: +34 667 414 432 T: +34 91 779 56 98| Ext. 3198 E-mail: dmart...@viewnext.com | Web: www.viewnext.com ________________________________ [https://mail.google.com/mail/u/0?ui=2&ik=72317294cd&attid=0.0.2&permmsgid=msg-f:1662155651369049897&th=171129c229429f29&view=fimg&sz=s0-l75-ft&attbid=ANGjdJ_o0Ds8_P8d7W-csq2mmc6mBGQy9hSjXsGEv15RXUutalCYzg3HQB3CByE2swcJkH3yRaLwrXkr1G81F9FpfqcPlbpRoZcainmsJjviLoypusuKOxCnOw97zuo&disp=emb] ________________________________ De: DAVID MARTIN NIETO <dmart...@viewnext.com> Enviado: miércoles, 4 de noviembre de 2020 16:20 Para: solr-user@lucene.apache.org <solr-user@lucene.apache.org> Asunto: RE: How to raise open file limits Hi, You must have to change the ulimit -a parameters on your SO config. I believe the problem that you have is in: max user processes (-u) 4096 Kind regards. ________________________________ David Martín Nieto Analista Funcional Calle Cabeza Mesada 5 28031, Madrid T: +34 667 414 432 T: +34 91 779 56 98| Ext. 3198 E-mail: dmart...@viewnext.com | Web: www.viewnext.com<http://www.viewnext.com> ________________________________ [https://mail.google.com/mail/u/0?ui=2&ik=72317294cd&attid=0.0.2&permmsgid=msg-f:1662155651369049897&th=171129c229429f29&view=fimg&sz=s0-l75-ft&attbid=ANGjdJ_o0Ds8_P8d7W-csq2mmc6mBGQy9hSjXsGEv15RXUutalCYzg3HQB3CByE2swcJkH3yRaLwrXkr1G81F9FpfqcPlbpRoZcainmsJjviLoypusuKOxCnOw97zuo&disp=emb] ________________________________ De: James Rome <jamesr...@gmail.com> Enviado: miércoles, 4 de noviembre de 2020 16:03 Para: solr-user@lucene.apache.org <solr-user@lucene.apache.org> Asunto: How to raise open file limits 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