NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
dmw
Oct 29, 2011Aspirant
"Too many open files" error: Win7, Ultra, RAIDiator 4.2.19
I've just added a Readynas Ultra 4 Plus to my LAN. Until now I had been using an NV+. Each night I run a backup of files on the ReadNAS to a USB drive on my PC, using Genie9 (fka Genie-Soft) Backup. T...
dmw
Oct 30, 2011Aspirant
I've done further testing. A backup is currently running from the ReadyNAS to my PC, with about 60,000 files processed out of about 236,000. The NAS was accessible from the PC which is running the backup software until it got past about 16,000 files, then it became inaccessible. I used Windows Resource Monitor to look at the "Associated Handles" of the process which is running the backup. It appears that there are about 16,384 (2^14) handles for open files. I can see the directory names in the handles, which are nearly all in the first 16k files the backup would encounter.
So it seems that Samba on the ReadyNAS is not closing the files to the satisfaction of Windows 7 x64. The backup continues after that though, so these files have all been processed. If I stop the backup mid-way, then the NAS remains inaccessible until I close the backup program on the PC, killing the process, which releases the open files. Then I can access the NAS again.
Again, what version of Samba is running on x86-based ReadyNAS machines? I suspect that it is using an old version of Samba before the fix was introduced in Samba 3.5.0. Here's the change log again (search it for BUG 6837: "Too many open files" when trying to access large number of files from Windows 7):
http://www.samba.org/samba/history/samba-3.5.0.html
So it seems that Samba on the ReadyNAS is not closing the files to the satisfaction of Windows 7 x64. The backup continues after that though, so these files have all been processed. If I stop the backup mid-way, then the NAS remains inaccessible until I close the backup program on the PC, killing the process, which releases the open files. Then I can access the NAS again.
Again, what version of Samba is running on x86-based ReadyNAS machines? I suspect that it is using an old version of Samba before the fix was introduced in Samba 3.5.0. Here's the change log again (search it for BUG 6837: "Too many open files" when trying to access large number of files from Windows 7):
http://www.samba.org/samba/history/samba-3.5.0.html
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!