Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCS-14806 Added suggested edit for location of service script #5857

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions source/reference/ulimit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,12 @@ form:
Linux distributions using ``systemd``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For Linux distributions that use ``systemd``, you can specify
limits within the ``[Service]`` sections of service scripts if you
start :binary:`~bin.mongod` and/or
:binary:`~bin.mongos` instances as ``systemd`` services. You can do this
by using `resource limit directives
If you start a :binary:`~bin.mongod` and/or :binary:`~bin.mongos`
instance as a ``systemd`` service, you can specify limits within the
``[Service]`` section of its service file. The service file has a
location like ``/etc/systemd/system/<process-name>.service``.

You can set limits by using `resource limit directives
<http://www.freedesktop.org/software/systemd/man/systemd.exec.html#LimitCPU=>`_.

Specify the :ref:`recommended-ulimit-settings`, as in the following
Expand Down