Skip to content

DOCS-4927 - SUSE ulimit note #2206

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
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The default ``/etc/mongod.conf`` configuration file supplied by the
2.6 series packages has :setting:`~net.bind_ip`` set to
3.0 series packages has :setting:`~net.bind_ip`` set to
``127.0.0.1`` by default. Modify this setting as needed for your
environment before initializing a :term:`replica set`.
10 changes: 10 additions & 0 deletions source/includes/note-suse-ulimit.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. note::

SUSE Linux Enterprise Server 11 and potentially other versions of SLES
and other SUSE distributions ship with virtual memory address space limited
to 8GB by default. This *must* be adjusted in order to prevent virtual memory
allocation failures as the database grows.

The SLES packages for MongoDB adjust these limits in the default scripts,
but you will need to make this change manually if you are using custom
scripts and/or the tarball release rather than the SLES packages.
11 changes: 1 addition & 10 deletions source/reference/ulimit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,7 @@ change to system limits made using ``ulimit`` may revert following
system a system restart. Check your distribution and operating
system documentation for more information.

.. note::

SUSE Linux Enterprise Server 11, and potentially other versions of SLES
and other SUSE distributions, ship with virtual memory address space limited
to 8GB by default. This *must* be adjusted in order to prevent virtual memory
allocation failures as the database grows.

The SLES packages for MongoDB adjust these limits in the default scripts,
but you will need to make this change manually if you are using custom
scripts and/or the tarball release rather than the SLES packages.
.. include:: /includes/note-suse-ulimit.rst

.. _recommended-ulimit-settings:

Expand Down
5 changes: 5 additions & 0 deletions source/tutorial/install-mongodb-enterprise-on-suse.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ for several features related to security and monitoring.

.. include:: /includes/list-mongodb-enterprise-packages.rst

Considerations
--------------

.. include:: /includes/note-suse-ulimit.rst

Install MongoDB Enterprise
--------------------------

Expand Down
2 changes: 2 additions & 0 deletions source/tutorial/install-mongodb-on-suse.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ For production deployments, always run MongoDB on 64-bit systems.

.. include:: /includes/note-package-change.rst

.. include:: /includes/note-suse-ulimit.rst

Install MongoDB
---------------

Expand Down