Plex server crashing repeatedly soon after launch

Hello,

Server Version#: 1.32.0.6973
Player Version#: Plex iOS app 8.18

The Plex Server running on my Synology NAS crashes repeatedly a few minutes after NAS boot and Plex server relaunch from the NAS interface. No specific action on my side (except perhaps starting the Plex iOS app?).

I believe I run the latest applicable versions:

  • Synology NAS DiskStation Manager Version 7.1.1-42962
  • Plex Media Server Version 1.32.0.6973 (from PlexMediaServer-1.32.0.6973-a787c5a8e-x86_64_DSM7.spk)

You find attached the latest Plex logs and dump files.
Plex logs and dumps.zip (886.1 KB)

Thank you in advance for your help!

Philippe

I’ve just installed PlexMediaServer-1.32.1.6999-91e1e2e2c-x86_64_DSM7.spk, and the Plex server still crashes. Most likely after lauching the Plex iOS app…

Please make a ZIP file of PlexMediaServer/AppData/Plex Media Server/Logs directory

Attach that ZIP file here. I’ll look at it and see what the problem is.

Please find the logs generated with Plex Media Server latest version attached (I removed the oldest files as the upload limit is 8Mb).
Logs.zip (1004.1 KB)
FYI, I have the impression the issue relates to the communication with the Plex iOS app. I’ve been trying to download my latest music to my phone for a week with no success (only a few tracks were downloaded) and with the error code 409 for download failure showing up sometimes when asking for download on the app side.

http 409 ?? 409 = Conflict.

Did you see perhaps 429 ? 429 = throttled (too many requests at once/too quickly)

The forum should allow a 30 MB zip file. strange.
There is a global quota per user. Might you have a lot of other uploads ?

Independent of that, I see it trying to recover from crashes and I see tasks crashing while starting to transcode and hitting the DB.

How full is the file system?
If you go into the “PlexMediaServer/AppData/Plex Media Server/Cache” folder.

then, in the Transcoder cache and photo cache, if those have a lot in them – erase everthing inside those two directories.

Hi Chuck,

Please find here my answers.

http 409 ?? 409 = Conflict.
Did you see perhaps 429 ? 429 = throttled (too many requests at once/too quickly)

409 is the code that appears after requesting the download, as per the attached screenshot (and then, after starting the iOS app and asking for download, the Plex server crashed).

The forum should allow a 30 MB zip file. strange.
There is a global quota per user. Might you have a lot of other uploads ?

I’m trying to download 3 albums (38 tracks, CD quality, 962Mb on my server, but at 192kbps audio quality on the app side). I did not remember setting quotas on the server side, and I set no storage limit on the app side (the Plex app indicates 16.8Go used, 25.4Go available). I was able to download several albums concurrently in the past.

Independent of that, I see it trying to recover from crashes and I see tasks crashing while starting to transcode and hitting the DB.
How full is the file system?

I use 2.4To of the 7To available on my NAS.

If you go into the “PlexMediaServer/AppData/Plex Media Server/Cache” folder.
then, in the Transcoder cache and photo cache, if those have a lot in them – erase everthing inside those two directories.

Cache/Transcode only contains a Sessions empty directory that I deleted.
Cache/PhotoTranscoder has more files, so I deleted them before restarting the server.

Once the server started, I launched the app. The server crashed before I requested the download, but I suspect that it is because it has kept my past download requests (many of them, perhaps too many?).

In the same context, I also experienced error 400.
IMG_2413

@phduhamel

Would you please be able to do the following?

  1. In the server - settings - general, make certain DEBUG logging is enabled and verbose logging is disabled. (Click save if you make any changes)

  2. Now go back to the app and try to recreate the error.

  3. I suspect the server will have already generated the error but the app will make certain of it.

  4. After it does, Settings - Server - Troubleshooting - Download Logs

  5. Attach that ZIP file here please and I’ll look through it.

Please find attached the dump file collected after reproducing the issue.
This time, it took a bit longer to crash the server. I have the impression the app “held” the download requests for a few minutes before sending all of them, causing the error 409 and crashing the server.

Note that after enabling debug logging, I stopped the server and cleaned all cache, logs and dump and rebooted my NAS so you have only the files related to the latest crash occurence.

I’ve also collected the logs, but can’t upload the 26Mb zip file.
Let me know what files are relevant for you (list below).

1.32.1.6999-91e1e2e2c.zip (4.8 MB)

~/Téléchargements/Logs$ ls -lsa
total 25456
4 drwxrwxrwx 3 - 4096 mai 13 08:58 .
16 drwxr-xr-x 11 - 16384 mai 13 09:07 …
4 -rwxrwxrwx 1 - 644 mai 13 08:39 ‘Plex Crash Uploader.1.log’
4 -rwxrwxrwx 1 - 1503 mai 13 08:58 ‘Plex Crash Uploader.log’
10244 -rwxrwxrwx 1 - 10485861 mai 13 08:55 ‘Plex Media Server.1.log’
10244 -rwxrwxrwx 1 - 10485927 mai 13 08:48 ‘Plex Media Server.2.log’
4908 -rwxrwxrwx 1 - 5022618 mai 13 08:58 ‘Plex Media Server.log’
4 -rwxrwxrwx 1 - 1472 mai 13 08:58 ‘Plex Transcoder Statistics.1.log’
4 -rwxrwxrwx 1 - 1472 mai 13 08:58 ‘Plex Transcoder Statistics.2.log’
4 -rwxrwxrwx 1 - 1472 mai 13 08:58 ‘Plex Transcoder Statistics.3.log’
4 -rwxrwxrwx 1 - 1472 mai 13 08:58 ‘Plex Transcoder Statistics.4.log’
4 -rwxrwxrwx 1 - 1472 mai 13 08:58 ‘Plex Transcoder Statistics.5.log’
4 -rwxrwxrwx 1 - 1472 mai 13 08:58 ‘Plex Transcoder Statistics.log’
4 -rwxrwxrwx 1 - 2964 mai 13 08:58 ‘Plex Tuner Service.log’
4 drwxrwxrwx 2 - 4096 mai 13 08:40 ‘PMS Plugin Logs’
~/Téléchargements/Logs$ cd ‘PMS Plugin Logs’
~/Téléchargements/Logs/PMS Plugin Logs$ ls -lsa
total 56
4 drwxrwxrwx 2 - 4096 mai 13 08:40 .
4 drwxrwxrwx 3 - 4096 mai 13 08:58 …
12 -rwxrwxrwx 1 - 8496 mai 13 08:58 com.plexapp.agents.imdb.log
36 -rwxrwxrwx 1 - 35722 mai 13 08:58 com.plexapp.system.log
~/Téléchargements/Logs/PMS Plugin Logs$

The DMP files do me no good. I don’t have Engineering’s extra files needed to find out which line of code failed. (which doesn’t really help much anyway – no history)

If you make a ZIP of the Logs directory, compressing it - not ‘storing’, you’ll find that ZIP file is 3-5 MB

That’s what I want.

On synology, in FileStation

  1. PlexMediaServer / AppData / Plex Media Server
  2. Right-Click ‘Logs’ → ‘Compress to logs.zip’
  3. You’ll get a small file just like I have.

My Logs.zip is 2.9 MB. Yours should not be any more than 5 MB.
If you get more than 5 MB,

  1. Stop Plex
  2. Delete everything in the Logs directory
  3. Start it again and let it fail.
  4. Now make a ZIP file.

Here are the log files from this morning (I realize my Synology NAS does not do any compression for its zip files…).

Logs.zip (1.4 MB)

Your Syno did a lot of compression.

Look at the internal sizes.

I"m looking now for a cause.

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