The number of threads in the Node process of the Express framework?

Linux environment, write an application using Express framework, launched using pm2 , Node version is V8.11.1 . I check that the value of Threads in the process file / proc/PID/status is 10. Why is this value 10? what does it have to do with? I looked at other processes of the same version of my server, and the value of Threads is also 10? Does it have anything to do with the version of Node ? liunx version is CentOS 7.4

in another linux , there is the same application whose version of Node is V10.14.0 . But if you look at / proc/PID/status , the value of Threads is 11. Please answer this question. liunx version is CentOS 7.0


the underlying layer of nodejs is libuv, so the size of threads is UV_THREADPOOL_SIZE + v8_thread_pool_size + 1

.
Menu