Plex media server scanner makes PC crash every night

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.

Then - PC crash.

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)

Anyone familiar with this?

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.

Reporting Issues with Plex Media Server

It is not possible to tell what is happening without looking at the server log files.

  1. Ensure PMS is configured for debug logging (see document above).

  2. Restart Plex Media Server.

  3. Wait for the problem to occur.

  4. Restart Plex Media Server.

  5. Important: Wait 2 - 3 minutes for it to log the startup sequence.

  6. 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.

  1. Guess what? Last night I closed the server to avoid another crash, and it did the job. :slight_smile:
  2. Logs are activated at server.
  3. Since last night I closed it to avoid the crash, I have logs of yesterday’s night. Shall I upload them here?

What do you mean by “closed the server”?

Go ahead and upload the logs. We’ll see if they show anything.

closed the server means I terminated it for the night. (tonight I will try to disable maintenance or at least its processes thru settings)

logs attached. - times of crashes: before 2:44 and before 4:20 (both are AM)

Thanks for the log files.

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

Plug in the item number and X-Plex-Token.

To find the token: Finding an authentication token / X-Plex-Token

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.

the maintenance was scheduled to 2 to 5 (AM).

I disable what you suggested - I’ll test it tonight.

Regarding the token - I’ll read about it and try understand the meanings (meanwhile removed the logs).

Thank you so far!

OK, so it seems -
In Settings → Library set Generate credits video markers to Never.
was the solution to the problem.

What does this function do, and how does it effect on my Plex use / experience?

https://support.plex.tv/articles/credits-detection/