CNode

用了Forever,总是报一个错误

Rromboo发布于14 年前最后回复14 年前2 回复4925 浏览0 收藏

错误代码,大虾们看看是嘛问题,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. (/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)

Z
zelome#1·14 年前

用forever stop/stopall有时候会结束不了进程,还是得killall node~

J
jiyinyiyong#2·14 年前

会不会上有 forever 有应用正运行在同个端口没关...

参与回复
登录后即可参与回复。登录