PMS Crashing and Crashing, etc Help with Logs

Server Version#: 1.32.6.7371
Player Version#: n/a

Every several days my PMS (Windows) keeps crashing every few to a dozen minutes, over and over and over.

The last time this happened (and it happens pretty consistently) was 4 days ago)

Here are the logs I have collected today created after each time I had to restart the server.
Plex Media Server Logs_2023-08-16_18-10-09.zip (2.8 MB)
Plex Media Server Logs_2023-08-16_18-26-17.zip (1.9 MB)
Plex Media Server Logs_2023-08-16_18-31-04.zip (1.9 MB)
Plex Media Server Logs_2023-08-16_18-35-00.zip (1.8 MB)
Plex Media Server Logs_2023-08-09_03-58-58.zip (3.4 MB)
Plex Media Server Logs_2023-08-13_05-05-12.zip (4.3 MB)
Plex Media Server Logs_2023-08-13_05-13-42.zip (3.7 MB)

and another one - Plex just won’t remain in operation


Plex Media Server Logs_2023-08-16_18-38-58.zip (1.7 MB)

I’ve tried rebooting Windows
Cleaning Bundles
Optimizing Database

and it crashed again.

Plex Media Server Logs_2023-08-16_18-31-04.zip (1.6 MB)

It happened again.
Plex Media Server Logs_2023-08-16_18-51-06.zip (1.4 MB)

Plex Media Server is still showing in Task Manager and is consuming between 11%-25% CPU so it hasn’t technically crashed.

The webview can’t be opened without yellow triangles and actively streaming devices stop playing when their buffers run out.

The only remedy I can find is to stop Plex and start it again.

again
Plex Media Server Logs_2023-08-16_18-59-11.zip (1.8 MB)

Plex Media Server Logs_2023-08-16_19-06-27.zip (2.4 MB)

I have looked at some of the logs

For one it was just database optimization that was taking a long time to complete and you restarted the server whilst it was still optimizing. I have come across database optimizations in the past taking 40 minutes or more to complete

In other logs I see repeated log lines for requests from a WAN IP address - you could try to block that IP address and we then see if it makes a difference.
IP Address 23.123.141.242 - see if you can establish if that is coming from one of the users you shared your server with - first to try is blocking it. And if problems persist, get fresh server logs

There is also this IP Address 173.73.150.194 with similar logged errors - so looked into that as well / block with the other one to see if that resolves the issue

Extracts from one of the logs

Aug 16, 2023 18:34:29.545 [13404] DEBUG - Request: didn't get any data from [::ffff:23.123.141.242]:44940: End of file
Aug 16, 2023 18:34:29.581 [13404] DEBUG - Request: didn't get any data from [::ffff:23.123.141.242]:44942: End of file
Aug 16, 2023 18:34:29.617 [13404] DEBUG - Request: didn't get any data from [::ffff:23.123.141.242]:44944: End of file
Aug 16, 2023 18:34:29.660 [13404] DEBUG - Request: didn't get any data from [::ffff:23.123.141.242]:44946: End of file
Aug 16, 2023 18:34:29.698 [13404] DEBUG - Request: didn't get any data from [::ffff:23.123.141.242]:44948: End of file
Aug 16, 2023 18:34:29.745 [13404] DEBUG - Request: didn't get any data from [::ffff:23.123.141.242]:44950: End of file
Aug 16, 2023 18:34:29.785 [13404] DEBUG - Request: didn't get any data from [::ffff:23.123.141.242]:44952: End of file
Aug 16, 2023 18:34:29.832 [13404] DEBUG - Request: didn't get any data from [::ffff:23.123.141.242]:44954: End of file
Aug 16, 2023 18:34:29.871 [13404] DEBUG - Request: didn't get any data from [::ffff:23.123.141.242]:44956: End of file

Well, this problem continues to happen and it happens even when the two IP addresses you listed aren’t trying to connect.

I couldn’t find a way to block incoming IP addresses on the Plex Support pages
 Could you direct me to where I can find out how to do that – I WILL TRY ANYTHING


** updated I found a thread on Reddit **

Here are two more logs from this afternoon - I have around 6 logs saved from the many times that the server has been crashing.

Plex Media Server Logs_2023-09-02_03-34-40.zip (5.1 MB)
Plex Media Server Logs_2023-09-02_17-06-54.zip (3.8 MB)

Also, which file in the compressed Log file should I look at for errors?

Is it possible that a 3rd party Agent is causing the crashing?

I will have a look at the logs. It is possible there may be some networking issue that is bringing this up. It will be useful to capture the requests coming but that will need some extra settings to allow me to decrypt the tls https dialogue that wireshark captures

I will continue with this via a private message giving you the advanced settings to add to the Plex Media Server in the registry. We would need to have wireshark capturing the network packets - so it would be good if you can get the issue to arise soon after launch of Plex Media Server - as leaving wireshark running for hours could exhaust system resources.

1 Like

I just replaced my modem and router in the past couple of weeks. New IP addresses, ports, etc.

So everything has changed – ie, this isn’t likely a LAN issue because all the equipment is new (except for a dum switch)

Thank you for continuing to look into this.

Here is my most recent log file
Plex Media Server Logs_2023-09-05_20-08-39.zip (6.1 MB)

Here is another log from a few minutes ago.
Plex Media Server Logs_2023-09-06_22-47-24.zip (5.2 MB)

I have sent you instructions for getting Plex Media Server TLS Logging to allow me to decrypt the Plex Media Server wireshark captured packets

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

We have released the fix for the slow GET /:/timeline requests when Push Notifications is enabled - in Plex Media Server Beta 1.40.2.8273

  • (Push Notifications) Used expensive DB query during playback progress notifications (PM-1166)

I was just reading this
! fingers crossed.

Thanks for the update/progress.

haha, this update is weird.

Plex Media Server 1.40.2.8273

I shut down PMS via the Plex Service Icon, Ran the update from the Plex Updates folder, allowed the update to complete, declined running PMS - as I always do and proceeded to run PMS via the Service —

However, it PMS did nothing. It showed up as running in Task Manager, but that was it.
I then waited a couple of minutes refreshing the PWA I have setup for Plex and still nothing - nothing except my libraries with yellow triangles everywhere.
I then decided to restart my PC and have the Plex service automatically start PMS on bootup.
When started, the PWA still showed yellow triangles everywhere. I waited a good 4 minutes watching the Plex Media Server.exe in Task Manager and there was not CPU% given - like it wasn’t doing anything.
I shut down PMS via the Service and when PMS was o longer in Task Manager I re-ran PMS “normally” as a regular app – only then did I see it was doing some kind of database update – which wasn’t indicated in the release notes
 boo!

Anyway, I watched and waited for the database to finish and when it had, Plex was working properly again.

I restarted my Windows PC again so that Plex would automatically run as a service - and it is.