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
  Running script from remote to server invisiblemind 4 610 Mar-28-2025, 07:57 AM
Last Post: buran
  Detect if another copy of a script is running from within the script gw1500se 4 1,053 Jan-31-2025, 11:30 PM
Last Post: Skaperen
  SSL Handshake Failure with Python 3.11 and 3.12 Samanth_m 0 1,410 Nov-15-2024, 03:35 PM
Last Post: Samanth_m
  No Internet connection when running a Python script basil_555 8 3,073 Mar-11-2024, 11:02 AM
Last Post: snippsat
Question Running Python script through Task Scheduler? Winfried 8 5,680 Mar-10-2024, 07:24 PM
Last Post: Winfried
  Triggering a ps1 script in remote windows server via http python request jasveerjassi 1 1,023 Jan-26-2024, 07:02 PM
Last Post: deanhystad
  Help Running Python Script in Mac OS emojistickers 0 918 Nov-20-2023, 01:58 PM
Last Post: emojistickers
  Trying to make a board with turtle, nothing happens when running script Quascia 3 1,690 Nov-01-2023, 03:11 PM
Last Post: deanhystad
  Failure to run source command middlestudent 2 1,334 Sep-22-2023, 01:21 PM
Last Post: buran
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 7,889 Jun-29-2023, 11:57 AM
Last Post: gologica

Forum Jump:

User Panel Messages

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