I just tried deploying node app on a "production" environment.
I use PM2 for process management in cluster mode.
My questions are:
-
Why I can't see the
console.log
of thechild_process
I forked? -
I got 2 cores CPU hence 2 apps running on cluster mode using PM2. When I see the logs it seems that both do the same thing at the same time. Is it normal? or is there a way to choose which app to do which process?
via Kenan Christian
No comments:
Post a Comment