[Dovecot] Sudden, large numbers of "Timeout while waiting for lock for transaction log ..."

Jack Stewart jstewart at caltech.edu
Wed Jan 7 18:32:30 EET 2009



Timo Sirainen wrote:
> On Tue, 2009-01-06 at 23:11 -0800, Jack Stewart wrote:
>> an  6 01:21:02 earth-griffen dovecot: IMAP(zabala): Timeout while 
>> waiting for lock for transaction log file 
>> /var/spool/dovecot/indexes/z/zabala/.INBOX/dovecot.index.log
> 
> This is the main problem. So indexes are also on NFS? What locking are
> they using (dovecot -n output)?
> 

Yes, the indexes are also on NFS.

The locking is fcntl() - the default.

Below is the dovecot -n output.

One of the guys that I work with appears to clear up the problem for now 
- I think it was via manual deletion of the indexes and processes that 
were logging errors but I won't know for sure until he gets in.



# 1.1.3: /etc/dovecot.d/imap-server-its-caltech-edu.cfg
base_dir: /var/run/dovecot/imap-server-its/
syslog_facility: local4
protocols: imap imaps
listen: *:10143
ssl_listen: *:10993
ssl_ca_file: /etc/pki/dovecot/certs/caltech-ca.pem
ssl_cert_file: /etc/pki/dovecot/certs/imap-server.its.caltech.edu.pem
ssl_key_file: /etc/pki/dovecot/private/imap-server.its.caltech.edu.key
disable_plaintext_auth: yes
login_dir: /var/run/dovecot/imap-server-its//login
login_executable: /opt/dovecot/libexec/dovecot/imap-login
login_processes_count: 16
login_max_processes_count: 2048
max_mail_processes: 4096
mail_max_userip_connections: 1024
verbose_proctitle: yes
mail_location: 
maildir:/var/spool/maildir/%1Ln/%Ln:INDEX=/var/spool/dovecot/indexes/%1Ln/%Ln
mail_debug: yes
mail_full_filesystem_access: yes
mmap_disable: yes
mail_nfs_storage: yes
mail_nfs_index: yes
mail_plugins: fts fts_squat
imap_capability: IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND 
UNSELECT LITERAL+ CHILDREN NAMESPACE LOGIN-REFERRALS UIDPLUS 
LIST-EXTENDED I18NLEVEL=1
imap_client_workarounds: delay-newmail netscape-eoh
pop3_reuse_xuidl: yes
pop3_uidl_format: UID%v-%u
namespace:
   type: private
   separator: .
   prefix: Mail.
   inbox: yes
   list: yes
   subscriptions: yes
auth default:
   mechanisms: plain login
   verbose: yes
   passdb:
     driver: ldap
     args: /etc/dovecot.conf-ldap
   userdb:
     driver: static
     args: uid=vmail gid=mail home=/var/spool/maildir/%1Ln/%Ln
   socket:
     type: listen
     master:
       path: /var/run/dovecot/imap-server-its/auth-master
       mode: 384
       user: vmail
       group: mail


More information about the dovecot mailing list