File: docker_specifics.rst

package info (click to toggle)
rsyslog-doc 8.2302.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,464 kB
  • sloc: python: 178; makefile: 8
file content (23 lines) | stat: -rw-r--r-- 805 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
docker specifics
----------------

This page talks about docker, as this is the platform the rsyslog
team has hands-on experience with. Some or all of the information
might also apply to other solutions.

Potential Trouble causes:

- container terminate timeout

  By default, a docker container has 10 seconds to shut down. If rsyslog
  is running with a large queue that needs to be persisted to disk,
  that amount of time might be insufficient. This can lead to a hard
  kill of rsyslog and potentially cause queue corruption.

- shared work directories

  Shared work directories call for problems and shall be avoided. If
  multiple instances use the same work directory, the may even overwrite
  some files, resulting in a total mess. Each container instance should
  have its own work directory.