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.

4.5+ GB written to cache per hour

Featured Replies

I am running Unraid v6.12.9

 

I only use the cache drive for docker.img and storing app data, so I can't figure out why it's writing data constantly 24/7. The actual total data used on the drive is static, and the drive is not actually filling up, just wearing the SSD endurance down. My guess is overwriting existing data with the same data?

 

The docker containers should only be writing log files, no transcoding or anything intensive takes place on the cache drive.

 

6.91 TBW @ 3,752 Power on hours

 

1261554630_SSDTBWScreenshot2024-03-27215149.png.232179a9a2c54a5b4713616f4b4fde30.png

 

7.55 TBW @ 3,893 Power on hours

 

1506017909_SSDTBWScreenshot2024-04-02200708.png.3a378d9ebb56aa4d476db846b7b1e279.png

 

In 141 hours, 0.64 TB of data was written to the drive, which is roughly 4.5 GB per hour

 

 

 

  • Community Expert

Have you disabled health checks for your docker containers as I believe they can cause excessive logging.

  • Author
3 hours ago, itimpi said:

Have you disabled health checks for your docker containers as I believe they can cause excessive logging.


Thanks for the reply. I have not disabled health checks. Is it a flag I have to put on each docker container?

 

I forgot to mention in the original post that the disk is also formatted btrfs if that helps diagnose the issue. 

  • Author

I added the --no-healthcheck flag to the containers which showed (healthy) in the advanced menu and now the writes have gone up to 5 GB per hour

 

Should I add this to all containers, regardless if they showed that state or not?

Edited by Unraidmule

8 hours ago, Unraidmule said:

I added the --no-healthcheck flag to the containers which showed (healthy) in the advanced menu and now the writes have gone up to 5 GB per hour

 

Should I add this to all containers, regardless if they showed that state or not?

it needs to be included in part of the docker image, if it doesn't show it in the adv menu, then that docker image doesn't have it.

 

I had a similar problem, it's been fixed for a while now - although can't remember what did it (there are some threads on here with potential solutions, btrfs or changing from the docker image to the folder structure might have helped - I recall changing those around that time). What file system are you running on the cache drive?

  • Author
3 hours ago, seestray said:

it needs to be included in part of the docker image, if it doesn't show it in the adv menu, then that docker image doesn't have it.

 

I had a similar problem, it's been fixed for a while now - although can't remember what did it (there are some threads on here with potential solutions, btrfs or changing from the docker image to the folder structure might have helped - I recall changing those around that time). What file system are you running on the cache drive?

 

Thanks for the reply, the drive is formatted to btrfs. I am also using extra flags on other docker containers to try to solve the issue, but it does not seem to have worked.

 

I added the --no-healthcheck to all docker images which were showing in the advanced menu — GluetunVPN must have a check because when I added it to that container it wouldn't start up.

 

For others, I added these flags:

 

--log-driver none --no-healthcheck --mount type=tmpfs,destination=/tmp,tmpfs-mode=1777,tmpfs-size=256000000

 

Still, the problem is occurring.

 

Is there a disadvantage of changing the docker image to folder structure?

  • Author

Does anyone else have any suggestions to fix the issue?

  • Community Expert

Yes, works on current

  • Author

If anyone reads this, using the solution Kilrah mentioned here:

 

 

I got the writes down to around ~2 GB per hour

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.