fluent / fluent/fluent-logger-perl

$fluent->errors stocks all error logs unlimitedly.

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
45
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.