Skip to content

Commit d25da7d

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-14806 Added suggested edit for location of service script referenced
1 parent 821a048 commit d25da7d

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
@@ -257,11 +257,12 @@ form:
257257
Linux distributions using ``systemd``
258258
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259259

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

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

0 commit comments

Comments
 (0)