Raise ulimits to recommended values via setrlimit if possible #4121
Labels
area/docdb
YugabyteDB core features
good first issue
This is a good issue to start contributing!
help wanted
We welcome your contributions for this issue!
A common blocker to running yugabyte is low ulimit values (especially developers trying it out on MacOS). The OS has both soft and hard ulimits. Soft ulimits can be raised by the user until the hard limit. We should attempt to raise the ulimit available to master/tserver by manually calling setrlimit with the recommended values specified in https://docs.yugabyte.com/latest/quick-start/install/macos/#prerequisites
For example, on my home ubuntu machine, the values for the open file ulimit are:
So a setrlimit up to 1048576 will be succesful.
The text was updated successfully, but these errors were encountered: