# Plex is filling my docker.img

**URL:** <https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989>\
**Category:** Plex Media Server\
**Tags:** server-linux, server-docker, server-unraid\
**Created:** [December 23, 2022, 11:36pm UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989 "2022-12-23T23:36:26Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [December 23, 2022, 11:36pm UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/1 "2022-12-23T23:36:26Z")

</div>

Server Version#: version-1.30.0.6486  
Player Version#: Version 4.97.3  
Using linuxserver container

Hi there,

So I’m just going to lay it out there since it’s doing my head in and I’ve been on unraid discord support linuxserver support already and now I’m here.

The plex container size yesterday was only 300ish mb and now this morning woke up to my docker.img full at 100% capacity and when I went looking plex had gone up to 50 GB in container size. since then I have found that the /tmp is where the music analyse input is and it seems from what everyone is saying that’s what makes all these big files. The pictures below have my plex unraid configurations and mappings and show that the container is now 50 GB and now I can’t basically do anything on my docker because of plex.

is there a way for it to not use the docker.img and use something else or limit the amount it’s doing since it literally jumped more then 5x its size?

If any other information you need please let me know I would like this to be resolved asap.

Thanks

 ![IMG_6542](https://global.discourse-cdn.com/plex/original/4X/1/c/8/1c8f161435b106348ebbedb0ba9fd81a7390f5ca.jpeg)  
 ![IMG_6544](https://global.discourse-cdn.com/plex/original/4X/9/7/3/973d31639e76eb73cfa630bcfb381c1658fb9d6d.jpeg)

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [December 24, 2022, 12:09am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/2 "2022-12-24T00:09:48Z")

</div>

looks like a lot of other people are having my issue also with the sonic music analyser using a lot of dramatic storage space on the /tmp/.

as seen in this photo here its just continuing lines of this music analysis input.

 ![4](https://global.discourse-cdn.com/plex/original/4X/1/c/e/1ce4c8e236731eda680214d941d1348b714066fe.png)

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [December 24, 2022, 3:28am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/3 "2022-12-24T03:28:51Z")

</div>

so since then plex has basically my server ■■■■ itself and i have turned off the sonic analyser since that seems to be the stupid reason for all of this now how in the hell do i remove all those tmp file its created so i can free up my docker.img and then after all this is done please someone explain to me why tf you have sonic analysing making so many go dam files in the docker.img container folder and how can i run sonic analyser without it filling up the docker can i mount it somewhere else?

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [December 24, 2022, 3:51am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/4 "2022-12-24T03:51:06Z")

</div>

Ok, so i figure out you can just change the transcoding mount since I’ve figured out also that’s what it’s doing with the audio with the sonic analyzer. and because the files are stupidly big i either have to mount it outside of docker into the ram or mount into a drive somewhere and let it roll up the gbs. Now i wanna know is this safe to put on ram if i was to run sonic analyser with ram? i know you can transcoding normally with ram would it be safe with sonic analyser?

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [January 17, 2023, 10:19pm UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/5 "2023-01-17T22:19:28Z")

</div>

This issue is still on going after moving my transcoding to ram properly since before my configuration was slightly off creating a temp folder within the docker.img which now has been fixed. This Stupid sonic analyser is still to this day creating massive size in the docker.img after just turning it back on yesterday and every mount point possible is directed outside of the docker.img. Can someone explain to me how to remount the sonic analyser or why plex puts it like this?

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [January 17, 2023, 10:19pm UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/6 "2023-01-17T22:19:50Z")

</div>

![Container Size](https://global.discourse-cdn.com/plex/original/4X/9/8/f/98f3ebe9478e3e6debff80bcd0d02c6441df075c.png)  
 ![docker is full](https://global.discourse-cdn.com/plex/original/4X/0/2/8/028a9bffe5acca54a0c1eb4e2ea5f9cc32cabe84.png)

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [January 17, 2023, 10:20pm UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/7 "2023-01-17T22:20:20Z")

</div>

currently now have a full docker.img and i will be waiting for someone to help me because ive had enough of this crap.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 17, 2023, 11:38pm UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/8 "2023-01-17T23:38:31Z")

</div>

PMS version please (or first 3 lines of your Plex Media Server.log)

Just saw this thread and am writing it up now.

Also please show me where Sonic Analysis is not cleaning up after itself ?  
(A directory listing would be ideal)

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [January 18, 2023, 2:04am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/9 "2023-01-18T02:04:50Z")

</div>

Jan 18, 2023 12:20:40.585 [0x14e4e6ffcb38] INFO - Plex Media Server v1.30.1.6562-915986d62 - Docker Docker Container ([LinuxServer.io](http://LinuxServer.io)) x86\_64 - build: linux-x86\_64 debian - GMT 11:00  
Jan 18, 2023 12:20:40.585 [0x14e4e6ffcb38] INFO - Linux version: 5.19.17-Unraid, language: en-US  
Jan 18, 2023 12:20:40.585 [0x14e4e6ffcb38] INFO - Processor: 16-core Intel(R) Core™ i7-10700 CPU @ 2.90GHz  
Jan 18, 2023 12:20:40.585 [0x14e4e6ffcb38] INFO - Compiler is - Clang 11.0.1 ([https://plex.tv](https://plex.tv) 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)  
Jan 18, 2023 12:20:40.585 [0x14e4e6ffcb38] INFO - /usr/lib/plexmediaserver/Plex Media Server

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [January 18, 2023, 2:08am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/10 "2023-01-18T02:08:11Z")

</div>

i dont know what you mean by directory. the only plex configuration i have for directory is in the above photo from unraid and its all directed outside of the docker.img. Which is why im unsure why the sonic analyser is still using the docker.img files for its process unraid has still telling me its at 93% like before in the above shot showing my docker capacity and showing plex at 50gb which its normally at like 2 to 3 gb before activating sonic analyser. I simply dont get it why its actions are taking place within there? and its seems to not be cleaning its self either because it hasnt moved since this morning.

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [January 18, 2023, 2:10am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/11 "2023-01-18T02:10:15Z")

</div>

![plex config](https://global.discourse-cdn.com/plex/original/4X/9/b/8/9b848769f6a47e4662b6ca1ab3d356ea364b82f8.png)

---

<div class="post-metadata">

**Author:** ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)\
**Post date:** [January 18, 2023, 2:10am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/12 "2023-01-18T02:10:31Z")

</div>

@nath2125 chuck is looking for a screenshot of the sonic files that are not being deleted.

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [January 18, 2023, 2:12am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/13 "2023-01-18T02:12:36Z")

</div>

i dont even know where to start about where they would be stored? All the plex files are ment to be stored in the app data but thats off the docker.img and this wouldnt be an issue?

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 18, 2023, 2:17am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/14 "2023-01-18T02:17:01Z")

</div>

This is a container, right?

Get on a command line and exec into the docker shell.

From there, getting a directory listing is trivial.

You don’t care where the container is stored. The docker exec command launches you into it

```auto
[chuck@lizum ~.2002]$ sudo bash
root@lizum:/home/chuck# docker container list
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
dbe7e1f9eb23 plexinc/pms-docker:plexpass "/init" 23 seconds ago Up 22 seconds (healthy) plex
root@lizum:/home/chuck# docker exec -it plex bash
root@dockerplex:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
overlay 127866880 24947724 102919156 20% /
tmpfs 65536 0 65536 0% /dev
tmpfs 32886268 0 32886268 0% /sys/fs/cgroup
shm 65536 4 65532 1% /dev/shm
/dev/sda1 976283900 391176944 585106956 41% /tmp
/dev/nvme0n1p2 127866880 24947724 102919156 20% /data
tmpfs 32886268 0 32886268 0% /proc/asound
tmpfs 32886268 0 32886268 0% /proc/acpi
tmpfs 32886268 0 32886268 0% /proc/scsi
tmpfs 32886268 0 32886268 0% /sys/firmware
root@dockerplex:/# cd /config
root@dockerplex:~# ls
DBRepair.sh Library plexmediaserver_1.29.2.6273-2b1f0cbcd_amd64.deb tmp transcode
root@dockerplex:~# cd /config/Library/Application\ Support/Plex\ Media\ Server/
root@dockerplex:~/Library/Application Support/Plex Media Server# 

```

EDIT: You want a listing of the `/tmp/music-analysis-input*` … whatever’s there.

Reference this screenshot  
[![](https://global.discourse-cdn.com/plex/original/4X/1/c/e/1ce4c8e236731eda680214d941d1348b714066fe.png) ](https://global.discourse-cdn.com/plex/original/4X/1/c/e/1ce4c8e236731eda680214d941d1348b714066fe.png)

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [January 18, 2023, 2:32am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/15 "2023-01-18T02:32:41Z")

</div>

ive got the main appdata for plex going here /mnt/plexcache/appdata/plex/ from what i see on unraid itself .

i also ran docker exec -it plex /bin/bash in console and its pulled up that directory. and went to the tmp folder and has

 ![tmp file in docker](https://global.discourse-cdn.com/plex/original/4X/f/5/b/f5b6e701282a08e360a9eda7113ec6ae917927f1.png)  
i can also bring up that reference photo too but ofc a recent version also if you want.  
 ![tempfiles](https://global.discourse-cdn.com/plex/original/4X/7/8/c/78c7f735fa860a3be25c7ecfb3b3a49062756659.png)  
goes for quite a while. Its a lot of jpg files and .wave

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 18, 2023, 2:33am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/16 "2023-01-18T02:33:53Z")

</div>

while in those directories… Find out how much space is being used and get a file count.

I need definitive numbers. Sizes and counts.

For the added bonus: How many music tracks does PMS have indexed 🙂

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [January 18, 2023, 2:39am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/17 "2023-01-18T02:39:45Z")

</div>

I got this

> root@MediaServer:/tmp# du  
> 0 ./pms-2ffd4de5-4fe9-4ad2-9ef5-d62a69afa7b0/EasyAudioEncoder/Convert to WAV (to 2ch or less)  
> 0 ./pms-2ffd4de5-4fe9-4ad2-9ef5-d62a69afa7b0/EasyAudioEncoder/Convert to WAV (to 8ch or less)  
> 0 ./pms-2ffd4de5-4fe9-4ad2-9ef5-d62a69afa7b0/EasyAudioEncoder/Convert to Dolby Digital (Low Quality - 384 kbps)  
> 0 ./pms-2ffd4de5-4fe9-4ad2-9ef5-d62a69afa7b0/EasyAudioEncoder/Convert to Dolby Digital (High Quality - 640 kbps)  
> 0 ./pms-2ffd4de5-4fe9-4ad2-9ef5-d62a69afa7b0/EasyAudioEncoder/Convert to Dolby Digital Plus (High Quality - 384 kbps)  
> 0 ./pms-2ffd4de5-4fe9-4ad2-9ef5-d62a69afa7b0/EasyAudioEncoder/Convert to Dolby Digital Plus (Max Quality - 1024 kbps)  
> 0 ./pms-2ffd4de5-4fe9-4ad2-9ef5-d62a69afa7b0/EasyAudioEncoder  
> 0 ./pms-2ffd4de5-4fe9-4ad2-9ef5-d62a69afa7b0  
> 49012432 ./music-analysis-input-59ed3d71-4f81-49f8-a183-54d310b94a6e  
> 49045120 .  
> root@MediaServer:/tmp# ls

from before when in the tmp directory.

Not sure if this tells you what you need to know. Il try and find exact numbers for each in a second

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 18, 2023, 2:40am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/18 "2023-01-18T02:40:54Z")

</div>

getting close.

```auto
cd /tmp/music-analysis-input-59ed3d71-4f81-49f8-a183-54d310b94a6e
du -ms .
find . -print | wc -l

```

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 18, 2023, 2:42am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/19 "2023-01-18T02:42:34Z")

</div>

Separate thought. Cleanup of the container will be fun… not.

---

<div class="post-metadata">

**Author:** ![nath2125](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nath2125](https://forums.plex.tv/u/nath2125)\
**Post date:** [January 18, 2023, 2:43am UTC](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989/20 "2023-01-18T02:43:05Z")

</div>

I have a decent amount of songs is there a way to find out which ones have been actually indexed or do u mean in reference to how many i have content wise?

 ![111](https://global.discourse-cdn.com/plex/original/4X/7/e/e/7ee72557cdf4a41be0d384d54200ff3c7d14f3ac.png)

[Next page](https://forums.plex.tv/t/plex-is-filling-my-docker-img/823989.md?page=2)
