what can cause node.js to print Killed and exit?

后端 未结 2 1983
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-15 02:47

I have a Node.js app that loads some data from Mysql into Redis when the app starts. It has been working fine up until we modified the data in Mysql.

Now it is just e

相关标签:
2条回答
  • 2020-12-15 03:11

    Check your system logs for messages about Node being killed. Your Node application might be using excessive memory and getting killed by the Out-Of-Memory killer.

    0 讨论(0)
  • 2020-12-15 03:13

    Not sure if Redis is what causes the Killed message but that was the cause of my problem.

    I was sending to much data to multi because I originally thought that was the way to use pipelining (which is automatic).

    0 讨论(0)
提交回复
热议问题