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?
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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now