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 #54

Open
xiongkang2000 opened this issue Aug 26, 2020 · 11 comments
Labels

Comments

@xiongkang2000
Copy link

(node:29078) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit

@Jalle19
Copy link
Owner

Jalle19 commented Aug 26, 2020

What did you do to make this happen?

@xiongkang2000
Copy link
Author

when source url expired,this problem happened!

@DanielQuirogaDev
Copy link

I am having exactly the same problem for the first time since using this project:

(node:11900) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit
2020-09-02T21:30:28.442Z - error: avconv exited with code 1
2020-09-02T21:30:28.719Z - error: avconv exited with code 1
(node:11900) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit
2020-09-02T21:30:28.976Z - error: avconv exited with code 1
2020-09-02T21:30:29.226Z - error: avconv exited with code 1
(node:11900) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
(node:11900) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added. Use emitter.setMaxListeners() to increase limit
(node:11900) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:11900) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit
2020-09-02T21:30:29.525Z - error: avconv exited with code 1
2020-09-02T21:30:29.800Z - error: avconv exited with code 1
(node:11900) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
(node:11900) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added. Use emitter.setMaxListeners() to increase limit
(node:11900) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:11900) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit
2020-09-02T21:30:30.078Z - error: avconv exited with code 1
2020-09-02T21:30:30.329Z - error: avconv exited with code 1

Signal starts jumping...

@Jalle19
Copy link
Owner

Jalle19 commented Sep 3, 2020

#46 someone else reported it too

@Jalle19
Copy link
Owner

Jalle19 commented Sep 3, 2020

How many sources do you have? Does the error go away if you reduce the amount of sources configured?

@Jalle19 Jalle19 changed the title i have encountered a problem MaxListenersExceededWarning: Possible EventEmitter memory leak detected Sep 3, 2020
@Jalle19 Jalle19 added the bug label Sep 3, 2020
@DanielQuirogaDev
Copy link

I am testing just that, 2 sources, everything is okay. Seems to be more of a problem with HLS sources?? More info in a while. Will add 20 sources.

@DanielQuirogaDev
Copy link

got 29 channels running and it is working with no issue, with TS Inputs.

@DanielQuirogaDev
Copy link

after 1 hour, i am getting again:

(node:110284) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
(node:110284) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added. Use emitter.setMaxListeners() to increase limit
(node:110284) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:110284) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit

@DanielQuirogaDev
Copy link

OK, i found that some of my sources were giving 404 and that was causing the jumps.

@DanielQuirogaDev
Copy link

To debug enable -v on the proxy and see what error msg is ffmpeg yelling.

@Jalle19
Copy link
Owner

Jalle19 commented Nov 15, 2020

Is this still an issue?

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

No branches or pull requests

3 participants