diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-28 21:15:23 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-28 21:15:23 +0300 |
commit | 825c202603a52193cb28248679546a88215be2e1 (patch) | |
tree | 612907e8b0e642607fe9c6b86ccfa2e583cb5a75 /doc/install/docker.md | |
parent | 80b874eff2547899354c243465f4966a02b11057 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/install/docker.md')
-rw-r--r-- | doc/install/docker.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/install/docker.md b/doc/install/docker.md index 4496e7a34d3..ed5e1dda5d5 100644 --- a/doc/install/docker.md +++ b/doc/install/docker.md @@ -657,3 +657,15 @@ purpose. ### Docker containers exhausts space due to the `json-file` Docker's [default logging driver is `json-file`](https://docs.docker.com/config/containers/logging/configure/#configure-the-default-logging-driver), which performs no log rotation by default. As a result of this lack of rotation, log files stored by the `json-file` driver can consume a significant amount of disk space for containers that generate a lot of output. This can lead to disk space exhaustion. To address this, use [`journald`](https://docs.docker.com/config/containers/logging/journald/) as the logging driver when available, or [another supported driver](https://docs.docker.com/config/containers/logging/configure/#supported-logging-drivers) with native rotation support. + +### Buffer overflow error when starting Docker + +If you receive this buffer overflow error, you should purge old log files in +`/var/log/gitlab`: + +```plaintext +buffer overflow detected : terminated +xargs: tail: terminated by signal 6 +``` + +Removing old log files helps fix the error, and ensures a clean startup of the instance. |