PMS on OSX crashes after about 24 hours

Server Version#: 1.18.7.2438
Player Version#:any
System Version: macOS 10.13.6 (17G11023)
Kernel Version: Darwin 17.7.0
Hardware Overview:
Model Name: Mac Pro
Model Identifier: MacPro5,1
Processor Name: 6-Core Intel Xeon
Processor Speed: 2.4 GHz
Number of Processors: 2
Total Number of Cores: 12
L2 Cache (per Core): 256 KB
L3 Cache (per Processor): 12 MB
Memory: 64 GB
Processor Interconnect Speed: 5.86 GT/s
Boot ROM Version: MP51.0084.B00
SMC Version (system): 1.39f11
SMC Version (processor tray): 1.39f11

Serves one Music library consisting of iTunes content plus media on local SSD.

Service becomes unresponsive after about 24 hours. Cannot access content or system settings in that state. The computer seems otherwise fine. Logging in and running "killall “Plex Media Server” allows launchctl to restart the server and it works fine again for about 24 hours.

Collecting (non-verbose) debug logs now and will post on next crash.

1 Like

PS - I just uninstalled all plug-ins except the two for iTunes since I was not sharing any content related to them.

Same experience, reverted to 1.18.6.2368 to resolve.

Interesting! How does one downgrade on a Mac? The linux server is easy but I’ve never downloaded a package for the Mac. I generally initiate the upgrade via the server’s web config pages.

In my case, I dragged the older “Plex Media Server.app” out of my Time Machine backup.

1 Like

I found directions here OSX Rollback Update

Just downgraded.

Yeah, the 1.18.7.2438 update is a bit of a fail. Media scanner seems to make it freeze from my observations. Plex Media Server update 1.18.7.2438 hanging

Just a guess, do you use music in your server? I don’t and the server as had no issues.

I do and OP @jerrylotto stated they are. Nonetheless a bug that needs to be looked at.

In the scanner logs do you see a file that gets stuck?

I could see no particular file in the logs. Files were downloaded straight from the iTunes Store and iTunes Match.

However do see some CURL errors which appears related to UPnP. Router/FW is pfSense 2.4.4-RELEASE-p3. Nothing really explains why the web server is going offline but it does after running freshing metadata. I do also note there’s a lot of TCP/UDP ports opened to the loopback address in this process. Looks similar to Internet continues to drop out when running PMS on macOS Catalina.

For anyone having issues with 1.18.7 please try to get server logs with debug logging not disabled

see

1 Like

OK - fair enough. Now that I know how to roll back and the process is simple enough, I’ve upgraded to 1.18.7.2438 and started a media refresh with debug logging enabled. When the server fails, I will restart, download logs, upload them here, disable debug logging and downgrade back to the stable release 1.18.6.2368.

This specific issue here appears to be down to dB file access issue when loading an iTunes Library. Covered by my response here Plex Media Server update 1.18.7.2438 hanging - #27 by sa2000

For others - would need logs

Captured the crash.Plex Media Server Logs_2020-02-22_11-30-05.zip (3.7 MB)

1 Like

Thank you. Same issue as seen here Plex Media Server update 1.18.7.2438 hanging - #27 by sa2000 - a bug in loading an iTunes Media library into Plex.

I have already referred it to our development team

1 Like

Thanks for looking. If I may ask a question, the iTunes plug-in configuration has a place to specify the path to the XML file that iTunes creates. I have two, “iTunes Library.xml” and “iTunes Music Library.xml”. Is there a reason to select one or the other? The “iTunes Library.xml” file has the most recent modification time so I chose that for now.

@jerrylotto I will have a build in next hour with fix for this bug. I would like to make available to you to try

For sure, thanks! Happy to try it out.

sent you 1.18.7.2457 to try