Server Version#: v1.19.3.2843-e3c1f7bcd
Player Version#: Plex Web Player
Operating System: Windows 10 Pro version 1903 build 18362.836
Like many others, I have been suffering from the “Server settings are unavailable” problem for several months. On top of that, The Plex Media Server and its child processes run at about 70% CPU constantly.
I decided to get to the bottom of things today. I searched the forums for similar problems and tried all the recommended solutions. Nothing helped.
I also completely uninstalled Plex, renamed my “AppData\Local\Plex Media Server” directory, and performed a clean install using a newly downloaded installer. The problems persisted even with this completely clean installation and with Windows Firewall turned off. If I took the extra step of renaming the “HKCU\Software\Plex, Inc.\Plex Media Server” key, I would reach a page stating that “A problem has been detected with a core component of Plex Media Server.”
Looking through my logs, I noticed many occurrences of the error “Timeout or error reading status line from plug-in pipe [com.plexapp.system], we’re killing it.” (My logs are attached. I had to create them manually since I can’t get to the relevant server settings page.)
Logs.zip (2.8 MB)
To debug, I decided to run the system plugin manually from the command line, using the command:
“C:\Program Files (x86)\Plex\Plex Media Server\PlexScriptHost.exe” “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-219a9974e\Framework.bundle\Contents\Resources\Versions\2\Python\bootstrap.py” “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-219a9974e\System.bundle”
No errors were displayed, but the process immediately started using 17% of CPU. I pressed Ctrl-C and got a stack trace, which I am attaching to this post. I noticed that, no matter how long I waited before pressing Ctrl-C, I always got this same stack trace.
plex-stack-trace.txt (3.0 KB)
My next step was to look at the runtimekit.py file and find the line that was executing. The line in question appears within a “while True” loop. The developer who wrote the code must be expecting the loop to break with an exception; but on my computer it appears to run in an infinite loop.
Of course, the system plugin is not the only one that suffers this fate. Several other plugins also get launched, hit this infinite loop, and pull 17% CPU each. When they don’t respond Plex kills and restarts them, every few minutes.
Looking around, it appears that this method is just part of a scan to see whether I have Flash or Silverlight installed. Since I don’t, I decided I could avoid the entire problem by adding a “return” statement on the first line of the _add_win_mimetypes method.
After saving that change, everything is working properly for me again. Server settings are now available, Plex isn’t using any noticeable CPU, and all is right with the world.