[DOCS-1717] describe how to adjust ulimits on OS X systems Created: 17/Jul/13  Updated: 30/Oct/23  Resolved: 23/Jul/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Minor - P4
Reporter: Duraid Madina Assignee: Duraid Madina
Resolution: Done Votes: 0
Labels: limits, ulimit
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 10 years, 30 weeks, 1 day ago

 Description   

Hi docs team,

We have a handy page explaining how to increase ulimits at http://docs.mongodb.org/manual/reference/ulimit/ on Linux but we don't have any corresponding documentation on how to do this on OS X systems.

There are a few things to think about here:

  • On the one hand, OSX systems don't currently run MongoDB as well as Linux machines, so we don't (yet) want to encourage people to run MongoDB on OSX in production. However,
  • Lots of people inside and outside of 10gen use OSX for interactive development work (e.g. on their apple laptops), and
  • OS X's default ulimit -n setting of 256 is very low, customers sometimes trip over this limit.

On top of all that, OS X has a rather unusual way of changing ulimits, in contrast to Linux which works in a somewhat more standard manner.

Would it make sense, then, to add some 'OS X tuning' documentation? If so, let me know, I'm happy to take a shot at writing it.



 Comments   
Comment by auto [ 23/Jul/13 ]

Author:

{u'name': u'Duraid Madina', u'email': u'duraid@10gen.com'}

Message: DOCS-1717 : minor update to note that OSX has ulimit issues too, mention 'launchctl limit'

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/980fba38d1e91a27bc557628003139bc7dfd0926

Comment by auto [ 23/Jul/13 ]

Author:

{u'name': u'Duraid Madina', u'email': u'duraid@10gen.com'}

Message: DOCS-1717 : minor update to note that OSX has ulimit issues too, mention 'launchctl limit'

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: v2.2
https://github.com/mongodb/docs/commit/df623a49dac25a556afe5fdf609ae8b1189971e7

Generated at Thu Feb 08 07:41:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.