[
https://issues.apache.org/jira/browse/SOLR-13063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16718968#comment-16718968
]
Rony commented on SOLR-13063:
-----------------------------
Dawid, I did not see a solution in the page you referred me to and as you can
see from my query I searched other sources as well. With your advice I
submitted my question to the mailing list and got:
"Try creating a file in /etc/security/limits.d/solr.conf with this:
solr soft nofile 65000
solr hard nofile 65000
solr soft nproc 65000
solr hard nproc 65000
This worked for me on Debian 9."
But this solution did not work in my case as well. This and other threads
referred to in my question suggest a bug or a recurrent problem.
Would it justify Jira listing now? If not can you please tell me what are the
likely consequences of the open file limit?
Cheers,
Rony
> Open file limit warning when starting solr
> ------------------------------------------
>
> Key: SOLR-13063
> URL: https://issues.apache.org/jira/browse/SOLR-13063
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCLI
> Affects Versions: 7.5
> Reporter: Rony
> Priority: Major
>
> 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 profile or solr.in.sh
> *** [WARN] *** Your Max Processes Limit is currently 15058.
> 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
> This appears to be related to a known bug in [#Ubuntu]
> [https://blog.jayway.com/2012/02/11/how-to-really-fix-the-too-many-open-files-problem-for-tomcat-in-ubuntu/]
> I was wondering if you have some workaround. I followed the solutions in the
> following threads:
> [https://vufind.org/jira/browse/VUFIND-1290]
> [https://underyx.me/2015/05/18/raising-the-maximum-number-of-file-descriptors]
> and was able to resolve Max Processes Limit but not File limit:
> *
> **
> *** [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
> Waiting up to 180 seconds to see Solr running on port 8983 []
> Started Solr server on port 8983 (pid=2843). Happy searching!
> cd proc# cat 2843/limits:
> Max processes 65000 65000
> processes
> Max open files 4096 4096 files
>
> The problem persisted after upgrade to Ubuntu 18.10
> Any other solution would be appreciated.
> Otherwise can you please tell me what are the likely consequences of the open
> file limit?
>
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]