Skip to content

Commit 975a15d

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCS-14806 Added suggested edit for location of service script referenced
1 parent 198cd8e commit 975a15d

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
@@ -242,11 +242,12 @@ form:
242242
Linux distributions using ``systemd``
243243
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244244

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

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

0 commit comments

Comments
 (0)