rexmism Posted September 12, 2020 Posted September 12, 2020 I have a Python script that collects data. It runs once a minute and sleeps for 58 seconds to prevent account overloading, which seems to work fine. However, the script gets a timeout error, typically within an hour or two: Timeout waiting for output from CGI script The script writes to a log file every minute and also runs a print statement. Is there anything I can do to prevent these timeouts? Quote
Krydos Posted September 12, 2020 Posted September 12, 2020 You picked the Johnny server, which is the experimental server. What experimental means is it isn't suitable for production websites or production scripts. High load is common on Johnny, and is most likely causing your script to timeout. When you're done experimenting and testing you script you could consider moving to a production server like Tommy, or purchasing a VPS to host your script. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.