[ https://issues.apache.org/jira/browse/SOLR-11874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365869#comment-16365869 ]
Walter Underwood commented on SOLR-11874: ----------------------------------------- This is what we do for each new Amazon instance. {{# Increase number of open files. must be run as root}} {{sudo su -}} {{echo }}{{'* hard nofile 500000'}} {{>> /etc/security/limits.conf}} {{echo }}{{'* soft nofile 500000'}} {{>> /etc/security/limits.conf}} {{echo }}{{'root hard nofile 500000'}} {{>> /etc/security/limits.conf}} {{echo }}{{'root hard nofile 500000'}} {{>> /etc/security/limits.conf}} {{echo }}{{'fs.file-max = 2097152'}} {{>> /etc/sysctl.conf}} {{# set the processes/threads limit}} {{sudo vi /etc/security/limits.d/}}{{20}}{{-nproc.conf}} {{# * soft nproc }}{{122944}} > Add ulimit recommendations to the "Taking Solr to Production" section in the > ref guide > -------------------------------------------------------------------------------------- > > Key: SOLR-11874 > URL: https://issues.apache.org/jira/browse/SOLR-11874 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: documentation > Reporter: Erick Erickson > Assignee: Erick Erickson > Priority: Minor > > Just noticed that we never mention appropriate ulimits in the ref guide > except for one spot when talking about cfs files. > Anyone who wants to pick this up feel free. Otherwise I'll get to this > probably over the weekend. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org