We have a pylons web application running on a windows server 2003 machine.
There is a startup script that runs in a "dos box".
From time to time the script crashes and the server is then down. How to keep it runing / monitored?
Edit: On a linux box I would use a monitoring tool like "monit" that can check if the service responds to http requests and kills it and starts a new instance if not.
Edit2: After some research I found something now:
(the original site is down at the present, but google cache has the page: http://wiki.pylonshq.com/display/pylonscookbook/How+to+run+Pylons+as+a+Windows+service )
I found the link on http://pylonsbook.com/en/1.1/deployment.html (2nd paragraph from the bottom)
Have you considered running it through IIS which can then monitor processes and restarts through application pools? Check out:
http://code.google.com/p/isapi-wsgi/
and:
http://sourceforge.net/apps/trac/pyisapie
I use the first, but the second has better performance.