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

Tweak default memory usage for master in low memory setup #3742

Open
bmatican opened this issue Feb 26, 2020 · 0 comments
Open

Tweak default memory usage for master in low memory setup #3742

bmatican opened this issue Feb 26, 2020 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@bmatican
Copy link
Contributor

bmatican commented Feb 26, 2020

Jira Link: DB-2246
Currently, the master defaults to 10% of available memory. In k8s, we tend to just provide the hard limit, but for other envs where we do not (yugabyted?), we should consider at least having enough memory to be able to create a database in YSQL.

@bmatican bmatican added the area/docdb YugabyteDB core features label Feb 26, 2020
@bmatican bmatican added this to To Do in YBase features via automation Feb 26, 2020
@bmatican bmatican added this to To do in Low resource env via automation Feb 26, 2020
iSignal added a commit that referenced this issue Feb 26, 2020
Summary:
yb-master defaults to 10% of avail system mem. This makes operations like create database fail when run within docker. Docker containers have 2G RAM by default and 10% of 2G is too small to run create database.

Logs of a similar run at https://gist.github.com/iSignal/b80419978db81fe456d0ebff9bd36136

Test Plan: Copy yugabyted into a docker container, run create database within

Reviewers: wesley, bogdan

Reviewed By: bogdan

Differential Revision: https://phabricator.dev.yugabyte.com/D8055
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jun 9, 2022
@yugabyte-ci yugabyte-ci assigned lingamsandeep and unassigned iSignal Jul 27, 2022
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature and removed kind/bug This issue is a bug labels Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
YBase features
  
Backlog
Development

No branches or pull requests

4 participants