Plex keeps crashing/closing

Thank you for all the logs

There are not actual crashes but lockouts where the server stopped responding to requests. We would need to get deadlock diagnostics for these and that would be

  • list of connections
  • process dump
  • logs as you have been providing

To get the list of connections at the time of the lockout you need to find out in advance what the server security token is and note it down for use when the lockout arises

On windows you can get that from the registry within
HKEY_CURRENT_USER/Software/Plex, Inc./Plex Media Server
and looking up the value of PlexOnlineToken

When the next lockout occurs, load a browser directly on the server and type in this url - replacing the xxxxxxxxxxxxx with the security token for the server

http://127.0.0.1:32400/connections?X-Plex-Token=xxxxxxxxxxxxxxxx

Wait for the response and then copy it into a text file and save and note down the time

Then force a process dump for the Plex Media Server process
In windows task manager detail view, locate the Plex Media Server.exe process and right click on it and select “create dump file”

After the dump file is saved, locate it, and restart the server and get the server logs as you do normally

zip the dump file and upload to google drive or one drive or dropbox etc and send me by private message link to where the zip was uploaded - also include the saved connections text file and the server logs zip

Thank you