commit 241ea2871b15965bd694895f796660f7f1fddbf3
Author: Tee Ngo <email address hidden>
Date: Thu Mar 19 13:54:15 2020 -0400
Set time limit for filebeat open filehandlers
In a large system, filebeat can harvest a large number of files
and with the default file closing policies, many deleted files are
not freed. Over time, this leads to /var/log partition running out
of space, services not being able to flush their logs to disk and
logmgmt process continously rotating logs.
This commit sets a default time limit for each open file harvester.
This value can be adjusted as needed via user overrides.
Closes-Bug: 1865924
Change-Id: I9dbf9cb2128157834b937357dcc6c4945dc5d2f3
Signed-off-by: Tee Ngo <email address hidden>
Reviewed: https:/ /review. opendev. org/713957 /git.openstack. org/cgit/ starlingx/ config/ commit/ ?id=241ea2871b1 5965bd694895f79 6660f7f1fddbf3
Committed: https:/
Submitter: Zuul
Branch: master
commit 241ea2871b15965 bd694895f796660 f7f1fddbf3
Author: Tee Ngo <email address hidden>
Date: Thu Mar 19 13:54:15 2020 -0400
Set time limit for filebeat open filehandlers
In a large system, filebeat can harvest a large number of files
and with the default file closing policies, many deleted files are
not freed. Over time, this leads to /var/log partition running out
of space, services not being able to flush their logs to disk and
logmgmt process continously rotating logs.
This commit sets a default time limit for each open file harvester.
This value can be adjusted as needed via user overrides.
Closes-Bug: 1865924 834b937357dcc6c 4945dc5d2f3
Change-Id: I9dbf9cb2128157
Signed-off-by: Tee Ngo <email address hidden>