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.

Too many open files (cache_dirs?)

Featured Replies

It seems that after I installed cache_dirs I started getting a ton of these messages:

 

May 10 14:27:39 Tower shfs: shfs_readdir: opendir: /mnt/disk3/Series/Threshold/Season 1 (24) Too many open files
May 10 14:27:39 Tower last message repeated 27 times
May 10 14:27:39 Tower shfs: shfs_readdir: opendir: /mnt/disk4/Series/Threshold/.actors (24) Too many open files
May 10 14:27:39 Tower last message repeated 10 times
May 10 14:27:39 Tower shfs: shfs_flush: close: (9) Bad file descriptor
May 10 14:27:40 Tower shfs: shfs_flush: close: (9) Bad file descriptor
May 10 14:27:40 Tower shfs: shfs_open: open: /mnt/disk3/Series/Keeping up Appearances/Season 5/Keeping Up Appearances - S05E03 - Hyacinth is Alarmed.nfo (24) Too many open files
May 10 14:27:40 Tower shfs: shfs_readdir: opendir: /mnt/disk3/Series/Keeping up Appearances/Season 5 (24) Too many open files
May 10 14:27:41 Tower last message repeated 3 times

 

Anyone know how to get rid of these messages? Everything seems to be working fine otherwise..

To see the current max number of open files type:

root@Tower:/boot# cat /proc/sys/fs/file-max

44346

 

To set it higher type:

root@Tower:/boot# echo "200000" > /proc/sys/fs/file-max

 

To see the new value:

root@Tower:/boot# cat /proc/sys/fs/file-max

200000

 

  • Author

hmm..

 

root@Tower:~# cat /proc/sys/fs/file-max

201814

 

That should be enough no?

I can't imagine what would possibly need to keep 201814 files open at the same time.

Also, notice those "Bad file descriptor" messages.  Something is seriously wrong here.

Have you run a memtest lately?

 

Archived

This topic is now archived and is closed to further replies.

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.