Hi, looking for help with a recent issue I’ve been having.
I’m running DSM 7 on a Synology 1019+ (8GB of memory). I’ve been running this setup since spring of last year with no issues, and I’ve been running DSM 7 for a few months with no issues.
I updated PMS to 1.24.4.5081 on Oct 12. On October 18 at 3:30am, I received consecutive errors that Plex was stopping due to running out of memory. I then had to restart PSM when I wake up. Since then, this occurs every 3 days (10/21, 10/24, 10/27, and 10/30 - today), and I have to restart PMS each time.
I updated PMS to 1.24.5.5173 on 10/27, but this still happened today 10/30. I would really appreciate help on this! I attached my logs, but let me know if I need to provide anymore information!
I tried optimizing the database a few days ago, but I will do that again now. Backup every 3 days is also enabled.
BUT, the backup location is not where you say it should be. It’s currently set to: /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Plug-in Support/Databases
I just corrected the backup location and optimized the database. Hopefully this fixes it!
DSM maintains the permissions of shared folder “PlexMediaServer”. No user intervention should ever be required.
I have seen other reports of crashes. In the end, the root cause of the crashes were outdated user-added plug-ins. I advise reviewing all added plug-ins.
If I’m understanding correctly, it sounds like changing the backup location didn’t actually do anything. I also don’t have any plugins. Plex crashed again today at 3:30am. I checked where the backups go, and it looks like the blob is created around an hour before the crashing begins, so I’m not sure if it’s related to the backup? I’ve attached logs that I just exported.
Any ideas about what’s going on or how I might be able to fix it? Thank you!
@ChuckPa Hey it looks like Trumpy’s posts are gone, so I assume they’re no longer helping me. I just want to check in and see if I’m still on your radar or if I should be doing something else to move forward?
Nov 02, 2021 07:53:21.989 [0x7f95458b8b38] DEBUG - Notifying the system bundle an update to server /system/notify/serverUpdated?host=192.168.1.3
Nov 02, 2021 07:53:22.060 [0x7f95458b8b38] DEBUG - Starting file watcher for com.plexapp.system
Nov 02, 2021 07:53:23.400 [0x7f9540cc3b38] WARN - Held transaction for too long (../Statistics/StatisticsManager.cpp:249): 0.810000 seconds
Nov 02, 2021 07:53:27.684 [0x7f95458b8b38] DEBUG - Plugin: setting environment variable: 'PYTHONHOME=/volume1/@appstore/PlexMediaServer/Resources/Python'
Nov 02, 2021 07:53:28.133 [0x7f95458b8b38] DEBUG - Plugin: setting environment variable: 'PYTHONPATH=/volume1/@appstore/PlexMediaServer/Resources/Python/python27.zip:/volume1/@appstore/PlexMediaServer/Resources/Python/lib/python2.7/site-packages'
Nov 02, 2021 07:53:28.958 [0x7f95458b8b38] DEBUG - Spawned plug-in com.plexapp.system with PID 31170
Nov 02, 2021 07:53:28.958 [0x7f95464b2b38] DEBUG - handleStreamWrite code 104: Connection reset by peer
Nov 02, 2021 07:53:29.166 [0x7f95464b2b38] DEBUG - NotificationStream: Removing because of error
Nov 02, 2021 07:53:29.459 [0x7f95458b8b38] DEBUG - [com.plexapp.system] Sending command: GET /:/prefixes
Does that time stamp correlate to anything you saw the server do?
Also, How much memory is installed in the machine?
LogMemoryUse="1" (preserve spacing with other options)
It will allow us to track what PMS is seeing for memory usage as part of your logs.
We are closing in on the memory issue. It’s starting to look like it occurs when “Refresh All Metadata” occurs (which happens in maintenance) and the database contents satisfy a specific type of records.
@ChuckPa Just confirming, you’d like one of the db backups from /volume1/PlexMediaServer/AppData/Plex Media Server/Plug-in Support/Databases/ right? They’re about 1.6 GB. Is it ok if I upload it to Dropbox/Mega or something similar instead of directly here?