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.

/usr/local/bin/shfs using a lot of CPU

Featured Replies

Hello everyone, another post looking for help on another issue. 

It may very well be a bad configuration on my part, and if so I will gladly take some advice on where I may be going wrong. 

 

I noticed about a week ago (roughly) that my load average on the server was quite high, and the CPU was constantly in red on the dashboard. 

htop shows many processes with the command below:

/usr/local/bin/shfs /mnt/user -disks 31 -o default_permissions,allow_other,noatime -o remember=330

 

I have read that this is normal to have these processes as it's what unraid uses to facilitate shares, however I think the amount of CPU they are using is a little unreasonable.

 

I can't seem to pin down any particular actions I may have taken that would result in the high CPU I'm experiencing right now, but I have been playing around quite a but replacing NPM with traefik, crowdsec and authelia. 

 

Can someone help me understand why there are so many of these /usr/local/bin/shfs commands running, eating so much CPU cycles?

Did I mis-configure something along the way perhaps? 

 

Server Details:

Ryzen 7 3700x

Asus Prime x570 Pro

80GB DDR4 Memory

LSI HBA (IT Mode) with 6 Seagate Ironwolf 8TB ZFS Disks (2 parity, 4 array)

1 Samsung 980 SSD Cache

Nvidia 1070ti GPU for transcoding 

 

Screenshot from 2023-08-28 23-07-07.png

Screenshot from 2023-08-28 23-07-07.png

unraid-diagnostics-20230828-2303.zip

  • Community Expert

You can try changing everything you can to user disk shares instead, or the new exclusive shares.

  • Author
4 hours ago, JorgeB said:

You can try changing everything you can to user disk shares instead, or the new exclusive shares.

 

Thanks @JorgeB for the info. Would this be something that I may have changed somehow, and your're recommending that I change back to `user disk shares` or exclusive shares?

 

I'm not familiar with either but let me google and see what I find. 

Is there a benefit /drawback to doing either approach?

  • Community Expert

Benefit is performance since it bypasses FUSE, drawback is that it can only be used with pools or a single array disk for each app.

  • Community Expert

This is a separate issue.

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.