-
Notifications
You must be signed in to change notification settings - Fork 447
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
Possible EventTarget memory leak detected. #1944
Labels
kind/bug
A bug in existing code (including security flaws)
Comments
maschad
added a commit
to maschad/js-libp2p
that referenced
this issue
Aug 29, 2023
maschad
added a commit
to maschad/js-libp2p
that referenced
this issue
Aug 30, 2023
maschad
added a commit
to maschad/js-libp2p
that referenced
this issue
Sep 7, 2023
maschad
added
kind/bug
A bug in existing code (including security flaws)
and removed
need/triage
Needs initial labeling and prioritization
labels
Sep 12, 2023
achingbrain
added a commit
that referenced
this issue
Oct 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version:
"libp2p": "^0.45.9"
Platform:
Linux nf 6.2.0-26-generic Update libp2p-swarm to version 0.23.0 🚀 #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Subsystem:
Dialer
Severity:
Medium
Description:
I have a setup with multiple nodes connected to relay. Usually on start works with no problems after 1 day or so of runtime. We usually experience this warning an all of the nodes and we see a spike of 100% cpu constant usage after that, which slows down dramatically other running processes. (I'm not sure those are related, but everything seems to happen after that warning log).
Also, we experienced that nodes lose pubsub messages after that as well.
It's the Dialer Relay that logs that warning.
Error:
(node:2880541) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 relay:removed listeners added to ReservationStore. Use ev ents.setMaxListeners() to increase limit
Steps to reproduce the error:
Relay Setup:
Dialer Setup:
The text was updated successfully, but these errors were encountered: