You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Host computer:Linux test 4.4.0-137-generic io.js TC Meeting 2014-12-17 #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I find when using child_process.fork to spawn the third layer child process with the debugger mode will cause CPU consumption to 100%,this problem will keep until you use a debugger tool ( like chrome debugger tool ) to connect it. after connected, the CPU consumption will soon drow back to normal status.
I`m sure this is not my code`s problem, and I`ve tried in my notebook and cloud server, this problem will always occur.
I also experience this problem pretty much every day. My laptop fan gets really loud so it's impossible to miss. Every time I start a process with --inspect-brk, CPU usage goes to 100%, regardless of whether or not I am launching a subprocess.
I find when using
child_process.fork
to spawn the third layer child process with the debugger mode will cause CPU consumption to 100%,this problem will keep until you use a debugger tool ( like chrome debugger tool ) to connect it. after connected, the CPU consumption will soon drow back to normal status.I`m sure this is not my code`s problem, and I`ve tried in my notebook and cloud server, this problem will always occur.
Process tree:
Main process code:
Subprocess code:
The text was updated successfully, but these errors were encountered: