The new Sonic feature fills my docker on unRAID and does not return all memory when it’s completed. Went from 12% to 80% and then when finished dropped to 55%.
Remove Plex from docker reinstalled docker size return to normal added two new CDs jumped up again never to return. At this rate docker is going to keep getting filled up anytime I add new music.
I’ve noticed the problem myself too, but after mapping /tmp to /tmp it went away. The Sonic Analysis feature seems to write files to /tmp, which, if it isn’t mapped, expands the docker container filesystem. Since unraid uses ramfs for /tmp you do need enough ram for it, otherwise I’d map it as a subfolder under the appdata plex share.
I’ve got 32 gig ram and 128g plus useable on the app data ssd. Can you send me a screenshot of how you have the docker setup? What puzzles me most is it doesn’t fill the docker but doesn’t fully return to where it was prior to a scan.
Here is a screenshot of my volume mappings. Be careful though, if you map to a subfolder in /tmp on unraid like I have it you’ll need to have a script create that folder or the docker won’t start on a reboot.
Pretty sure the reason why the container doesn’t go back down in size is due to how the container file system works, which stores differences to the previous layer. Adding and deleting files adds to to those diffs, even if the file is gone after.
After mapping /tmp/ to /tmp/plex/ the container doesn’t expand anymore in the first place. I’d suggest hitting the “Add another Path, Port, Variable, Label or Device” button and configuring it something like this:
I have it mounted to /tmp/plex, but that doesn’t mattes specifically. You have your /transcode also mapped straight to /tmp so I reflected that. The important bit is mapping /tmp on the container to something on your host.