Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise ulimits to recommended values via setrlimit if possible #4121

Closed
iSignal opened this issue Mar 31, 2020 · 1 comment
Closed

Raise ulimits to recommended values via setrlimit if possible #4121

iSignal opened this issue Mar 31, 2020 · 1 comment
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!

Comments

@iSignal
Copy link
Contributor

iSignal commented Mar 31, 2020

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:

sanketh@matsya:~$ ulimit -n -H
1048576
sanketh@matsya:~$ ulimit -n
1024
sanketh@matsya:~$ cat /etc/issue
Ubuntu 18.04.4 LTS \n \l

So a setrlimit up to 1048576 will be succesful.

@iSignal iSignal added help wanted We welcome your contributions for this issue! good first issue This is a good issue to start contributing! area/docdb YugabyteDB core features labels Mar 31, 2020
@iSignal iSignal changed the title Raise ulimits to recommended values if possible Raise ulimits to recommended values via setrlimit if possible Mar 31, 2020
@bmatican
Copy link
Contributor

bmatican commented Jul 6, 2020

Duplicate of #4943

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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!
Projects
None yet
Development

No branches or pull requests

2 participants