nodejs coffee cluster process execPath
摘要:
今天做项目coffee启动的时候,如下报错:调试发现是因为模块中用了cluster,去掉cluster一切正常。猜想主进程应该是没有问题的,那么报错出在fork出来的进程中。从网上获知:cluster.forkcallschild_process.forkon the running module.child_process.forkruns the module withprocess.execPathwhich is coming out to/usr/bin/node. In other words,clusteris trying to run the workers withnode 阅读全文
posted @ 2013-11-29 15:28 magic.xiao 阅读(1370) 评论(0) 推荐(0)