Msan Posted May 12, 2010 Share Posted May 12, 2010 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.. Link to comment
Joe L. Posted May 13, 2010 Share Posted May 13, 2010 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 Link to comment
Msan Posted May 13, 2010 Author Share Posted May 13, 2010 hmm.. root@Tower:~# cat /proc/sys/fs/file-max 201814 That should be enough no? Link to comment
purko Posted May 14, 2010 Share Posted May 14, 2010 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? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.