diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-26 09:10:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-26 09:10:47 +0300 |
commit | b692f9afa047ef24c54ab185b499628d9873122a (patch) | |
tree | 8860b5c66c42791ddff2e231c4338f41b243e71f /doc/install/docker.md | |
parent | baaa5c45c022d394bf1478d462a3b1aea413b7ed (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/install/docker.md')
-rw-r--r-- | doc/install/docker.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/install/docker.md b/doc/install/docker.md index 7be97a1f2e6..b4faaa684db 100644 --- a/doc/install/docker.md +++ b/doc/install/docker.md @@ -621,7 +621,7 @@ variety of statistics on the health and performance of GitLab. The files required for this gets written to a temporary file system (like `/run` or `/dev/shm`). -By default, Docker allocates 64Mb to the shared memory directory (mounted at +By default, Docker allocates 64MB to the shared memory directory (mounted at `/dev/shm`). This is insufficient to hold all the Prometheus metrics related files generated, and will generate error logs like the following: @@ -636,7 +636,7 @@ writing value to /dev/shm/gitlab/sidekiq/histogram_sidekiq_0-0.db failed with un ``` Other than disabling the Prometheus Metrics from the Admin page, the recommended -solution to fix this problem is to increase the size of shm to at least 256Mb. +solution to fix this problem is to increase the size of shared memory to at least 256MB. If using `docker run`, this can be done by passing the flag `--shm-size 256m`. If using a `docker-compose.yml` file, the `shm_size` key can be used for this purpose. |