Plex Server (Windows) crashes after version 1.3.1.0.6654

cross posting to this thread as I suspect this is the same credit detection issue, though on both my synology boxes it results in a complete reboot of the whole nas box (not just plex crashing)

(Plex causing Synology to reboot? is this even possible? (long post))

That’s what was happening on windows as well, OS crashed causing a reboot.

I have the same issue, running Ubuntu 20.04 and 6782. First it was sonic analysis crashing my Plex server (and I don’t even have music) and after I disabled that, Outro detection came out and started crashing my entire pc. Fun times, last few updates have been crash and burn.

Yup, on Debian it’s the same story. Looks like a full OS crash whether on Windows or Linux. And I’ve stress tested my CPU with geekbench, 0 issues.

Definitely have been having this issue over the past couple of weeks? When I look at my media server HTPC running Win 10 Pro, the app will often be ā€œrunningā€ but completely non-responsive. Clients can’t see any media. If I force close the app and restart it, it works fine. But by the next day it will have crashed again.

I hope Plex is looking into this, which clearly affects a lot of users using a wide variety of OSes.

Per the recs here, I’ve disabled intro and credit scanning, let’s see if that makes any difference.

Running the latest version, 1.31.2.6810.

Does anyone know what the last version was that was behaving normally? Would love to roll back until all this nonsense is figured out.

EDIT: Per @Sacrament055 will try that version. Turned back on intro+outro detection, just to see if that version is stable on my basically default settings.

EDIT2: Thanks @Sacrament055, this one is stable!

1 Like

I’m also having this issue. Need to stay on 1.3.1.0.6654 to make sure Plex server keeps running

1 Like

Are these crashes still happening when using the current Plex Media Server beta 1.31.3.6819-2ef591a4c

If the issue remains, please could you run with debug logging enabled on the server and capture the server logs after a crash - would also need to get the .dmp files generated at the time - If the crashes are detected by Plex Media Server breakpad, then a copy would be saved in $TMPDIR and on windows it would be `%TEMP%

On Windows %LocalAppData%\CrashDumps` may hold the dmp files - when application errors are detected by windows - see registry edit outlined here Crash Logs: Plex Media Server | Plex Support

Haven’t tried a beta version yet but I’ll give it a try

Unfortunately I’m not willing to crash my server to test this again. Hi kudos to those who will. In my particular case, it was so bad I had to restore from a full C: drive backup/image.

I’m more concerned that it is NOT crashing for the developers and this was unknown.

Beta version crashed 100% CPU usage, no dump file
Plex Media Server Logs_2023-03-20_22-07-34.zip (3.9 MB)
log file attached

Thanks for the logs

crashed or shutdown ?

I can see at 10:40:05 on 20th March update from 1.31.0.6654 to 1.31.3.6819 with the new beta version launched at 10:40:29

At 22:01 the logs show the Plex Media Server process was shutdown - exited - I presume by selecting Exit on the Plex Media Server windows system tray

Was it looping at that time clocking up very high CPU %?

The last activity in the log before the shutdown was relating to streaming on android device AFTKA

I can see a request for a transcode segment coming in from the android app at 21:56:44.189 but that did not complete
It was for this file C:\Users\sperez.Zbook.000\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-1f1db70dcce9412d-com-plexapp-android-475125e3-4722-4363-8010-4af4c1aa3a37\media-00405.ts

Is there anything in the windows event log (Event Viewer → Windows Logs) and then selecting System log and also Application log around this time ? Any disc errors?

If the Plex Media Server.exe process was in a loop - a process dump may shed some light - together with the server logs and export of the windows system and application event logs (evtx) files - you can send these to me zipped by private message

Is the problem reproducible ?

If it is please force a process dump through windows task manager and take a screen shot to show the memory and cpu usage for the Plex Media Server.exe process in task manager. To force a process dump, right click on it in task manager and select create a dump file

To export the events logs, open windows event viewer, expand windows logs and select each of the Application and System logs and then for each click on Save all events as,,, in the right hand side pane and save to a file with extension evtx.

Please Zip the evtx files and dmp file and upload to google drive / dropbox etc and send me a link to download it - and the server logs zip

Just throwing my hat in the ring here as i am experiencing the same issue. After version 1.31.0.6654 my server is crashing during it’s window for scheduled tasks.

This is a windows 10 machine running PMS and nothing else, it is a headless box dedicated to plex. It crashes hard enough to take out windows. I cannot connect to the machine and i have to pull the power cord to get it running again.

At first it was crashing every night and i found a thread on reddit saying to disable credit scanning, that did not work and the server crashed the next night. Then i disabled credit and intro scanning, that worked for about 5 days but it crashed again last night.

My next step is to revert versions.

While watching TV it suddenly stopped and became unresponsive. I then went to the server to see what state it was in and the CPU usage was hitting 100% so I killed the Plex Media Server then restarted it so I could download the logs from the web gui. Once that was complete I re-installed the known good version of Plex so I wouldn’t have it crashing all night.

Per your request I looked at my event logs and System log shows ā€œWindows succesfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory : Plex Media Server.exe (9312) consumed 29229281280 bytes, MsMpEng.exe (4808) consumed 303206400 bytes and SearchApp.exe (10836) consumed 115818496 bytes.ā€

I see this happening repeatedly in the logs. Feels like this is the reason as other applications no longer have resources to run and Plex itself eventually crashes.

As a bit of additional info my server has 4 cores (8 threads) and 32GB of memory and runs on Windows 10 ver 22H2 (OS Build 19045.2728) I use this as a dedicated Plex Media Server.

Every time I’ve upgraded beyond this known good version the service crashes. Based on the windows event logs it sounds like a possible memory leak or something is failing to release it when it completes.
Plex_Request.zip (8.8 KB)

@sa2000 - This issue is 100% outro detection related. If I enable outro detection PMS crashes every night during standard maintenance window (about 1 hour into maintenance). If I disable it, it will make it through the night and works days on end. I changed maintenance window around and confirmed that this issue happens about an hour into whenever maintenance runs. (I assume timing depends on amount of media, etc, but it is consistent for me).

When the crash happens, Windows Event server will not have any log messages. It seems like a hard lock up, no BSOD either. Only message I see is after boot up a message that machine was not properly shut down.

Once the machine crashed, the display is black and system is completely unresponsive although still powered up. Only thing I can do is hold down power button for 5 seconds to kill the power then reboot machine.

Let me know what type of debug information you want enabled and I will force a crash by moving maintenance window to execute at top of next hour.

If the issues are memory usage related then I would like to have the setting LogMemoryUse enabled - see https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/

If the Plex media server crashes then a dmp file to go with the debug server logs would be needed

If it is windows, there is a registry setting that would get windows to capture the crash dumps - see https://support.plex.tv/articles/201455336-crash-logs-plex-media-server/

If It Is not crashing but memory usage by the Plex media process or its child processes gets very high then forced dump could be useful

And together with the debug server logs that have the memory usage logged, captured after restart or copied out and copy zipped

Ok, I’ve added the registry entries as noted in your links and once again upgraded my server to the latest beta.

Plex Media Server Logs_2023-03-21_14-42-20.zip (3.0 MB)
I watched 40ish minutes of OTA TV and seemed to be working OK. I then changed my scheduled task to kick off and it crashed within 10 minutes or so. Logs are included here.
I logged into my server remotely and verified the process disappeared from the tray however when I went to install the older known good version it told me there were still Plex processes running and that it would shut them down to install the prior version.
Hope that helps.

Thank You - I can see excessive memory usage and then crashing when reached 26Gb

I have referred this to our server development team

Could you tell me what the D: Drive

and get me full directory / file list sent privately of D:\SSDTV

Is SSDTV a flat structure rather than following our recommended naming structure -
Naming and Organizing Your TV Show Files | Plex Support