[Dovecot] nfs_flush errors
I'm looking for some help with an nfs error that is filling our logs. I get a constant stream of these messages:
Jul 8 10:47:08 servername dovecot: [ID 107833 mail.error] IMAP(username): nfs_flush_file_handle_cache_dir: rmdir(/var/mail) failed: Device busy
I have two dovecot IMAP servers. All mailboxes are NFS mounted. The INBOX is /var/mail and the rest are in /home/<user>/mail.
It looks like work was done on this back in January:
http://www.dovecot.org/list/dovecot-cvs/2008-January/010638.html
And again in February: http://hg.dovecot.org/dovecot-1.1/rev/258477a3f1e7
Was a there another fix that I missed or is anybody else is still seeing the same issue?
Thanks, Hans
Hans Wunsch wrote:
I'm looking for some help with an nfs error that is filling our logs. I get a constant stream of these messages:
Jul 8 10:47:08 servername dovecot: [ID 107833 mail.error] IMAP(username): nfs_flush_file_handle_cache_dir: rmdir(/var/mail) failed: Device busy
What OS are your dovecot and NFS servers running? Is /var/mail (or whatever it may be symlinked to) an NFS mountpoint?
On Tue, 2008-07-08 at 11:17 -0700, Hans Wunsch wrote:
I'm looking for some help with an nfs error that is filling our logs. I get a constant stream of these messages:
Jul 8 10:47:08 servername dovecot: [ID 107833 mail.error] IMAP(username): nfs_flush_file_handle_cache_dir: rmdir(/var/mail) failed: Device busy
I have two dovecot IMAP servers. All mailboxes are NFS mounted. The INBOX is /var/mail and the rest are in /home/<user>/mail.
I guess the problem is dotlocking. They probably go away with the attached patch? But that also could make the locking slower if the cache doesn't get flushed and the cached stat values keep getting returned.
Timo Sirainen wrote:
On Tue, 2008-07-08 at 11:17 -0700, Hans Wunsch wrote:
I'm looking for some help with an nfs error that is filling our logs. I get a constant stream of these messages:
Jul 8 10:47:08 servername dovecot: [ID 107833 mail.error] IMAP(username): nfs_flush_file_handle_cache_dir: rmdir(/var/mail) failed: Device busy
I have two dovecot IMAP servers. All mailboxes are NFS mounted. The INBOX is /var/mail and the rest are in /home/<user>/mail.
I guess the problem is dotlocking. They probably go away with the attached patch? But that also could make the locking slower if the cache doesn't get flushed and the cached stat values keep getting returned.
Sorry for taking so long to get back on this one. But it seems the errors persist with the patch:
Jul 21 11:10:44 barrelv1 dovecot: [ID 107833 mail.error] IMAP(hans): nfs_flush_file_handle_cache_dir: rmdir(/var/mail) failed: Device busy Jul 21 11:10:44 barrelv1 dovecot: [ID 107833 mail.error] IMAP(hans): nfs_flush_file_handle_cache_dir: rmdir(/var/mail) failed: Device busy
Other ideas?
Thanks, Hans.
On Jul 22, 2008, at 1:33 PM, Hans Wunsch wrote:
Jul 8 10:47:08 servername dovecot: [ID 107833 mail.error]
IMAP(username): nfs_flush_file_handle_cache_dir: rmdir(/var/mail)
failed: Device busy I guess the problem is dotlocking. They probably go away with the attached patch? But that also could make the locking slower if the
cache doesn't get flushed and the cached stat values keep getting returned.Sorry for taking so long to get back on this one. But it seems the
errors persist with the patch:Jul 21 11:10:44 barrelv1 dovecot: [ID 107833 mail.error] IMAP(hans):
nfs_flush_file_handle_cache_dir: rmdir(/var/mail) failed: Device busy
Attached patch changes the only other place that I can think of.
participants (3)
-
Ben Winslow
-
Hans Wunsch
-
Timo Sirainen