any issues with long running python apps?

Martin P. Hellwig martin.hellwig at dcuktec.org
Fri Jul 9 17:03:15 EDT 2010


On 07/09/10 20:13, Les Schaffer wrote:
> i have been asked to guarantee that a proposed Python application will
> run continuously under MS Windows for two months time. And i am looking
> to know what i don't know.
Get a good lawyer and put into the contract, the last thing you want is 
a windows update that restarts the host and you are responsible because 
you guaranteed that it would run continuously.

On the technical side; as Christian Heimes already pointed out, split 
the programs. Specifically I would have 1 service for data gathering, 
two separate watchdog services (that checks whether the other watchdog 
is still running and the 'core' service).

The GUI should be an user side app and the services could be too, 
however consider running the services under the appropriate system 
account as in the past I have seen some strange things happening with 
services under user account, especially if there are password policies.

I don't see from the interpreter point of view no reason why it couldn't 
work, it is much more likely your host system will mess things up (even 
if it wouldn't be windows).
<cut rest>
-- 
mph



More information about the Python-list mailing list