node-webrtc
node-webrtc copied to clipboard
100% CPU usage
Hi!
I have 100% cpu usage (use only a data channels). Think, after close or open new peer.
Need a help how to debug or get more info/logs to detect a leak
Hi did you notice any memory leakage? i have similar problem, cpu and memory both increasing. i created the issue at https://github.com/node-webrtc/node-webrtc/issues/612 please check if you also have similar issue with memory and cpu..
@savsofts I haven't any memory leakage. Some time have a lot node threads only.
Found out new beahaver https://github.com/node-webrtc/node-webrtc/issues/614
@gev Are you using data channel to sent text or any kind of string? in my project i preferred group chat functionality based on websocket. Also sending 2 min audio
@savsofts only text
@gev what is the configuration of your system (cpu, ram,uplink)?
We've detected something similar. Seems like sometimes connections would fail (connectionState
becoming failed
) after some time they got connected
(possibly caused by the number of peers on the machine going up), and when they become failed, the node
process starts using 100% CPU, and the connection restart logic can't re-establish connections (actually, it seems any other connection on the same process also become unusable).