Help! My PMS keeps crashing

Server Version#: 1.15.4.993
Player Version#: Web 3.97.1

I need help. My Synology Plex server keeps crashing. It happens a few times a day and I can’t figure it out. I will upload the verbose and non verbose logging from my server. The verbose logging is the first time I captured my server crashing and the non verbose logging is the following time I captured the server crash.

Plex Media Server Logs_2019-04-24_14-41-16.zip (3.4 MB)

Plex Media Server Logs_2019-04-24_17-52-48.zip (3.6 MB)

It just happened again…

I will try to repair the database now and update you.

I don’t have any quotas set…

Working on the database repair

I still have about 2.1 TB of space left…

Just repaired my database even though the “Check Corrupt Database” results came back ok. I will run the server for a while and see if it crashes. Thanks!

Plex Media Server Logs_2019-05-05_23-19-22.zip (3.9 MB)

l’m still having issues with my server crashing…help!!!

All right, quick updates.

  1. I have removed the sub directories in the TV Shows folder
  2. I moved all the files to a new Media folder that does NOT have “Enable data checksum for advanced data integrity”
  3. I deleted the file that could not be parsed

Let’s see how it goes!

Server is still crashing. Whats going on?!?!?Plex Media Server Logs_2019-05-18_15-43-06.zip (3.7 MB)

We had a problem with crash reporting where crash dumps were not being uploaded to our back end system for analysis. This has just been resolved and a server restart should result in upload of all crash reports that are in /volume1/Plex/Library/Application Support/Plex Media Server/Crash Reports/1.15.6.1079-78232c603/PLEX MEDIA SERVER . The server logs captured 5 minutes after the restart would confirm the upload. - Of course internet needs to be available

With regards to the system limit being reached on number of monitored directories, you appear to be having a separate directory for each TV Show episode. Normally one would have a separate directory for each season and have all the episodes within that directory.

See https://support.plex.tv/articles/200220687-naming-series-season-based-tv-shows/ for examples of directory structure

The limit for iNotify on your system appears to be 8192 and you have 10,042 directories to be monitored - with 1850 failures on attempting to add the directories to the watched list. The watched list is used for automatic detection of changes for scanning and also needed for EAE Audio Encoder

You have 1850 errors like this

ERROR - [Notify] Failed to add watch for "path to a directory" (28: No space left on device)

The solution to this is either reducing number of directories or increasing the system limit in Linux on the NAS.

As advised by @trumpy81 his Q19 on the Synology FAQ has info on this

As we know what the count is from the logs, the process can be simplified.

go to this directory /proc/sys/fs/inotify

cd /proc/sys/fs/inotify

and see if you have a file there named max_user_watches
If not you need to create that file and have the maximum number in it - I suggest 16384

This should do it

echo 16384 > /proc/sys/fs/inotify/max_user_watches

sorry I missed that. Was not aware that the cause was identified

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