Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6ded1dd1
Commit
6ded1dd1
authored
Aug 25, 2021
by
Jonston Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix units on Docker shared memory documentation
parent
14bd84e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/install/docker.md
doc/install/docker.md
+2
-2
No files found.
doc/install/docker.md
View file @
6ded1dd1
...
...
@@ -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 64M
b
to the shared memory directory (mounted at
By default, Docker allocates 64M
B
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 sh
m to at least 256Mb
.
solution to fix this problem is to increase the size of sh
ared 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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment