Skip to content

Commit d829ffa

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-14806 Added suggested edit for location of service script referenced
1 parent 4ca22d6 commit d829ffa

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source/reference/ulimit.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,12 @@ form:
239239
Linux distributions using ``systemd``
240240
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
241241

242-
For Linux distributions that use ``systemd``, you can specify
243-
limits within the ``[Service]`` sections of service scripts if you
244-
start :binary:`~bin.mongod` and/or
245-
:binary:`~bin.mongos` instances as ``systemd`` services. You can do this
246-
by using `resource limit directives
242+
If you start a :binary:`~bin.mongod` and/or :binary:`~bin.mongos`
243+
instance as a ``systemd`` service, you can specify limits within the
244+
``[Service]`` section of its service file. The service file has a
245+
location like ``/etc/systemd/system/<process-name>.service``.
246+
247+
You can set limits by using `resource limit directives
247248
<http://www.freedesktop.org/software/systemd/man/systemd.exec.html#LimitCPU=>`_.
248249

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

0 commit comments

Comments
 (0)