Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
NFS errors on directories with many files
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-10-05
04:43 PM
2014-10-05
04:43 PM
NFS errors on directories with many files
I'm hosting IMAP mailboxes on a ReadyNAS Pro 4 (running firmware 4.2.26). The mailboxes are mounted over NFS on a Linux (Ubuntu 12.04) server running dovecot - one of the users complained that they suddenly stopped being able to access their mailbox.
The following appears in the IMAP server log:
Oct 5 16:27:14 vigilance dovecot: imap(nise): Error: readdir(/pensive/Home/nise/Maildir/cur) failed: Too many levels of symbolic links
Oct 5 16:27:14 vigilance kernel: [249959.213572] NFS: directory Maildir/cur contains a readdir loop.Please contact your server vendor. The file: 1394491503.M757191P5231Q0R34a969c8dce7a857.vigilance:2,l^C has duplicate cookie 30107461
the internet tells me this is a known problem created by widening the readdir cookie (apparently their mailbox grew to contain enough messages that it's overflowing the 32 bit cookie) - http://lwn.net/Articles/544520/ - and that the only solution involves a kernel upgrade to the NFS server.
Can someone from Linksys comment on the possibility of this being fixed in a future firmware release?
The following appears in the IMAP server log:
Oct 5 16:27:14 vigilance dovecot: imap(nise): Error: readdir(/pensive/Home/nise/Maildir/cur) failed: Too many levels of symbolic links
Oct 5 16:27:14 vigilance kernel: [249959.213572] NFS: directory Maildir/cur contains a readdir loop.Please contact your server vendor. The file: 1394491503.M757191P5231Q0R34a969c8dce7a857.vigilance:2,l^C has duplicate cookie 30107461
the internet tells me this is a known problem created by widening the readdir cookie (apparently their mailbox grew to contain enough messages that it's overflowing the 32 bit cookie) - http://lwn.net/Articles/544520/ - and that the only solution involves a kernel upgrade to the NFS server.
Can someone from Linksys comment on the possibility of this being fixed in a future firmware release?
Message 1 of 3
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-10-07
01:06 PM
2014-10-07
01:06 PM
Re: NFS errors on directories with many files
I can't speak for Linksys ;-), but we should be able to address that in a beta release soon.
Message 2 of 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-10-07
02:32 PM
2014-10-07
02:32 PM
Re: NFS errors on directories with many files
Do I feel silly - I was fighting multiple issues at the same time and got my vendors crossed.
Sorry.
And that's great 🙂
Sorry.
And that's great 🙂
Message 3 of 3