Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
None
Description
Ulimit documentation does not cover how to set limits in the /etc/security/limits.conf file.
We need to cover this as RHEL and its fork's all use this file to manipulate limits rather than the ulimit command.
mongod hard nofile 64000
|
mongod soft nofile 64000
|
Additionally, you also need to set the following in /etc/pam.d/login
session required pam_limits.so
|
session required pam_unix.so
|