Jump to content

Periodic CPU spikes when array is spun up - Unraid 6.12.6


Go to solution Solved by itimpi,

Recommended Posts

I'm experiencing some strange periodic CPU spikes every 13-15 seconds and I'm struggling to figure out what is causing it. Using top/htop doesn't reveal any processes using any significant amount of CPU (or perhaps I'm just not clever enough to read it).

 

With all dockers and VMs shut down, spikes are still happening. In order to stop the spikes I need to fully stop the array, so I assume that it is caused by one of the tools or plugins performing some action on a schedule. Spinning up the array reintroduces the spikes.

 

Any tips on diagnosing the culprit are very welcome.

 

image.png.8d9af561108d0882b132e8aaec1bba59.png

thevault-diagnostics-20240116-2130.zip

Link to comment
  • Solution

It could be the Cache Dirs plugin which would keep issuing 'find' commands to try and keep directory entries in RAM.    It is a good idea to configure that plugin to only scan folders that need it as it does not work very well if there are too many files/folders in the ones it is scanning.

Link to comment

Looks like you were right on the money with that suggestion 👏

Temporarily disabling the Cache Dirs plugin just about eliminated the spikes.

 

I will look into tweaking it to avoid such spikes going forward. Thank you so much!

 

image.png.6ce37c27bfa626ae202050584a818290.png

Link to comment

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