I tried enabling the ‘sonic analysis’ on my music library. I have a massive music library, so expected the process to take some time. After a while I noticed that my plex service was crashing. Checking on the why, I noticed that I was running out of disk space for the boot device. I presume Sonic Analysis uses a bunch of disk space, so increased the root partition from 80gb to 120gb. Still not good enough.
I could create a partition on the NAS, which hosts the debian-based vm for plex. But I’m wondering how much disk space will this end up taking up? My current music library is just under 250G.
So, should I create a new partition for plex sonic analysis, which directory do I point to? Is is /var?
Sonic analysis shouldn’t use a lot of disk space; figure ~200 bytes per track or something like that. It does decompress albums to WAV files into your temporary directory for analysis, but that shouldn’t be much.
Well, if you have giga albums with hundreds of tracks, it might take a bit more space temporarily to analyze such an album.
AFAIK analysis is using the /tmp folder. Which might even be just in RAM, if you are using Docker and haven’t connected the /tmp folder of the container to a folder of the host on a hard drive.
Yes. I have hundreds of gigabytes of music analysis input files in my Temp directory on C drive on a Windows 10 system as Sonic Analysis seems to be persistently hung up on two albums.
I quit all Plex processes and delete the files, but they come back when Sonic Analysis starts up again. Frustrating.
100s of gigabytes sounds way too large. the server logs will tell you what it’s analyzing, but even a multidisc collection shouldn’t generate that much, as it decodes to low sample rate for analysis.
The logs weren’t helpful, I looked at them multiple times and couldn’t find the albums it was processing even when I found the Sonic Analysis lines.
I figured it out by listening to the sonic analysis temp files on my C drive, it wasn’t hung up, I think it was actually still processing all my saved podcasts, which I have in their own “music” library. I don’t know if anyone else saves podcasts that tend to go behind paywalls or that have been purchased, but you might consider having a “podcast” library choice. I found the toggle to exclude the library from sonic analysis and it immediately shut off activity and the temp files have not come back. But those temp files were hundreds of gigabytes.
Do you have to enable them for every library? I have two music libraries, one of which is the podcasts. I don’t remember ever going into them individually and turning the Sonic Analysis on, I just remember clicking the global sound analysis toggle.