Open xiongkang2000 opened 4 years ago
What did you do to make this happen?
when source url expired,this problem happened!
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...
https://github.com/Jalle19/node-ffmpeg-mpegts-proxy/issues/46 someone else reported it too
How many sources do you have? Does the error go away if you reduce the amount of sources configured?
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.
got 29 channels running and it is working with no issue, with TS Inputs.
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
OK, i found that some of my sources were giving 404 and that was causing the jumps.
To debug enable -v on the proxy and see what error msg is ffmpeg yelling.
Is this still an issue?
(node:29078) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit