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

Possible EventTarget memory leak detected #3668

Open
alien2108 opened this issue Jan 2, 2025 · 1 comment
Open

Possible EventTarget memory leak detected #3668

alien2108 opened this issue Jan 2, 2025 · 1 comment

Comments

@alien2108
Copy link

Issue description

I always get 4 x Possible EventTarget memory leak detected when otnode starts

Expected behavior

Actual behavior

Steps to reproduce the problem

Specifications

  • Node version: 8.0.0 hotfix 4
  • Platform: Linux
  • Node wallet:
  • Node libp2p identity:

Contact details

  • Email:

Error logs

(node:102616) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit
(Use node --trace-warnings ... to show where the warning was created)
(node:102616) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit
(node:102616) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit

Disclaimer

Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to [email protected].

@alien2108
Copy link
Author

Logs with additional trace:

(node:1785) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit
at AbortSignal.[kNewListener] (node:internal/event_target:519:17)
at AbortSignal.[kNewListener] (node:internal/abort_controller:180:24)
at AbortSignal.addEventListener (node:internal/event_target:628:23)
at anySignal (/root/ot-node/8.0.0+hotfix.4/node_modules/any-signal/index.js:27:12)
at /root/ot-node/8.0.0+hotfix.4/node_modules/libp2p/src/dialer/dial-request.js:71:85
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /root/ot-node/8.0.0+hotfix.4/node_modules/p-some/index.js:53:19
(node:1785) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit
at AbortSignal.[kNewListener] (node:internal/event_target:519:17)
at AbortSignal.[kNewListener] (node:internal/abort_controller:180:24)
at AbortSignal.addEventListener (node:internal/event_target:628:23)
at anySignal (/root/ot-node/8.0.0+hotfix.4/node_modules/any-signal/index.js:27:12)
at /root/ot-node/8.0.0+hotfix.4/node_modules/libp2p/src/dialer/dial-request.js:71:85
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /root/ot-node/8.0.0+hotfix.4/node_modules/p-some/index.js:53:19
(node:1785) MaxListenersExceededWarning: Possible EventTarget memory leak detected. 11 abort listeners added to [AbortSignal]. Use events.setMaxListeners() to increase limit
at AbortSignal.[kNewListener] (node:internal/event_target:519:17)
at AbortSignal.[kNewListener] (node:internal/abort_controller:180:24)
at AbortSignal.addEventListener (node:internal/event_target:628:23)
at anySignal (/root/ot-node/8.0.0+hotfix.4/node_modules/any-signal/index.js:27:12)
at /root/ot-node/8.0.0+hotfix.4/node_modules/libp2p/src/dialer/dial-request.js:71:85
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async /root/ot-node/8.0.0+hotfix.4/node_modules/p-some/index.js:53:19

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