# Multiple Python PlexScriptHost.exe running

**URL:** <https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965>\
**Category:** Plex Media Server\
**Tags:** server-windows\
**Created:** [January 6, 2021, 1:25am UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965 "2021-01-06T01:25:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![QB8Young](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/qb8young/32/222687_2.png) [@QB8Young](https://forums.plex.tv/u/QB8Young)\
**Post date:** [January 6, 2021, 1:25am UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965/1 "2021-01-06T01:25:17Z")

</div>

All similar threads are dead/locked. Apparently this has been an issue for years now but I am just noticing it myself. I have Python (PlexScriptHost.exe) running 10 times and eating up A LOT of resources. How do I resolve this? (Many thanks in advance)

Server Version#: Version 1.21.1.3876  
Player Version#: Version 4.47.3

---

<div class="post-metadata">

**Author:** ![TeknoJunky](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/teknojunky/32/165055_2.png) [@TeknoJunky](https://forums.plex.tv/u/TeknoJunky)\
**Post date:** [January 6, 2021, 1:31am UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965/2 "2021-01-06T01:31:25Z")

</div>

Do you have any legacy plug ins installed?

Attach [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) from plex web settings- troubleshooting- download logs.

> [@Help us help you - how to provide logs to get your problems identified and hopefully resolved](https://forums.plex.tv/t/help-us-help-you-how-to-provide-logs-to-get-your-problems-identified-and-hopefully-resolved/672904/):
>
> [image] If you have a problem, if no else can help, and you can find them, maybe you can hire The A-Team. [image] Just kidding… but especially if you can reproduce your issue effectively, please capture the logs and attach or drag/drop them into your post. Complaining or talking in generalities doesn’t really help you get your problems solved. Be sure to provide specific details, including exact client and server plex versions (It DOES matter), what kind of server hardware (gpu/cpu/ram/stor…

---

<div class="post-metadata">

**Author:** ![QB8Young](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/qb8young/32/222687_2.png) [@QB8Young](https://forums.plex.tv/u/QB8Young)\
**Post date:** [January 6, 2021, 1:33am UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965/3 "2021-01-06T01:33:12Z")

</div>

No plugins installed.  
(File removed)

---

<div class="post-metadata">

**Author:** ![TeknoJunky](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/teknojunky/32/165055_2.png) [@TeknoJunky](https://forums.plex.tv/u/TeknoJunky)\
**Post date:** [January 6, 2021, 1:48am UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965/5 "2021-01-06T01:48:44Z")

</div>

Thanks will review when I can get to a pc.

---

<div class="post-metadata">

**Author:** ![TeknoJunky](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/teknojunky/32/165055_2.png) [@TeknoJunky](https://forums.plex.tv/u/TeknoJunky)\
**Post date:** [January 6, 2021, 8:53pm UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965/6 "2021-01-06T20:53:21Z")

</div>

sorry the zip was removed by the system, can you regenerated a fresh log and re-attach ? sorry for the delay.

---

<div class="post-metadata">

**Author:** ![QB8Young](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/qb8young/32/222687_2.png) [@QB8Young](https://forums.plex.tv/u/QB8Young)\
**Post date:** [January 8, 2021, 10:02pm UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965/8 "2021-01-08T22:02:49Z")

</div>

I can no longer attach the zip of my logs. The forums give me an error: “Sorry, the file you are trying to upload is not authorized (authorized extensions: jpg, jpeg, png, gif).”

---

<div class="post-metadata">

**Author:** ![TeknoJunky](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/teknojunky/32/165055_2.png) [@TeknoJunky](https://forums.plex.tv/u/TeknoJunky)\
**Post date:** [January 8, 2021, 10:07pm UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965/9 "2021-01-08T22:07:06Z")

</div>

there was a potential security issue recently, can you read @ [Unexpected user token exposure in (Windows) Plex Media Server v1.20.5 through v1.21.1.3830](https://forums.plex.tv/t/unexpected-user-token-exposure-in-windows-plex-media-server-v1-20-5-through-v1-21-1-3830/675977) then update your server, recreate the issue, then download and attached logs again?

sorry for the confusion and delay.

---

<div class="post-metadata">

**Author:** ![QB8Young](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/qb8young/32/222687_2.png) [@QB8Young](https://forums.plex.tv/u/QB8Young)\
**Post date:** [January 8, 2021, 10:33pm UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965/10 "2021-01-08T22:33:13Z")

</div>

I don’t know if the issue is recreated at the moment. I just know it frequently had many (6-10) instances of Python listed in my Task Manager on most days. Right now there is only 1. When I created this thread there was 10. [Plex Media Server Logs\_2021-01-08\_14-32-52.zip](https://forums.plex.tv/uploads/short-url/Aduk1kg2sKRXJj2PTcM1CkHErWp.zip) (1.9 MB)

---

<div class="post-metadata">

**Author:** ![TeknoJunky](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/teknojunky/32/165055_2.png) [@TeknoJunky](https://forums.plex.tv/u/TeknoJunky)\
**Post date:** [January 8, 2021, 10:55pm UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965/11 "2021-01-08T22:55:28Z")

</div>

I’m not seeing any errors or obvious problems in the current log, but if there weren’t any stuck processes when you took the log, that isn’t really surprising.

While waiting for the problem to manifest, I would suggest you open windows task manager (right click windows task bar \> task manager) and add the path & command line columns.

This will let you see the processes on task manager, what the path is for the executable, and what the command line is trying to do with that process.

This should help identify what the processes are stuck on.

open task manager, expand details if necessary, select details tab:  
 ![image](https://global.discourse-cdn.com/plex/original/3X/8/9/89f3381cda089701f4e3ab792d142c195a86cecc.png)

right click one of the column headers (ie ‘name’ or whatever) and select columns

![image](https://global.discourse-cdn.com/plex/original/3X/e/8/e80190de819f8c8fcc90f4dfe6b4500846123b4e.png)

in the columns dialog, scroll down and select the `image path name` and `command line` options, then press OK

![image](https://global.discourse-cdn.com/plex/original/3X/6/b/6b0daf14ca92ebd8bb490198b2de7b43e3b43868.png)

now the columns are added, you can scroll over, if necessary, and expand the column widths so you can see more info. (you can also mouse over the field to see the whole thing).

 ![image](https://global.discourse-cdn.com/plex/original/3X/d/1/d16d11607d77624d771aa30377446e6f07fa9c5f.png)

now whenever you find stuck processes, you can easily see exactly where the process/exe is stored, and what the command line is to see what process is doing what.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [April 8, 2021, 10:55pm UTC](https://forums.plex.tv/t/multiple-python-plexscripthost-exe-running/674965/12 "2021-04-08T22:55:32Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
