Skip to content
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 @@ -239,11 +239,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