Skip to content

Conversation

@jasontedor
Copy link
Member

We have a bootstrap check for the maximum size of the virtual memory address space for the Elasticsearch process. We can set this in the service file for Elasticsearch when installed as a service on systemd-based systems for a better user experience than them fumbling through thinking they should set this via /etc/security/limits.d (as a lot of pages on the Internet would tell them) not realizing that systemd completely ignores these for services and then trying to figure out how to add a unit file for the Elasticsearch service.

We have a bootstrap check for the maximum size of the virtual memory
address space for the Elasticsearch process. We can set this in the
service file for Elasticsearch when installed as a service on
systemd-based systems for a better user experience than them fumbling
through thinking they should set this via /etc/security/limits.d (as a
lot of pages on the Internet would tell them) not realizing that systemd
completely ignores these for services and then trying to figure out how
to add a unit file for the Elasticsearch service.
@jasontedor jasontedor added :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >enhancement review v5.6.0 v6.0.0 v6.1.0 v7.0.0 labels Jul 31, 2017
* master:
  Remove memlock suggestion from systemd service
  Also skip JAVA_TOOL_OPTIONS on Windows
  Remove useless checks from evil JNA tests
  Add max file size bootstrap check
  Exit Windows scripts promptly on failure
  Remove another reference to 64-bit systems.
  Remove reference to 32-bit systems. (elastic#25971)
  No more using 'hybrid mmapfs / niofs' (elastic#25944)
@jasontedor jasontedor merged commit 65a7525 into elastic:master Jul 31, 2017
jasontedor added a commit that referenced this pull request Jul 31, 2017
We have a bootstrap check for the maximum size of the virtual memory
address space for the Elasticsearch process. We can set this in the
service file for Elasticsearch when installed as a service on
systemd-based systems for a better user experience than them fumbling
through thinking they should set this via /etc/security/limits.d (as a
lot of pages on the Internet would tell them) not realizing that systemd
completely ignores these for services and then trying to figure out how
to add a unit file for the Elasticsearch service.

Relates #25975
jasontedor added a commit that referenced this pull request Jul 31, 2017
We have a bootstrap check for the maximum size of the virtual memory
address space for the Elasticsearch process. We can set this in the
service file for Elasticsearch when installed as a service on
systemd-based systems for a better user experience than them fumbling
through thinking they should set this via /etc/security/limits.d (as a
lot of pages on the Internet would tell them) not realizing that systemd
completely ignores these for services and then trying to figure out how
to add a unit file for the Elasticsearch service.

Relates #25975
jasontedor added a commit that referenced this pull request Jul 31, 2017
We have a bootstrap check for the maximum size of the virtual memory
address space for the Elasticsearch process. We can set this in the
service file for Elasticsearch when installed as a service on
systemd-based systems for a better user experience than them fumbling
through thinking they should set this via /etc/security/limits.d (as a
lot of pages on the Internet would tell them) not realizing that systemd
completely ignores these for services and then trying to figure out how
to add a unit file for the Elasticsearch service.

Relates #25975
@jasontedor
Copy link
Member Author

Thanks @nik9000.

@jasontedor jasontedor deleted the systemd-limit-as branch July 31, 2017 12:52
@lcawl lcawl removed the v6.1.0 label Dec 12, 2017
@jimczi jimczi added v7.0.0-beta1 and removed v7.0.0 labels Feb 7, 2019
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >enhancement Team:Delivery Meta label for Delivery team v5.6.0 v6.0.0-beta1 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants