Errors: Failed to map transaction log, Corrupted transaction log, imeout (180s) while waiting for lock for transaction log

absolutely_free at libero.it absolutely_free at libero.it
Wed Jan 26 14:48:22 UTC 2022


Hi all,

I am using dovecot-2.3.17_1 on FreeBSD system.

This server offers webmail, pop3 and imap access for users.

Today I am receiving several complaints from users about slowness and/or access issues.

I checked on my /var/log/maillog and I see lots of:


Error: Timeout (180s) while waiting for lock for transaction log file /var/domains/domain.it/username/Maildir/dovecot.list.index.log (WRITE lock held by pid 84939)

Error: Corrupted transaction log file /var/domains/domain.it/otherusername/Maildir/dovecot.list.index.log seq 2: indexid changed: 1643184505 -> 1643205059 (sync_offset=0)

Error: Transaction log file /var/domains/otherdomain.net/otheruser/Maildir/dovecot.list.index.log: marked corrupted

Not all users seem affected. My mailbox, for example, is working fine.

I checked on my disks (this is a ZFS volume) and I didn't find errors/warnings.

Any suggestion?

This is my dovecot configuration:


# dovecot -n
# 2.3.17 (e2aa53df5b): /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 13.0-RELEASE-p6 amd64 zfs
# Hostname: mailserver.domain.it
auth_debug = yes
auth_mechanisms = plain login
auth_verbose = yes
default_client_limit = 2000
default_process_limit = 500
default_vsz_limit = 512 M
disable_plaintext_auth = no
first_valid_gid = 125
first_valid_uid = 125
imap_id_log = *
mail_gid = 1003
mail_location = maildir:/mail/domains
mail_privileged_group = postfix
mail_uid = 1003
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = /usr/local/etc/dovecot/dovecot-sql-crypt.conf.ext
driver = sql
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
unix_listener auth-userdb {
group = postfix
mode = 0600
user = postfix
}
}
service imap {
process_limit = 1536
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
ssl_cert = </etc/ssl/wildcard.domain.net_bundle.crt
ssl_key = # hidden, use -P to show it
userdb {
args = /usr/local/etc/dovecot/dovecot-sql-crypt.conf.ext
driver = sql
}
protocol imap {
mail_max_userip_connections = 100
}

Thank you very much

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20220126/f39cc9ce/attachment.htm>


More information about the dovecot mailing list