Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

The cache pool free space is decreasing without knowing the reason

Featured Replies

The cache pools is raid1 with 1tb x 2 ssd.

There is only 2 folders in this cache, one store docker.img, one stores libvirt.img

/mnt/nvme_1_cache/system/docker/docker.img (825 GB)

/mnt/nvme_1_cache/system/libvirt/libvirt.img (8.59 GB)

 

Docker volume usage

Total devices 1 FS bytes used 77.33GiB

devid 1 size 768.00GiB used 233.02GiB path /dev/loop2

 

[Problem?]

Nvme_1_cache: used 907GB free 91.9GB

And free space is decreasing a bit (MB or even GB) day by day (sometimes increase again but not much) even though docker.img and libvirt.img size is not increasing.

 

What am I doing wrong?

unraidns-diagnostics-20241202-2153.zip

Edited by Hakun

  • Hakun changed the title to The cache pool free space is decreasing without knowing the reason
  • Community Expert

soulds like a docker is runing and is misconfigured in its storage where it writing to the docker image and not teh disk in the uraid array.

I would recomend user script plugin and run these 2 scripts:

clean up logs:


clean up any and all non running docker:



otherwise you will need to capture the logs in a docker that misconfigured.

  • Author

As my understanding, docker cannot use over its allocated vdisk size. As shown, it now only use 233.02GiB/768.00GiB.

About docker cleaning user scripts, I run its several time, nothing change.

  • Community Expert

Why on earth do you have a docker.img that is 768GiB??? Are you running 300+ docker containers?

 

Go to the docker tab and click "Container Size" at the bottom. What does that output?

 

For example:

image.thumb.png.53ef4e10dc9783f38db6a86bca69b299.png

Edited by MowMdown

  • Author

image.thumb.png.17d1d73e3dccb53a2d6164dc441829ab.png

image.thumb.png.02a35a52c889e23fcc598f2cb4f468ee.png

 

Why on earth do you have a docker.img that is 768GiB??? Are you running 300+ docker containers? <=== I'm an unraid tester ^^

  • Community Expert

I see your using ai stuff as well.

Make sure your models are being saved to the pool/array disk and not the docker image.

From ollama, and open-webui.

Yes, when testing some dockers especially the AI one due tot here size i have had a 250 GB docker image.
 

Edited by bmartino1

  • Author
Quote

Make sure your models are being saved to the pool/array disk and not the docker image.

The point is docker has not yet used all its allocated size. That is why I don't understand why free cache pool space is being reduced.

  • Community Expert

Because you have a memory leak or misconfiguration of data within a docker saving to a /tmp location within the docker image.
This is hard to isolate pinpoint and fix.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.