Replikation: .dovecot-sync.lock stale
Hanns Mattes
hanns at hannsmattes.de
Mi Nov 11 23:52:58 CET 2026
Hei, Patrick,
hei, alle
Am 11.11.26 um 16:43 schrieb Patrick Cernko via Dovecot:
> Hallo Hanns, hallo Liste,
>
> On 2026-11-11 16:25:32, Hanns Mattes via Dovecot wrote:
>> Hei, liebe Liste,
>>
>> zwei Server freebsd.bruecko.de und mail.bruecko.de, mail ist neu
>> aufgesetzt.
>>
>> Beide unter freebsd 14.5, dovecot 2.3x
>>
>> Nachdem ich mail.bruecko.de neu aufgesetzt habe, treffen ich
>> gelegentlich auf dsync-fehler, da das lockfile offenbar nicht
>> aufgehoben wird.
>>
>
> Wie lautet denn die Fehlermeldung?
> Bist du sicher, dass da nicht noch ein dsync läuft und deshalb die Box
> noch gelockt ist?
> Gibt es sonst irgendwelche hilfreichen Log-Ausgaben, z.B. von dem
> Prozess der das Lock angelegt hat und vergaß weg zu räumen?
>> Hier einmal die dsync-configuration:
Das sieht so aus:
doveadm(hannsldap at hannsmattes.de)<82043><IZGJB6Hw9Gp7QAEAA4a8sQ>: Error:
Couldn't lock /virtualmail/hannsmattes.de/hannsldap/.dovecot-sync.lock:
fcntl(/virtualmail/hannsmattes.de/hannsldap/.dovecot-sync.lock,
write-lock, F_SETLKW) locking failed: Timed out after 30 seconds (WRITE
lock held by pid 62802)
Dann also:
ps -p 62802 -o command
COMMAND
doveadm-server: [hannsldap at hannsmattes.de recv_mailbox_tree]
(doveadm-server)
Der Prozess ist aber weg, nur das lockfile bleibt.
Wenn's mehr Informationen braucht, lasst es mich wissen.
LG Hanns
Mehr Informationen über die Mailingliste Dovecot