Skip to content

MaxListenersExceededWarning: Possible EventEmitter memory leak detected #20

@lyykfi

Description

@lyykfi

Hi folks,

First of all, I want to say thank you for the project and I want to ask about an advice.

Time to time I face the error 'MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [FluentSocket]. Use emitter.setMaxListeners() to increase limit' and my config is quite straightforward.

this.logger = new FluentClient('ld', { socket: { host: url.hostname, port: parseInt(url.port, 10), }, })

Could you advice what could be a problem?

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