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.

Server "stuck" every few seconds

Featured Replies

Hey, my server is currently having the issue of "getting stuck" every few seconds. Three CPU cores go up to 100%, file transfers are stuck and continue after the CPU usage return back to normal. This repeats every few seconds. This has an impact on other services as well but data transfer is impacted the most. top returns high shfs usage on one core.

 

Could someone have a look at my logs and help me? Thanks in advance!

 

 

dringenet-ms-diagnostics-20230419-1717.zip

Solved by pappaq

  • Community Expert

Does stopping the VM help?

  • Author

I did not try that, yet. The light in the flat is controlled by it and I would like to check it, if nobody else is home. In the meantime I've observed, that the high CPU usage is on random cores, not only on the core which are pinned to the VM. May that be an indication against your idea?

 

  • Community Expert

Possibly, still worth trying.

  • Author

When the CPU spikes occure, the wa value peaks as well:

image.png.2da86bff4c7eee391b4cac684442fb05.png

I'm going to try your suggestion later. Thanks in advance. IF it is the VM what would be the next step? Just to lay out a plan to keep downtimes to a minimum!

  • Author

Unfortunatly nothing changed after shutting down the VM.

image.png.4a2dc3967d66f72c6d662d5d3ca7a048.png

The wa is still high and random cores are up to 100% load.

Here are my diagnostics after shutting down the VM.

 

Do you guys have an idea?

dringenet-ms-diagnostics-20230424-1652.zip

  • Community Expert

Boot in safe mode with VM and docker services disabled, then start enabling one by one to see if you find the culprit.

  • Author

Yeah, thought so. Gonna do that tomorrow evening. Thanks for you feedback!

  • 5 months later...
  • Author

My problem has returned, worse than ever. The system is pretty much locked up when the iowait issue occures.

Seems like memory writeback is the issue. Is there something I can do? I've found many threads about it but never a solution for it.

 

Here some screenshots from my netdata and the diagnostics.

1606410434_2023-10-2110_57_56-Window.png.790dae8f1e561dcf827b07a4a15d7fb0.png734314743_2023-10-2110_58_21-Window.png.89bf72619d850210ecf3d68b2d8bc39a.png1615602191_2023-10-2110_59_05-Window.png.210ac69cc6a4f2fbc13f5d9eb7fc3a09.png870146759_2023-10-2110_59_52-Window.png.0fd6f541f65bbf482dac2945378478aa.png

dringenet-ms-diagnostics-20231021-1038.zip

Edited by pappaq

  • Community Expert

If possible use disk shares (or exclusive shares) and see if that helps.

  • Author

You mean like this? 

 

  • Author

The behavior occures all the time not only when copying files and I can't pin down what it is.

  • Community Expert

I meant if the the docker system and containeres are using /mnt/user use /mnt/disk or exclusive shares when possible.

  • Author

Thank you. Will take some time to change everything. Will report back here.

  • Author

I've update unraid to 6.12.4, changed all possible shares to exclusive shares and updates everything I could. The same problem persists.

I've even changed the transcoding of emby to the RAM.

1943242534_2023-10-2115_53_29-Window.png.4bd6a773444fbb94143fa0627a567230.png1041265618_2023-10-2115_53_49-Window.png.6a9b604fc968034efb7a44fa960c21a3.png673614961_2023-10-2116_09_49-Window.png.29179421518fbee47e815ed90b57f1f4.png

 

It seems like it is randomly doing memory writeback and that's causing the iowait to lock up the system. But I can't pin down what is causing this.

 

Any ideas?

dringenet-ms-diagnostics-20231021-1605.zip

Edited by pappaq

  • Author
  • Solution

Currently moving all data from my btrfs caches to convert them to zfs...lets see if this helps.

  • Community Expert

If it doesn't see if you can identify if it's a specific container causing that.

  • Author

I did start dockers one by one and it seems like it only occurred when  transcoding from emby was done. But not everytime. When zfs is not the solution I'm going to build up my emby installation from scratch.

  • Author
On 10/21/2023 at 7:10 PM, pappaq said:

Currently moving all data from my btrfs caches to convert them to zfs...lets see if this helps.

After moving away from btrfs for the caches there is nearly no iowait. The performance is so much better, it's absurd. Thank you JorgeB for your support!

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.