Answer the question
In order to leave comments, you need to log in
Explain to a beginner why when you start one application, 10 processes hang in the system?
Launched one application (Express.js framework is connected). The application consists of three routers.
HTOP shows as many as 10 node processes.
Version Node 7.7.1
I also noticed that when starting the simplest application node - 6 processes hang in the system.
Please explain to a newbie.
Answer the question
In order to leave comments, you need to log in
It's threads. 52210 parent process. Some of them jit someone GC. V8 is a big thing.
Just launched a demo application from the off site of the node. Everything is fine, only 1 process hangs.
It seems to me that you have an 8-core processor and the application is running through the Cluster module. In total, one main process + one process per core turned out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question