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

Configure shared memory size explicitly in kubernetes #31

Open
englehardt opened this issue Aug 27, 2019 · 0 comments
Open

Configure shared memory size explicitly in kubernetes #31

englehardt opened this issue Aug 27, 2019 · 0 comments

Comments

@englehardt
Copy link
Contributor

From #28:

As explored in openwpm/OpenWPM#255, newer versions of Firefox will often crash due to insufficient shared memory. This issue wasn't present in the Firefox 52 branch because we used to set browser.tabs.remote.autostart to False, which disables SHM usage by disabling e10s.

When running a Docker container, the shared memory size can be increased by adding the argument --shm-size=2g. Unfortunately kubernetes doesn't yet support setting the shared memory size (see: kubernetes/kubernetes#28272), nor does it support passing arguments to docker. The current fix is a workaround copied from kubernetes/kubernetes#28272 (comment).

We should migrate from mounting an in-memory folder in the shared memory location to actually bumping the real shared memory size once kubernetes supports it. I'm opening this issue as a reminder.

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

No branches or pull requests

1 participant