Since a few versions back, PMS regularly crashes after a few days. Synology model is a DS3617xs running DSM 6.1.5-15254 Update 1. PMS version is 1.12.1.4885.
Another issue is that I have to kill the PMS process via CLI and htop, stopping and restarting the package doesn’t seem to work and the server shows as unavailable.
I’ve included the logs just after one of those crashes.
Already thanking to the ones that are going to look into it.
Alright, everything has been moved to the media folder and it’s subfolders, permissions are correct and I did a repair on the DB even if it wasn’t showing any errors.
My content is slowly updating with the new location.
Is there anything else I need to turn on or off inside DSM ?
I do have another question, what happens if I cancel the scan for music and scan another small library, just to get access to it ?
Will it start from the beginning for my music library ?
Create the library section and list only the /music/A-D directory
When complete Optimize Database
Edit the library and add /music/E-G
When it completes, Optimize again
Repeat the cycle until all are done.
The target for me has been about 10-15,000 total tracks maximum per block.
The fundamental problem is database fragmentation. By adding in smaller blocks, locality of reference is more tightly preserved. It results in faster indexing and general operation because both all the tables follow the same block-load order
When PMS scans again, it will scan through the blocks as listed. It will go through the entire library because iNotify isn’t available but because the DB has the locality, it will be a lot quicker because of the synergy between DB rows and reading the directories in the same sequence.
Sorry, I meant, if I cancel the music library scan to scan the TV Show library, does canceling stop the whole process or will it resume when I rescan the music library ?
Yes. If you cancel… it’s a hard cancel. There is no incremental scan.
“Partial scan” would help here. It will look at “last modified” information. It will save it time from descending into albums for each album directory that hasn’t been modified. It’s not a huge saving per album but does add up quickly.