Ruan Carlos Posted February 20, 2020 Posted February 20, 2020 I have a problem with a script python that is running in the background, this script needs to run all the time without stopping, but the script freezes or stops without error, when I change for another card, it works for a few days and then the same thing happens, however the debian system continues to work perfectly, only the background script stops working, I already debugged the code and it has no problem making it stop. my sdcard is MicroDrive class 10, 8Gb. what could be causing this problem?
Werner Posted February 21, 2020 Posted February 21, 2020 Did you try to run this script on a completely different machine for a longer period of time? By the way. an armbianmonitor -u output would be a nice thing to get any chance to investigate this further...
martinayotte Posted February 21, 2020 Posted February 21, 2020 19 hours ago, Ruan Carlos said: but the script freezes or stops without error How did you figured that out ? Did the process no present anymore in "ps -ef" ? Do you grabbing log of both stderr/stdout output of the process, something like "python thescript.py > thescript.log 2>&1 &" ?
Recommended Posts