Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654544 - net-mail/dovecot-2.3.1 - dsync-local: Error: Failed to lock mailbox INBOX for dsyncing: file_create_locked(/var/spool/mail/mail.org/login/.maildir/.dovecot-box-sync.lock) failed: fcntl(/var/spoo l/mail/mail.org/login/.maildir/.dovecot-box-sync.lock, ...
Summary: net-mail/dovecot-2.3.1 - dsync-local: Error: Failed to lock mailbox INBOX for...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-01 17:22 UTC by Rafal Kupiec
Modified: 2018-09-26 13:26 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Kupiec 2018-05-01 17:22:00 UTC
[ebuild   R    ] sys-libs/glibc-2.26-r6:2.2::gentoo  USE="caps gd hardened (multilib) -audit -debug -doc -headers-only -nscd (-profile) (-selinux) -suid -systemtap (-vanilla)" 0 KiB
[ebuild   R    ] net-mail/dovecot-2.3.1::gentoo  USE="bzip2 caps ipv6 lzma managesieve mysql pam sieve sqlite tcpd zlib -argon2 -doc -kerberos -ldap -libressl -lua -lucene -lz4 -postgres (-selinux) -solr -static-libs -suid -textcat -vpopmail" 0 KiB
[ebuild   R    ] sys-devel/gcc-7.3.0-r1:7.3.0::gentoo  USE="cxx graphite hardened (multilib) nls nptl openmp (pie) (ssp) vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) -fortran (-gcj) -go (-jit) (-libssp) -mpx -objc -objc++ -objc-gc (-pch) -pgo -regression-test (-sanitize) -vanilla" 0 KiB
[ebuild   R    ] sys-devel/binutils-2.30-r1:2.30::gentoo  USE="cxx nls -doc -multitarget -static-libs {-test}" 0 KiB


After latest upgrade I am encountering a problem with dovecot. I have configured a replication and sometimes it fails to work. In logs I have found the following errors:


Apr 29 12:33:47 dsync-local(login@mail.org)<XuU3OWyf5VoXHAAA0J78UA>: Error: Failed to lock mailbox INBOX for dsyncing: file_create_locked(/var/spool/mail/mail.org/login/.maildir/.dovecot-box-sync.lock) failed: fcntl(/var/spoo
l/mail/mail.org/login/.maildir/.dovecot-box-sync.lock, write-lock, F_SETLKW) locking failed: Timed out after 30 seconds (WRITE lock held by pid 5921)
Apr 29 12:36:11 doveadm: Error: net_connect_unix(/run/dovecot/replicator-doveadm) failed: Resource temporarily unavailable
Apr 29 12:36:12 doveadm: Error: net_connect_unix(/run/dovecot/replicator-doveadm) failed: Resource temporarily unavailable
Apr 29 12:36:12 doveadm: Error: net_connect_unix(/run/dovecot/replicator-doveadm) failed: Resource temporarily unavailable
Apr 29 12:36:21 doveadm: Error: dsync(localhost): I/O has stalled, no activity for 600 seconds (last sent=mail, last recv=mail (EOL))
Apr 29 12:36:21 doveadm: Error: Timeout during state=sync_mails (send=mails recv=recv_last_common)


Also `doveadm replicator status` shows some failed request.
I have not done any reconfiguration - only system upgrade.