Skip to content

DOCS-1616, DOCS-1655: clarifying hard/soft ulimit, adding note of nproc ... #1240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
13 changes: 13 additions & 0 deletions source/reference/ulimit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ basis. These limits prevent single users from using too many system
resources. Sometimes, these limits have low default values that can
cause a number of issues in the course of normal MongoDB operation.

.. note::

RHEL and CentOS 6 place a max process limitation of 1024 which
overrides ``ulimit`` settings. Edit the ``soft nproc`` and
``hard nproc`` values in
the ``/etc/security/limits.d/90-nproc.conf`` file to increase
the process limit.

.. _system-resource-utilization:

Resource Utilization
Expand Down Expand Up @@ -78,6 +86,11 @@ Review and Set Resource Limits
``ulimit``
~~~~~~~~~~

.. note::

Ensure that you set both the "hard" and the "soft" ``ulimit`` values
to the recommended value.

You can use the ``ulimit`` command at the system prompt to check
system limits, as in the following example:

Expand Down