Skip to content

Commit eb50d22

Browse files
ajrpaynejasontedor
authored andcommitted
Reflect changes in systemd service for LimitMEMLOCK
The LimitMEMLOCK suggestion was removed from systemd service file and instead users should use an override file, so a comment in the environment file should be updated to reflect the same. Relates #27630
1 parent 75a8e0b commit eb50d22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

distribution/src/main/packaging/env/elasticsearch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ ES_STARTUP_SLEEP_TIME=5
4141
# The maximum number of bytes of memory that may be locked into RAM
4242
# Set to "unlimited" if you use the 'bootstrap.memory_lock: true' option
4343
# in elasticsearch.yml.
44-
# When using Systemd, the LimitMEMLOCK property must be set
45-
# in /usr/lib/systemd/system/elasticsearch.service
44+
# When using systemd, LimitMEMLOCK must be set in a unit file such as
45+
# /etc/systemd/system/elasticsearch.service.d/override.conf.
4646
#MAX_LOCKED_MEMORY=unlimited
4747

4848
# Maximum number of VMA (Virtual Memory Areas) a process can own

0 commit comments

Comments
 (0)