You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could apply all of the settings by passing environment variables to elasticsearch.in.sh.
I think this is the only case for Ubuntu, but for tweaking MAX_OPEN_FILES and MAX_LOCKED_MEMORY, I also had to change the configuration of ulimit, pam_limits(/etc/pam.d/common-session*) and sv-elasticsearch-run.erb to let runit spawn sudo session so that limits.conf configuration will be applied to elasticsearch process.
I couldn't make chpst work along with ulimit tweaks but there could be smarter way.
Seems like configured values trump environment vars; more testing needed.
The text was updated successfully, but these errors were encountered: