问题
I m creating a web tv on a Raspberry Pi
Since the RPi will not always be connected to the net, I need to download the file it will have to play before playing them.
I can download the file, but when I m starting too much download, either by starting them all-at-once or one after another (wich take a lot more time), my app end up killed by the linux system.
Is there any way, in javascript, in node.js, in bash or by editing my algo, to prevent the app from being killed?
回答1:
as I commented ...
Look inside system log files (e.g. /var/log/messages or /var/log/syslog, or the output of dmesg command) for messages relative to your application (or to the node.js processes). You may have gotten out of resources....
来源:https://stackoverflow.com/questions/18589674/prevent-my-node-js-app-to-be-killed-by-the-os