Skip to content

$fluent->errors stocks all error logs unlimitedly. #16

@tokuhirom

Description

@tokuhirom

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions