|
Although we do not recommend running multiple active mongod/mongos instances within a single OS, a lot of people are still doing it.
On of the caveats is that this way you can run into OS resource limitations, that will affect mongod's in all the unpredictable ways.
We already documented ulimits, and we need to document kernel limits as well, and I suggest to mention it in Production Notes:
- /proc/sys/kernel/pid_max # the value at which PIDs wrap around
- /proc/sys/kernel/thread_max # limit on the total number of processes on the system
- /proc/sys/fs/file-max # Maximum number of open files
- /proc/sys/fs/file-nr # Will show the number of allocated, unused and max file descriptors. Helpful to estimate the risk of running into file-max limit.
|