Skip to content

Commit fe57c51

Browse files
Added file-descriptor limit in elasticsearc service configuration
Signed-off-by: Shailesh Vaidya <[email protected]>
1 parent 85fe6a4 commit fe57c51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-compose/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ services:
2828
command: elasticsearch -Enetwork.bind_host=0.0.0.0 -Ehttp.max_content_length=2000mb
2929
ports:
3030
- 9200:9200
31+
ulimits:
32+
nofile:
33+
soft: "65536"
34+
hard: "65536"
3135
environment:
3236
- ES_JAVA_OPTS=-Xms2g -Xmx2g
3337
- ANONYMOUS_USER=true

0 commit comments

Comments
 (0)