Where to increase emitter.setMaxListeners() ?
I am accessing SK from multiple devices, browsers and browser tabs.
Where can I increase this setting?
Log shows:
Nov 05 08:29:50 (node:441992) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 delta listeners added to [FullSignalK]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (Use
node --trace-warnings ... to show where the warning was created)4 Replies
Usually, that means something is wrong
Like you have clients connecting multiple times and holding connections.
It can also happen at startup
Thanks Scott, that is a explntion. Havens if I restart the server with multiple Clients accessing it. Will keep monitoring it.
i think we should increase that anyway - if @Dirk SV MOIN you want to create an issue, lest we forget
Thanks Teppo.I created a case here: https://github.com/SignalK/signalk-server/issues/2137