Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got message "(node:1) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 abort listeners added to [EventEmitter]" when deploy in k9s and scale up to more than one repica #227

Open
Sirichakorn opened this issue Nov 28, 2022 · 1 comment

Comments

@Sirichakorn
Copy link

Sirichakorn commented Nov 28, 2022

Got message "(node:1) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 abort listeners added to [EventEmitter]" and then log don't send to elasticsearch.

winston-elasticsearch version 0.17.1
my config

const esTransportOpts = {
      level: ('info'),
      indexPrefix: 'app',
      clientOpts: {
        node: 'https://localhost:9200',
        auth: {
          username: 'xxx',
          password: 'xxx'
        },
        caFingerprint: 'xx:xx:xx',
        tls
          rejectUnauthorized: false
        }
      }
    };
    const esTransport = new ElasticsearchTransport(esTransportOpts);

Has anyone encountered it and how did you fix it?

@PotcFdk
Copy link

PotcFdk commented Jul 26, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants