Details
-
Bug
-
Resolution: Done
-
Major - P3
-
2.1.2
-
None
-
None
-
Darwin Rnz4c.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 i386
-
ALL
Description
This warning looks like an error. Why do you need the max processes so high?
I cannot set the maxproc on OS X above 1024.
sudo launchctl limit maxproc 1024
|
If, I increase, it asserts:
ulimit -u 1025
|
ulimit: max user processes: cannot modify limit: Operation not permitted
|
But this works:
ulimit -u 1024
|
The startup warning is:
"startupWarnings": {
|
"log": [
|
"Wed Jun 27 19:02:40 [initandlisten] ",
|
"Wed Jun 27 19:02:40 [initandlisten] ** NOTE: This is a development version (2.1.2) of MongoDB.",
|
"Wed Jun 27 19:02:40 [initandlisten] ** Not recommended for production.",
|
"Wed Jun 27 19:02:40 [initandlisten] ",
|
"Wed Jun 27 19:02:40 [initandlisten] ** WARNING: soft rlimits too low. rlimits set to 1024 processes, 20000 files. Number of processes should be at least 0.5 times number of files.",
|
"Wed Jun 27 19:02:40 [initandlisten] "
|
],
|
"ok": 1
|
},
|
I added this in /etc/sysctl.conf and rebooted but nada:
kern.maxprocs=2048
|