fluentd: Pegging 2 cores on postgres primary
I noticed fluentd pegs 2 cores on the postgres primary (today, 2020-02-19 since a few hours). There are two processes with about 100% cpu usage constantly. One of them seems to have run at 100% since its start (roughly):
# ps -o stime,time 22971 22977
STIME TIME
Feb14 00:02:13
Feb14 5-03:59:04
The two processes in question are:
root 22971 0.0 0.0 186584 50424 ? Sl Feb14 2:13 /opt/td-agent/embedded/bin/ruby /opt/td-agent/embedded/bin/fluentd --log /var/log/td-agent/td-agent.log --daemon /var/run/td-agent/td-agent.pid
root 22977 97.4 0.0 2196256 181048 ? Sl Feb14 7438:14 /opt/td-agent/embedded/bin/ruby -Eascii-8bit:ascii-8bit /opt/td-agent/embedded/bin/fluentd --log /var/log/td-agent/td-agent.log --daemon /var/run/td-agent/td-agent.pid --under-supervisor
I only observed this behavior on the current primary (patroni-06). I do not now if that is considered normal behavior at the moment or if the issue is known already.