Server Version#: 1.24.1.4931
Player Version#: not related to playing
Turned on sonic as scheduled task and enabled sonic on Music Library
The library has about 300 albums containing roughly 4400 tracks and took approx 4 hours to complete. I was randomly monitoring progress until it got close to over 95% then monitored closely until completion.
However, when it completed and saw the task that creates entries, the little circles were about 20% done when server crashed. Crash time: sept. 1 11.41 pm.
Now has the task completed? Are sonic entries written to disk?
Attached: crash dump file and related PMS debug log until crash time.
Thanks for your input![crash and logs.zip|attachment]crash and logs.zip (482.3 KB)
There will be some improvements to sonic analysis stability in a future server release.
You can tell if the task completed by checking for features tied to Sonic Analysis in Plexamp, e.g. Sonically Similar Tracks, Albums etc.
If it isnât yet completed, you can force it to continue by ensuring the relevant preference is set (run analysis on a schedule and when new media is added), and then scanning your music library.
As a shortcut, you can cancel the library scan as soon as it starts to get the server to start sonic analysis straight away.
Yes. If the analysis is interrupted before it finishes, it should pick up where it left off on the next run.
Thanks for your input, I actually reported this for the dev team if they want to look at it. Aside for the crash, seems itâs all good. Re-scanned to make sure and sonic features are present in Plexamp.
I tracked the crashes on MY sytsem down apprently.
Sonic Analysis uses the mount point /tmp for storing the temporary wav files. I donât understand, what Plex treats as âAlbumâ, but it sometimes tries to convert chunks with well over 500 tracks each.
My system (Asustor NAS) has /tmp mounted on tmpfs, resulting in diskspace (4GB) of half my RAM (8GB), which is not sufficient at all for that.
So /tmp diskspace runs full, which is also logged by Plex. However Plex then crashes eventually, too.
Yeah, I thought about that, plex running inside VM with 16GB ram, /tmp mounted also on tmpfs. I allocated 8GB to it and monitored while sonic was running and it got up to 6GB.
I donât think lack of memory in/tmpfs was the culprit in my case.
However, gonna up memory to 32GB as I also configured zfs to this VM and passed the zpool disks to it. Just to be on the safe side.
Hi
My server has been crashing (locking with an inaccessible GUI or content) lots over the past 2 weeks and i wonder if Sonic Analysis is the cause for me too?
Plex is running on Unraid as a docker container, with a RAM disk for transcoding.
I know it has completed as occasionally i see an âanalysis sessionâ on going in the server dashboard, and have wondered my the analysis of my small ish library hasnât completed yet.
Well, it turned out the datadir for plex was on a bad device. I had it crash also while doing just an optimize. The disk activity led was lit solid. I couldnât even shutdown the VM through any means. Had to use Proxmox âstopâ feature.
Luckily, seems the db hasnât got corrupted. Moved everything back to where plex runs and behold no more crash. Or was it because the disk was passthrough using virtio?
Anyhow, will replace the disk in near future and try again. It was an oldie (maybe 15 years) WD Black 72GB 15,000 rpm sata1.
Same here. Server is still crashing after adding new albums due to sonic analysis. Often times it almost runs through up to the end and then crashes. It is really a nuisance because it often happens that add stuff to my music library and having to restart the server every time sucks.
The last update did not help. Server still crashes after I add in new media and it has been processed. It actually crashed in or after rebuilding index.