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.

From where the high cache usage is coming?

Featured Replies

Hello after around two days my cache runs out of space. And I have no idea what it could be. The cache are two 120GB SDD's which are connected to a PCI-E SATA Card JMB363 and run RIAD 1 btrfs. I hope someone can help me ^^.

 

Full Cache:

 image.png.acec1109595fdd9b223caa0bcd389c3a.png

 

Then I run the btrfs defragmentation (btrfs filesystem defragment -rvf /mnt/cache) and all is good for the next two days.

image.png.02f5d5ce1d90d96d0e9cbd77f23b7e7b.png

 

Two more screenshots:

 

Before defragmentation:                                                                                                        

image.png.99d06b13b07678f5fc6b46dda3e856a3.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

After defragmentation:

image.png.041ddfa2cc38ce289f319951ef0869fb.png

Edited by RichardIstSauer

  • Author
5 hours ago, JorgeB said:

but if the free space keeps getting lower without writing new files

Yes the data grow's around 100MB per hour.

 

5 hours ago, JorgeB said:

usually lack of discard on vdisks, see here for Windows VMs

The only VM I use is based on Qcow2 Home Assistant Image. Could this be the cause for the growing cache space usage?

 

  • Community Expert

Any vdisk that doesn't discard freed space will keep growing.

  • 2 weeks later...
  • Author

I added the discard parameter and the fstrim linux service at the vm. But it not changed so much. I had an disk usage at 90GB then I started the fstrim service manually and then only 80GB were used. But that also was too much so I ran the btrfs defragmentation "btrfs filesystem defragment -rvf /mnt/cache" and then the disk usage was only 64GB. 

 

 image.thumb.png.d0fc088b40e05aec3490c4a2f4da9f83.pngimage.png.db7cac08813785f525592668fc76bdbf.png

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.