fix max file descriptors error on docker-compse

When using the docker-compose file, elasticsearch fails to start with the following error: 
```
elasticsearch_1  | [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
```

Adding 
```      
nofile:
        soft: 65536
        hard: 65536
```

to the elasticsearch ulimit section fixes the issue.
This commit is contained in:
motilevy
2020-09-30 17:44:49 -04:00
committed by GitHub
parent 8c9945c111
commit 37d96b5214

View File

@@ -27,6 +27,9 @@ services:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
mem_limit: 2g
kibana:
@@ -52,4 +55,4 @@ services:
depends_on:
- kibana
links:
- kibana:kibana
- kibana:kibana