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

Auto-set shm size based on host available ram #341

Open
nicolas-guerrier opened this issue Mar 17, 2021 · 2 comments · May be fixed by #342
Open

Auto-set shm size based on host available ram #341

nicolas-guerrier opened this issue Mar 17, 2021 · 2 comments · May be fixed by #342

Comments

@nicolas-guerrier
Copy link
Contributor

By default, /dev/shm size is 64M, which could lead in trouble when trying to import large DB.

Better have a larger default, based on available ram on host machine (1/4, for example).

@nicolas-guerrier nicolas-guerrier linked a pull request Mar 17, 2021 that will close this issue
@andypost
Copy link
Contributor

Container's shm is separate from host, moreover it missing on MacOS that's why I'm using host's shm dir mounted as volume (which isn't working on MacOS too)

@andypost
Copy link
Contributor

Filed duplicate) #451

Still needs to test on MacOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants