用了Forever,总是报一个错误
错误代码,大虾们看看是嘛问题,app.js没什么特别的代码啊,错误的日志很短的时间内就有10M了,CPU占用100%:
events.js:66
throw arguments[1]; // Unhandled 'error' event
^
Error: listen EADDRINUSE at errnoException (net.js:768:11) at Server._listen2 (net.js:908:14) at listen (net.js:935:10) at Server.listen (net.js:984:5) at Object.<anonymous> (/home/hello/application/app.js:1:813) at Module._compile (module.js:449:26) at Object.Module._extensions…js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.runMain (module.js:492:10)
2 回复
用forever stop/stopall有时候会结束不了进程,还是得killall node~