Python Forum
Python long running script - causes RDP failure to server?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python long running script - causes RDP failure to server?
#1
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
Reply
#2
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
Regards
-------- *
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.”
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  No Internet connection when running a Python script basil_555 8 441 Mar-11-2024, 11:02 AM
Last Post: snippsat
Question Running Python script through Task Scheduler? Winfried 8 335 Mar-10-2024, 07:24 PM
Last Post: Winfried
  Triggering a ps1 script in remote windows server via http python request jasveerjassi 1 316 Jan-26-2024, 07:02 PM
Last Post: deanhystad
  Help Running Python Script in Mac OS emojistickers 0 306 Nov-20-2023, 01:58 PM
Last Post: emojistickers
  Trying to make a board with turtle, nothing happens when running script Quascia 3 607 Nov-01-2023, 03:11 PM
Last Post: deanhystad
  Failure to run source command middlestudent 2 656 Sep-22-2023, 01:21 PM
Last Post: buran
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,000 Jun-29-2023, 11:57 AM
Last Post: gologica
  Python script running under windows over nssm.exe JaroslavZ 0 671 May-12-2023, 09:22 AM
Last Post: JaroslavZ
  Running script with subprocess in another directory paul18fr 1 3,473 Jan-20-2023, 02:33 PM
Last Post: paul18fr
  Script File Failure-Path Error? jerryf 13 3,313 Nov-30-2022, 09:58 AM
Last Post: jerryf

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020