I'm using Node-Red v3.1.3 as a docker container and just recently had to restart the container and by chance got the following entry in the logfiles:
6 Jan 14:46:39 - [info] Started flows
(node:7) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 changed listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
I don't know what "node --trace-warning" means and so far everything within Node-Red (running 12 nodes) works as expected.
what I see on top
on the host:
Tasks: 401 total, 1 running, 400 sleeping, 0 stopped, 0 zombie
%CPU(s): 2,9 us, 1,9 sy, 0,0 ni, 94,6 id, 0,2 wa, 0,0 hi, 0,5 si, 0,0 st
MiB Spch: 31999,4 total, 13946,1 free, 5783,6 used, 12877,6 buff/cache
MiB Swap: 976,0 total, 976,0 free, 0,0 used. 26215,8 avail Spch
PID USER PR NI VIRT RES SHR S %CPU %MEM ZEIT+ BEFEHL
3574439 thomas 20 0 10,4g 211884 41368 S 6,3 0,6 0:49.47 node-red
...
Do i have to do something? And how can I find out, which node(s) cause this WARNing?