[Dovecot] lock file 2nd attempt for help
Hi
my last post got no replies so i am trying again. FC3 dovecot 1.0 stable, 1 user has a lock file using mbox under /var/spool/mail/username
from the lock file the pid files are
File Descriptor Type File size Inode Path
Current dir Directory 4096 6426371 /home/domain/domain127
Root dir Directory 4096 2 /
Program code Regular file 1212428 1229832
/usr/local/libexec/dovecot/pop3 Shared library Regular file 108332 851976 /lib/ld-2.3.4.so Shared library Regular file 1524828 851978 /lib/tls/libc-2.3.4.so Shared library Regular file 16908 851993 /lib/libdl-2.3.4.so Shared library Regular file 47496 852018 /lib/libnss_files-2.3.4.so mem-w Regular file 12352 6471692 /home/domain/domain127/mail/.imap/INBOX/dovecot.index.log mem-w Regular file 35840 6471779 /home/domain/domain127/mail/.imap/INBOX/dovecot.index.cache mem-w Regular file 2504 6471769 /home/domain/domain127/mail/.imap/INBOX/dovecot.index 0u sock 69748498 can't identify protocol 1u sock 69748498 can't identify protocol 2w fifo 69748504 pipe 3r Character special 578 /dev/urandom 4uw Regular file 2504 6471769 /home/domain/domain127/mail/.imap/INBOX/dovecot.index 5uw Regular file 12352 6471692 /home/domain/domain127/mail/.imap/INBOX/dovecot.index.log 6uw Regular file 35840 6471779 /home/domain/domain127/mail/.imap/INBOX/dovecot.index.cache 7uw Regular file 2368595 2343048 /var/spool/mail/chelan
Can someone explain why this user gets a lock file?
Mark
On 21.11.2005, at 10:21, Obantec Support wrote:
my last post got no replies so i am trying again. FC3 dovecot 1.0 stable, 1 user has a lock file using mbox under /var/spool/mail/username
from the lock file the pid files are ..
What do you mean by this list? You mean you looked into the .lock file, got a process's pid from there and looked what files it has open? or?
I'm guessing this happens because of deadlocking. If you're using both dotlock and fcntl, you have to make sure that they're used in same order in all programs accessing the mboxes. Check with "procmail -v" what it says. Dovecot defaults to "dotlock fcntl". I think procmail could default to "fcntl dotlock", so you need to change Dovecot to use the same order. Or if both use fcntl, you could just remove dotlock completely.
Hi Timo
good to see you back on the list. Sorry if i seemed pushy but i had a lot of emails to 1 user waiting due to the .lock file
procmail -v reports Locking strategies: dotlocking, fcntl()
so do i need to add to dovecot.conf the line
lock_method = dotlocking, fcntl()
Mark
----- Original Message ----- From: "Timo Sirainen" tss@iki.fi To: "Obantec Support" support@obantec.net Cc: dovecot@dovecot.org Sent: Friday, December 02, 2005 1:23 PM Subject: Re: [Dovecot] lock file 2nd attempt for help
participants (2)
-
Obantec Support
-
Timo Sirainen