File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -257,11 +257,12 @@ form:
257
257
Linux distributions using ``systemd``
258
258
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
259
259
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
265
266
<http://www.freedesktop.org/software/systemd/man/systemd.exec.html#LimitCPU=>`_.
266
267
267
268
Specify the :ref:`recommended-ulimit-settings`, as in the following
You can’t perform that action at this time.
0 commit comments