Python Forum
Python long running script - causes RDP failure to server? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Python long running script - causes RDP failure to server? (/thread-27476.html)



Python long running script - causes RDP failure to server? - william101 - Jun-08-2020

Hello

I have a long running script - that I execute on a windows server.
The script i simply run under an windows command prompt

the script successfully completes after 4 + hours and writes results to a file.
However, nobody can access the server via RDP - not even myself.

I have to ask an administrator to restart the server and then we can RDP to the server and copy the file with correct results?

Why would a python script cause issues with RDP?

Thanks
Ian


RE: Python long running script - causes RDP failure to server? - nuffink - Jun-08-2020

have you looked in the windows event logs (application etc) to see if there are any errors or timeouts or whatevers?? and when you say a long running script some more info would be helpful like what is it doing is it processing a database for instance with like a billion records, there needs to be more detail and analysis than what you have supplied