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

MaxListenersExceededWarning after network reboots #37

Open
Eikkargh opened this issue Apr 22, 2023 · 0 comments
Open

MaxListenersExceededWarning after network reboots #37

Eikkargh opened this issue Apr 22, 2023 · 0 comments

Comments

@Eikkargh
Copy link

I am running a modifier version with statusKeys modified for a dehumidifier. It is running as a service on the same machine as the MQTT Broker. I currently have a forced reboot on my router once a week. When this happens the node gets stuck and give the following errors:

Apr 22 04:01:09 raspberrypi node[20234]: (node:20234) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit
Apr 22 04:01:09 raspberrypi node[20234]: (Use `node --trace-warnings ...` to show where the warning was created)

I have not been able to catch any warnings with --trace-warnings but will keep an eye out.
For now I have upped the maxListeners to 15.

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

1 participant