Файлы не сохраняются в Ubuntu 18.04.1 через Windows /etc/security/limits.conf, /etc/systemd/user.conf и /etc/security/limits.conf - PullRequest
0 голосов
/ 04 апреля 2019

Я нахожусь на Ubuntu 18.04.1 LTS

Я получаю эту ошибку при запуске solr start:

*** [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 7823.
 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

ТАК я вошел в /etc/systemd/system.conf && /etc/systemd/user.conf идобавил:

DefaultLimitNOFILE=65000

И добавил это к /etc/security/limits.conf

antonio_pavicevac_ortiz hard nofile 65000
antonio_pavicevac_ortiz soft nofile 65000
antonio_pavicevac_ortiz hard nproc 65000
antonio_pavicevac_ortiz soft nproc 65000

Затем я возвращаюсь к /mnt/c/Program Files/solr-6.6.2/bin$ и делаю:

solr start

ипредупреждение о том, что я все еще на 1024?!

Есть предложения?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...