Hello,
I have an issue with my PLEX media server. Its about month or so while the server starts to crashing quite often (like every few days). It never happend before. What happended to PLEX? Is there some known issue with PLEX?
The crashing means that the server is still up but not responding to any client and you cant stream stuff. Also sometimes the server app just shutdown by itself. No warning message, nothing.
Server Version#: 1.27.2.5929
OS: Windows 10 build 17134.2208
Read through this thread and see if it sounds like the problem you’re experiencing, and if so, try and gather the various diagnostic stuff the developers are asking for if you can:
The easiest way to tell if you have a deadlock or not is if the Plex icon shows in the system tray but you cannot access it via the web interface or stream from any client. If the icon is not in your system tray, then that is a true “crash” of the program. A deadlock occurs when a process gets hung on a thread and then another process tries to access the same thread and the program just deadlocks - open but stuck in some mindless loop until you shutdown the program and restart it.
If you think that you indeed have a deadlock, here are the steps that are needed to diagnose the deadlock in case you don’t want to read back through the entire thread:
When the problem occurs (and please wait for sufficient time before capturing diagnostics or restarting eg 10 minutes of requests to the server not getting through) , get the output from a specific browser request on the server. In a browser, go to this url http://localhost:32400/connections?X-Plex-Token=xxxxxxxxxxxxxxxxxxxxx where you put the server token string instead of the xxxxxxxxxxxxxxxx. Copy the displayed output to a text file and save
Next is to force a process dump for the Plex Media Server.exe process. We can do this with Windows Task Manager - but on a 64-bit windows and with Plex Media Server.exe being a 32-bit application, you would need to load the 32-bit x86 version of windows task manager. So load this program instead of the default task manager C:\Windows\SysWow64\Taskmgr.exe
Using this 32-bit Taskmgr.exe find the Plex Media Server.exe process, select it and right click on it and choose Create Dump
Check that the dmp file has been created
Restart the server and capture the zipped logs
Zip the dmp files and upload to Dropbox or similar service
Send @sa2000 by private message link to the zipped dmp files and send the saved /connections output text files and the zipped logs
It really is quite easy to do, rwoffice and I as well as others have sent some data in already; but deadlocks are quite hard to diagnose. I figure that the more data that the developers have the better. Feel free to PM me if you have any questions with the steps.