jonsowman / cusf-standalone-predictor

Cambridge University Spaceflight landing predictor - a web-based tool for predicting the flight paths of meteorological sounding balloons.
http://habhub.org/predict
GNU General Public License v3.0
70 stars 36 forks source link

signal.alarm to force clean up of stalled processes #72

Closed danielrichman closed 13 years ago

danielrichman commented 13 years ago

Feature request/suggestion; maybe calling signal.alarm() at the top of the script with a large value would present the build up of stalled predictor processes.

jonsowman commented 13 years ago

This is a great idea, will try and get round to this at some point!

danielrichman commented 13 years ago

I was looking at predict.py on nessie; I think that if you have the python script daemonise itself by fork disassociate fork, then you can avoid using atd, its forked process and the extra sh process that it will use.

jonsowman commented 13 years ago

Done.