Skip to content

Commit

Permalink
Increasing number of threads due to https://www.elastic.co/guide/en/e…
Browse files Browse the repository at this point in the history
  • Loading branch information
axelaris committed Jan 24, 2020
1 parent ef6145c commit 4c8730f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jobs/elasticsearch/templates/bin/elasticsearch_ctl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ case $1 in
<% end %>
<% end %>

ulimit -u 4096

if [ -n "$MAX_OPEN_FILES" ]; then
ulimit -n $MAX_OPEN_FILES
fi
Expand Down

0 comments on commit 4c8730f

Please sign in to comment.