I'm hosting a Python bot for Reddit that will perform a check every 15 minutes (using time.sleep(900)
), each time this check is performed it takes 10-20 real seconds, and ~0.3 CPU-seconds -- I have never hit the CPU usage daily limit.
However, every ~3 days or so the bot will stop running and I will get complaints from users. When I go to look at the Bash console I ran it in a few days ago, it is just an empty console, as if I never ran it from the beginning.
What is the cause of this? Mathematically I'm never hitting the CPU-usage daily limit so I wouldn't think it'd be that. Thanks! If you need more information I am happy to provide it.