请问windows下面是不是做不了多cpu的cluster呀? 今天在windows开发环境学习用cluster来利用好服务器上的多个CPU,我尝试下载了pm、cluster2模块进行学习,发现这两个模块在windows环境运行都会报这个错,用不了。 请问各位前辈,是不是在windows下面玩不了多CPU的cluster呢?另外我现在STG测试环境用的也是windows server2008。是不是需要尽早换成linux的?
> process.on('SIGINT',function(){})
Error: No such module
at process.startup.processSignalHandlers.process.on.process.addListener (nod
e.js:468:27)
at repl:1:10
at REPLServer.self.eval (repl.js:111:21)
at Interface.<anonymous> (repl.js:250:12)
at Interface.EventEmitter.emit (events.js:88:17)
at Interface._onLine (readline.js:183:10)
at Interface._line (readline.js:502:8)
at Interface._ttyWrite (readline.js:720:14)
at ReadStream.<anonymous> (readline.js:105:12)
at ReadStream.EventEmitter.emit (events.js:115:20)
> process.on('SIGTERM',function(){})
Error: No such module
at process.startup.processSignalHandlers.process.on.process.addListener (nod
e.js:468:27)
8 回复