Help with transaction log and index file corruption.
I am using dovecot 2.2.13 on a VPS. One (only one!) of the users is experiencing IMAP disconnections. The maillog file is full of errors about corrupted transaction log and index files.
The configurations follows:
# 2.2.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-028stab107.1 x86_64 CentOS release 6.4 (Final) auth_cache_size = 1 k auth_mechanisms = plain login auth_username_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$-=?^_{}~./@+%" disable_plaintext_auth = no namespace { inbox = yes location = prefix = INBOX. type = private } passdb { args = /usr/local/cpanel/bin/dovecot-wrap driver = checkpassword } plugin { acl = vfile quota = maildir quota_rule = INBOX.Trash:ignore } protocols = imap service auth { unix_listener auth-client { mode = 0666 } } service imap-login { client_limit = 500 inet_listener imap { address = * } inet_listener imaps { address = * } process_limit = 50 process_min_avail = 5 service_count = 0 vsz_limit = 64 M } service imap { process_limit = 512 vsz_limit = 256 M } service managesieve-login { client_limit = 500 process_limit = 50 process_min_avail = 5 service_count = 0 vsz_limit = 64 M } service managesieve { process_limit = 512 vsz_limit = 256 M } service pop3-login { client_limit = 500 inet_listener pop3 { address = * } inet_listener pop3s { address = * } process_limit = 50 process_min_avail = 5 service_count = 0 vsz_limit = 64 M } service pop3 { process_limit = 512 vsz_limit = 256 M } ssl_cert =
Can anyone help me on this??? I am about to cry!
thank you!
Claudio
Am 27.08.2014 um 16:31 schrieb CLMDRIVE:
I am using dovecot 2.2.13 on a VPS. One (only one!) of the users is experiencing IMAP disconnections. The maillog file is full of errors about corrupted transaction log and index files.
The configurations follows:
# 2.2.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-028stab107.1 x86_64 CentOS release 6.4 (Final) auth_cache_size = 1 k auth_mechanisms = plain login auth_username_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!#$-=?^_{}~./@+%" disable_plaintext_auth = no namespace { inbox = yes location = prefix = INBOX. type = private } passdb { args = /usr/local/cpanel/bin/dovecot-wrap driver = checkpassword } plugin { acl = vfile quota = maildir quota_rule = INBOX.Trash:ignore } protocols = imap service auth { unix_listener auth-client { mode = 0666 } } service imap-login { client_limit = 500 inet_listener imap { address = * } inet_listener imaps { address = * } process_limit = 50 process_min_avail = 5 service_count = 0 vsz_limit = 64 M } service imap { process_limit = 512 vsz_limit = 256 M } service managesieve-login { client_limit = 500 process_limit = 50 process_min_avail = 5 service_count = 0 vsz_limit = 64 M } service managesieve { process_limit = 512 vsz_limit = 256 M } service pop3-login { client_limit = 500 inet_listener pop3 { address = * } inet_listener pop3s { address = * } process_limit = 50 process_min_avail = 5 service_count = 0 vsz_limit = 64 M } service pop3 { process_limit = 512 vsz_limit = 256 M } ssl_cert =
Can anyone help me on this??? I am about to cry! Don't know, but I can try to give you some information on what I would check.
http://wiki2.dovecot.org/Debugging/Rawlog to debug the imap connection, there are probably some more information about the problem of this user.
Most of dovecots index files can easily be deleted and dovecot will create new ones of his own. So I would check which files are causing the problems and if it is save to delete them. If it is then delete them and see what happens.
Philipp
thank you!
Claudio
dovecot2-2.2.13_3
FreeBSD 9.3
CPU: Intel(R) Celeron(R) CPU E1400 @ 2.00GHz (1995.04-MHz
686-class CPU)
Origin = "GenuineIntel" Id = 0x6fd Family = 6 Model = f Stepping = 13
Features=0xbfebfbff
*Errors like this one were filling my maillog:*
Aug 18 14:20:54 darwin dovecot: imap(yvan): Error: posix_fadvise(/home/yvan/.Maildir/cur/1408371037.5419_0.darwin:2,a) failed: Function not implemented Aug 18 14:20:54 darwin dovecot: imap(yvan): Error: posix_fadvise(/home/yvan/.Maildir/cur/1408371653.M92611P3439.darwin,S=44011,W=44796:2,S) failed: Function not implemented Aug 18 14:20:54 darwin dovecot: imap(yvan): Error: posix_fadvise(/home/yvan/.Maildir/cur/1408371653.M92611P3439.darwin,S=44011,W=44796:2,S) failed: Function not implemented
This has been happening for at least a year. Other than this error, dovecot appeared to run normally.
I finally got it to go away by recompiling with *kqueue *disabled.
dovecot -n follows. /(Note OS version is incorrectly reported due to host/jail version mismatch)./
darwin# dovecot -n # 2.2.13: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 9.0-RELEASE-p3 i386 ufs auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = plain listen = 67.205.69.28 mail_location = maildir:/home/%n/.Maildir 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 = dovecot driver = pam } protocols = imap service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } } ssl_ca =
participants (3)
-
CLMDRIVE
-
Philipp Faeustlin
-
Yvan Rodrigues