Server Version#: 1.42.2.10156 (latest)
Player Version#: don’t know
My PC runs the server. At the past month it crash every night, sometimes 3-4 times per night. Again - only at nights.
Using OBS I managed to record Performance Monitor and in addition ran logger using HWinfo.
The results: CPU is loaded in strange way, and the process Plex Media Scanner runs several times (most of them are terminated), but still consuming CPU.
The picture been captured from recording, and it’s seconds before another night’s crash.
Plex server been configured to scan when changes are detected and to scan the specific folders only, but no changes occur at night, so why it’s been activated? (I disable it now)
Plex on Windows isnt as reliable as Linux systems that notify apps of disk changes. Plex typically includes a nightly scan as part of the scheduled maintenance. Given your issue, and the fact that you have verbose logging enabled, your current log set is kind of useless.
I suspect you have either a corrupt file that is causing plex to choke, or issues with folder permissions/symlinks that are causing issues.
It is not possible to tell what is happening without looking at the server log files.
Ensure PMS is configured for debug logging (see document above).
Restart Plex Media Server.
Wait for the problem to occur.
Restart Plex Media Server.
Important: Wait 2 - 3 minutes for it to log the startup sequence.
Pull the log files (settings → troubleshooting) and upload the entire zip file to the thread. Just drag it into the message window. It will insert at the cursor location.
Someone can take a look and see what PMS was doing when it crashed.
If you wish to look at the log files, start with Plex Media Server.log and Plex Media Server.1.log.
Warning: The log files are very cryptic. They’re meant for the developers, not the end users. You’ll see a lot of info that is confusing and does not necessarily apply.
Plex Media Server.log will show what has happened since the last restart (restarting PMS rolls the log files).
The bottom of Plex Media Server.1.log will show what was happening when PMS crashed.
Plex crashed during credit detection (end of Plex Media Server.2.log and .3.log).
In Settings → Library set Generate credits video markers to Never.
In Settings → Scheduled Tasks, increase the window for scheduled tasks to at least two hours. The logs show tasks starting at 4:30 and stopping at 5:00. That usually is not enough time for Plex to complete all the maintenance tasks. This won’t help with credit detection issues, but Plex needs to complete the other maintenance tasks.
Then reboot the PC, start Plex Media Server, and see if it makes it through the maintenance window without crashing.
If Plex crashes again, pull & post a new set of log files.
If it does not crash, then re-enable credit detection and wait for the next maintenance window.
Plex crashed while analyzing two files, items 9962 and 9969.
The log files do not record the file names. To see the files, use this URL: http://server_ip_address:32400/library/metadata/item_number?X-Plex-Token=xxxxx
IMPORTANT: Never publish your server’s X-Plex-Token on the forum or any other public place (it is masked in the log files). Doing so could let someone gain access to your server.