fluent-logger-perl icon indicating copy to clipboard operation
fluent-logger-perl copied to clipboard

$fluent->errors stocks all error logs unlimitedly.

Open tokuhirom opened this issue 8 years ago • 1 comments

Current implementation stores error logs in $fluent->errors unlimitedly. It would cause OOM killer if a "td-agent" process were gone(by segmentation fault, oom killer, etc.) I know, fluent-logger-perl users should clear $fluent->errors buffer after sending a message. But, this issue is easily happen in a long running process, and hard to detect.

I suggest to add the hard limit to $fluent->errors.

tokuhirom avatar Dec 20 '16 21:12 tokuhirom

connect_error_history has same issue.

tokuhirom avatar Dec 20 '16 22:12 tokuhirom