Skip to content

Commit

Permalink
DAOS-8928 doc: fix mem lock link in pre-deployment checklist (daos-st…
Browse files Browse the repository at this point in the history
…ack#7266)


Signed-off-by: Tom Nabarro <[email protected]>
  • Loading branch information
tanabarr authored Nov 8, 2021
1 parent c145781 commit c94d4ea
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/admin/predeployment_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,14 @@ The memlock limit only needs to be manually adjusted when `daos_server` is not
running as a systemd service. Default ulimit settings vary between OSes.

For RPM installations, the service will typically be launched by systemd and
the limit is pre-set to unlimited in the `daos_server.service` unit file:
https://github.com/daos-stack/daos/blob/master/utils/systemd/daos_server.service#L16.
the limit is pre-set to unlimited in the `daos_server.service`
[unit file](https://github.com/daos-stack/daos/blob/master/utils/systemd/daos_server.service)

Note that values set in `/etc/security/limits.conf` are ignored by services
launched by systemd.

For non-RPM installations where `daos_server` is launched directly from the
commandline, limits should be adjusted in `/etc/security/limits.conf` as per
https://software.intel.com/content/www/us/en/develop/blogs/best-known-methods-for-setting-locked-memory-size.html.
commandline (including source builds), limits should be adjusted in
`/etc/security/limits.conf` as per
[this article](https://access.redhat.com/solutions/61334) (which is a RHEL
specific document but the instructions apply to most Linux distributions).

0 comments on commit c94d4ea

Please sign in to comment.