node 为什么会突然崩溃了?

nodejs项目用了opencv后就会有时突然崩溃了502,然后手动重启就可以了。
为什么会突然崩溃呢?opencv问题?但我看纪律,没有人访问没人调用opencv接口。
到底是什么问题,怎么解决呢?
看日志报错如下:

/root/.pm2/logs/nowechat-error-0.log last 15 lines:
0|nowechat | 2017-09-30 23:31:31,313 ERROR 30379 nodejs.AppWorkerDiedError: [master] app_worker#1:30399 died (code: null, signal: SIGABRT, suicide: false, state: dead), current workers: []
0|nowechat |     at Master.onAppExit (/www/nowechat/node_modules/egg-cluster/lib/master.js:347:21)
0|nowechat |     at emitOne (events.js:115:13)
0|nowechat |     at Master.emit (events.js:210:7)
0|nowechat |     at Messenger.sendToMaster (/www/nowechat/node_modules/egg-cluster/lib/utils/messenger.js:122:17)
0|nowechat |     at Messenger.send (/www/nowechat/node_modules/egg-cluster/lib/utils/messenger.js:87:12)
0|nowechat |     at EventEmitter.cluster.on (/www/nowechat/node_modules/egg-cluster/lib/master.js:238:22)
0|nowechat |     at emitThree (events.js:140:20)
0|nowechat |     at EventEmitter.emit (events.js:216:7)
0|nowechat |     at ChildProcess.worker.process.once (internal/cluster/master.js:185:13)
0|nowechat |     at Object.onceWrapper (events.js:318:30)
0|nowechat | name: 'AppWorkerDiedError'
0|nowechat | pid: 30379
0|nowechat | hostname: iZwz96uhzqta4rogvdaxupZ
0|nowechat | 
阅读 10k
1 个回答
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题