One of the scripts I'm running on my site is intended to run in the background and check a site periodically for change. I managed this by writing the entire script and functions in python and uploaded it to the cgi-bin. Then at the very end, I put: while True: p.running() time.sleep(600) While testing this, it seemed to work as in it would stay running and if a change occurred, the rest of the script would run accordingly. However today, it has been often stopping for no apparent reason. In the error logs, I get Timeout waiting for output from CGI script Then for a few minutes afterwards I get a 500 server error when I try to restart the service. Looking around on the forums, this seems to indicate that I've reached the max amount of processes. I'm wondering if there is a correct way to implement running this script on the server continuously. It takes about 10-15 second to run (depending on how slow the site its checking is and how many times it needs to run as it takes in user input). As far as I know, since it works occasionally is that there is a problem when the way I implemented the continuous loop. Thanks for the assistance.