Jump to content

Docker Image & Critical DIsk Utilization


Recommended Posts

So I am getting errors like this:

 

04-06-2021 00:54    Docker critical image disk utilization    Alert [BUDDHA] - Docker image disk utilization of 100%    Docker utilization of image file /mnt/cache/docker.img    alert

 

However, I have a 1TB cache drive so i'm not sure why this is happening.

Of note it says in the explorer that i have 54.5gb used - which seems high to me. The docker img itself displays as 21.5 gb. and the drive shows 945gb free.

No idea why this is happening - the only thing i can think of is it has to do with my SAB installation perhaps? But i map those downloads to /data/Incomplete and /data/Complete which resides under my downloads share (also on the cache).

 

Happy to share other information but wasn't sure what would be useful.

Link to comment

Thanks - so I had already restarted by the time i saw this but i did run fix common problems and i guess i do have something misconfigured as you will see in the screenshot. that said, i'm not sure where exact;y the problem is.

 

Attached is the diagnostics per the request - i hope it has sufficient information but just in case ... here's what i'm trying to accomplish:

 

- My cache drive has an appdata share and a downloads share created on it. The appdata share is set to only for cache and the downloads is set to yes.

The idea is that my appdata share houses all of my docker configurations and then the downloads share is where anything is downloaded to first before being moved to my data drives.

 

Will post anything else you need. Thanks!

 

Screen Shot 2021-04-07 at 14.57.33.png

buddha-diagnostics-20210407-1454.zip

Edited by helpermonkey
Link to comment

The 20G you have configured should be plenty for docker.img

 

You must have an application writing into it. The usual cause for filling docker.img is an application writing to a path that isn't mapped. Any setting within the application that specifies a path to write must match a container path in the mappings. Linux is case-sensitive, so upper/lower case must match.

Link to comment
9 minutes ago, trurl said:

Is SAB the only downloader you use?

 

Post your docker run for SAB as explained at the very first link in the Docker FAQ.

Here is my docker run for Deluge:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-delugevpn' --net='bridge' --privileged=true -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'=REMOVED' -e 'VPN_PASS'='REMOVED' -e 'VPN_PROV'='pia' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='yes' -e 'LAN_NETWORK'='192.168.1.0/24' -e 'NAME_SERVERS'='209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1' -e 'DELUGE_DAEMON_LOG_LEVEL'='info' -e 'DELUGE_WEB_LOG_LEVEL'='info' -e 'DEBUG'='false' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -e 'ADDITIONAL_PORTS'='7878,8080,8989,8090,9117' -e 'VPN_CLIENT'='wireguard' -p '8112:8112/tcp' -p '58846:58846/tcp' -p '58946:58946/tcp' -p '58946:58946/udp' -p '8118:8118/tcp' -p '7878:7878/tcp' -p '8080:8080/tcp' -p '8989:8989/tcp' -p '9117:9117/tcp' -p '8083:8083/tcp' -v '/mnt/user/Downloads/':'/data':'rw' -v '/mnt/user/appdata/binhex-delugevpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-delugevpn'

d976542d729d15115b01223b4e7ebf0ef2808e27c3166100aff6d157e8667580



The command finished successfully!

And here it is for SAB:
 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-sabnzbd' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/user/Downloads/':'/data':'rw' -v '/mnt/user/appdata/binhex-sabnzbd':'/config':'rw' --net=container:binhex-delugevpn 'binhex/arch-sabnzbd'

3705fbd979cd8e0906af3032ed41fa19b3bd1b62b2acd046308f009567b2128e

The command finished successfully!

 

Link to comment
4 minutes ago, trurl said:

Looks like you have been using Unraid for a while, but are you new to using dockers?

 

 

And if you go into each of those applications, where do you have them set to download?

i've been using unraid and docker for the same amount of time ... i'm just dangerous enough to be able to screw stuff up. 🙂

 

attached is the SAB config for downloading and the deluge settings - as well as a screenshot of my Downloads/Incomplete share where incomplete files seem to be stored.

Screen Shot 2021-04-07 at 16.56.32.png

Screen Shot 2021-04-07 at 16.58.13.png

Screen Shot 2021-04-07 at 16.59.06.png

Link to comment
15 minutes ago, helpermonkey said:

been using unraid and docker for the same amount of time

You joined the forum years before docker was part of Unraid.

 

That all looks OK, but I don't use those (NZBGet and transmission instead) so I don't know if there are other path settings you aren't showing.

 

1 minute ago, Squid said:

What does it show when you hit Container Size on the Docker Tab

What he said

 

 

 

Link to comment
25 minutes ago, trurl said:

You joined the forum years before docker was part of Unraid.

 

That all looks OK, but I don't use those (NZBGet and transmission instead) so I don't know if there are other path settings you aren't showing.

 

What he said

 

 

 

I'm pretty sure i signed up well before i started actually using unraid - it's entirely possible that i've been using one longer than the other but to the best of my memory i didn't actually start playing with this until docker was incorporated. Then again, I can forget my own cell phone while i'm holding it so i wouldn't be surprised if that wasn't the case. the only other path settings that take place inside sab are on the categories page - which i've included a screenshot of now.

1336299902_ScreenShot2021-04-07at17_34_55.thumb.png.0445f4774f7615eeba74bade81845627.png

 

27 minutes ago, Squid said:

What does it show when you hit Container Size on the Docker Tab

Here ya go:

439764742_ScreenShot2021-04-07at17_34_11.thumb.png.8a993ba653863919b3d845628b43011e.png

 

FWIW i do have approximately 30 orphaned images listed in the advanced view - i've seen them before through the years but since it doesn't tell you waht they are specifically i have always just left them alone.

 

Here's another screenshot that shows my shares and their sizes ....

1411924796_Screenshot_2021-04-07BuddhaShares.thumb.png.addab860fb5cbd1652787ffd091b05a3.png

 

Edited by helpermonkey
Link to comment
17 hours ago, helpermonkey said:

FWIW i do have approximately 30 orphaned images listed in the advanced view - i've seen them before through the years but since it doesn't tell you waht they are specifically i have always just left them alone.

Remove them. Never any point in keeping them and they are taking up space.

Link to comment
Just now, trurl said:

Remove them. Never any point in keeping them and they are taking up space.

will do - good to know. If you need any other information to perhaps get an idea of what's going on - please let me know. I'm happy to provide you with whatever information I can and I appreciate your help to this point.

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...