Skip to content

Increase docker shm size

Jay McCure requested to merge jmc-shm-size-inc into master

What does this MR do and why?

Runs gitlab with a shm_size of 256mb as recommended in https://docs.gitlab.com/ee/install/docker_troubleshooting.html#devshm-mount-not-having-enough-space-in-docker-container

package-and-test jobs are failing due to Can't reserve 4194304 bytes for memory-mapped file in /dev/shm/gitlab/puma/counter_puma_6-0.db: ENOSPC: No space left on device errors

gitlab-org/quality/engineering-productivity/master-broken-incidents#7229 (comment 1989062759)

https://gitlab.slack.com/archives/C02PF508L/p1720490205354959

How to set up and validate locally

Test pipeline in the gitlab project with this branch here: https://gitlab.com/gitlab-org/gitlab/-/pipelines/1365751233

Gemfile change is: gitlab!158723 (diffs)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jay McCure

Merge request reports

Loading