Created
April 13, 2013 00:58
-
-
Save craigbeck/5376338 to your computer and use it in GitHub Desktop.
Elasticsearch file descriptor limits in AWS EC2 Ubuntu instance - how to fix when running under daemontools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. change `/etc/init/sfsvscan.conf` and add `limit nofile 32000 32000` | |
2. change `/etc/security/limits.conf` and add | |
`* hard nofile 40960` | |
`* soft nofile 40960` | |
3. confirm by adding `-Des.max-open-files=true` to run file of elasticsearch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment