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: Possible EventEmitter memory leak detected #11

Open
FloRinke opened this issue Feb 28, 2021 · 0 comments
Open

Comments

@FloRinke
Copy link

After running for an hour (with the issue described in #10) , 116117bot prints this warning:

(node:21) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:21) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(node:21) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGTERM listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(node:21) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGHUP listeners added to [process]. Use emitter.setMaxListeners() to increase limit

Code is current master with this call (redacted for privacy reasons, reduced timeout for testing purposes):

sudo docker run -it --name 116117bot -e URLS="https://123-iz.impfterminservice.de/impftermine/service?plz=12345,https://678-iz.impfterminservice.de/impftermine/suche/XXXX-XXXX-XXXX/67890" -e PUSHOVER_TOKEN="redacted" -e PUSHOVER_USER="redacted" -e TIMEOUT_REGULAR=60 -e TIMEOUT_ERROR=60 116117bot
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