Please provide a way to increase /dev/shm

Issue #13813 resolved
Simon Schick
created an issue

Please provide us with an opportunity to increase the storage at /dev/shm. The default of docker is 32mb, which is too small to run a headless version of chrome and testing the website I am programming currently.

Docker has a parameter --shm-size= that allows you to increase this value (see https://github.com/docker/docker/issues/2606)

Here's a more detailed analysis on this issue: https://github.com/elgalu/docker-selenium/issues/20#issuecomment-133011186

For the time being, I have to stick to only testing on a headless version of Firefox.

Comments (10)

  1. Simon Schick reporter

    If it's hard to have it configurable, please take it up to 512MB. Unless you keep doing crazy rich stuff, this should hold.

    This value isn't calculated, but it's a value I started using to run tests locally and it does it's job pretty well.

  2. Ronoaldo Pereira

    Is it possible to get the /dev/shm size configurable for running, say, database tests? I would like to set the /var/lib/mysql folder to reside in memory for fast setup/teardown testing in my pipelines. 512MB is somewhat low for some tests.

  3. Log in to comment