This repository was archived by the owner on Dec 31, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
This repository was archived by the owner on Dec 31, 2025. It is now read-only.
keepalived logs can grow large if it is misconfigured #95
Copy link
Copy link
Open
Description
I noticed that a misconfigured keepalived is logging until no more space is available on the container fs (in practice, it uses all the space of the filesystem where /var/lib/docker is mounted). It's writing to stdout (and filling up the container log) with errors and notices about respawns:
{"log":"Tue Feb 12 02:08:58 2019: VRRP child process(27323) died: Respawning\n","stream":"stderr","time":"2019-02-12T02:08:58.507727722Z"}
{"log":"Tue Feb 12 02:08:58 2019: Starting VRRP child process, pid=27324\n","stream":"stderr","time":"2019-02-12T02:08:58.507889995Z"}
{"log":"Tue Feb 12 02:08:58 2019: Registering Kernel netlink reflector\n","stream":"stderr","time":"2019-02-12T02:08:58.50836953Z"}
{"log":"Tue Feb 12 02:08:58 2019: Registering Kernel netlink command channel\n","stream":"stderr","time":"2019-02-12T02:08:58.508467493Z"}
{"log":"Tue Feb 12 02:08:58 2019: Opening file '/usr/local/etc/keepalived/keepalived.conf'.\n","stream":"stderr","time":"2019-02-12T02:08:58.508782581Z"}
{"log":"Tue Feb 12 02:08:58 2019: VRRP Error : VRID not valid - must be between 1 \u0026 255. reconfigure !\n","stream":"stderr","time":"2019-02-12T02:08:58.508997527Z"}
{"log":"Tue Feb 12 02:08:58 2019: (K8S_APISERVER) the virtual id must be set!\n","stream":"stderr","time":"2019-02-12T02:08:58.509263199Z"}
{"log":"Tue Feb 12 02:08:58 2019: Stopped\n","stream":"stderr","time":"2019-02-12T02:08:58.509449493Z"}
{"log":"Tue Feb 12 02:08:58 2019: VRRP child process(27324) died: Respawning\n","stream":"stderr","time":"2019-02-12T02:08:58.509817979Z"}
{"log":"Tue Feb 12 02:08:58 2019: Starting VRRP child process, pid=27325\n","stream":"stderr","time":"2019-02-12T02:08:58.51000556Z"}
{"log":"Tue Feb 12 02:08:58 2019: Registering Kernel netlink reflector\n","stream":"stderr","time":"2019-02-12T02:08:58.510426028Z"}
{"log":"Tue Feb 12 02:08:58 2019: Registering Kernel netlink command channel\n","stream":"stderr","time":"2019-02-12T02:08:58.510471466Z"}
{"log":"Tue Feb 12 02:08:58 2019: Opening file '/usr/local/etc/keepalived/keepalived.conf'.\n","stream":"stderr","time":"2019-02-12T02:08:58.510829298Z"}
{"log":"Tue Feb 12 02:08:58 2019: VRRP Error : VRID not valid - must be between 1 \u0026 255. reconfigure !\n","stream":"stderr","time":"2019-02-12T02:08:58.511047768Z"}
{"log":"Tue Feb 12 02:08:58 2019: (K8S_APISERVER) the virtual id must be set!\n","stream":"stderr","time":"2019-02-12T02:08:58.511347128Z"}
{"log":"Tue Feb 12 02:08:58 2019: Stopped\n","stream":"stderr","time":"2019-02-12T02:08:58.511520328Z"}
{"log":"Tue Feb 12 02:08:58 2019: VRRP child process(27325) died: Respawning\n","stream":"stderr","time":"2019-02-12T02:08:58.511923243Z"}
{"log":"Tue Feb 12 02:08:58 2019: Starting VRRP child process, pid=27326\n","stream":"stderr","time":"2019-02-12T02:08:58.512068188Z"}
{"log":"Tue Feb 12 02:08:58 2019: Registering Kernel netlink reflector\n","stream":"stderr","time":"2019-02-12T02:08:58.512522743Z"}
{"log":"Tue Feb 12 02:08:58 2019: Registering Kernel netlink command channel\n","stream":"stderr","time":"2019-02-12T02:08:58.512532529Z"}
{"log":"Tue Feb 12 02:08:58 2019: Opening file '/usr/local/etc/keepalived/keepalived.conf'.\n","stream":"stderr","time":"2019-02-12T02:08:58.512977492Z"}
{"log":"Tue Feb 12 02:08:58 2019: VRRP Error : VRID not valid - must be between 1 \u0026 255. reconfigure !\n","stream":"stderr","time":"2019-02-12T02:08:58.513232842Z"}
{"log":"Tue Feb 12 02:08:58 2019: (K8S_APISERVER) the virtual id must be set!\n","stream":"stderr","time":"2019-02-12T02:08:58.513494368Z"}
{"log":"Tue Feb 12 02:08:58 2019: Stopped\n","stream":"stderr","time":"2019-02-12T02:08:58.513633094Z"}
Metadata
Metadata
Assignees
Labels
No labels