Hi all, I would like to understand the meaning of "Stale mailbox lock file detected" In index-storage.c (https://mis.dopa.go.th/atmail/server_source/dovecot/src/lib-storage/index/in...) there is this notice "Stale mailbox lock file detected" ...
I have a java application which connects via javamail to a dovecot server and I have some anomalies when that message comes.
Thanks, bye
Raffaele Gambelli
On 23.02.2018 11:41, Raffaele Gambelli wrote:
Hi all, I would like to understand the meaning of "Stale mailbox lock file detected" In index-storage.c (https://mis.dopa.go.th/atmail/server_source/dovecot/src/lib-storage/index/in...) there is this notice "Stale mailbox lock file detected" ...
I have a java application which connects via javamail to a dovecot server and I have some anomalies when that message comes.
Thanks, bye
Raffaele Gambelli
This is third email you've sent about this...
doveconf -n
Also do you have some other process(es) that touch the mailbox?
Aki
I have no idea how you'd even get that error then.
Aki
On 23.02.2018 12:07, Raffaele Gambelli wrote:
Thanks but what answer it mean "doveconf -n"? I have neither control nor access in the dovecot installation to which I'm connecting.
I'm waiting to know the dovecot version but it could be that for legal reasons I will never receive it.
So please, if you know it obviously, why and when a dovecot server sends that notice?
Thanks, bye
Raffaele Gambelli
-----Aki Tuomi aki.tuomi@dovecot.fi ha scritto: ----- Per: Raffaele Gambelli R.Gambelli@hitachi-systems-cbt.com, dovecot@dovecot.org Da: Aki Tuomi aki.tuomi@dovecot.fi Data: 23/02/2018 10.54AM Oggetto: Re: Stale mailbox lock file
On 23.02.2018 11:41, Raffaele Gambelli wrote:
Hi all, I would like to understand the meaning of "Stale mailbox lock file detected" In index-storage.c (https://mis.dopa.go.th/atmail/server_source/dovecot/src/lib-storage/index/in... ) there is this notice "Stale mailbox lock file detected" ...
I have a java application which connects via javamail to a dovecot server and I have some anomalies when that message comes.
Thanks, bye
Raffaele Gambelli
This is third email you've sent about this...
doveconf -n
Also do you have some other process(es) that touch the mailbox?
Aki
Yes. I am one of them.
---Aki TuomiDovecot oy -------- Original message --------From: Raffaele Gambelli R.Gambelli@hitachi-systems-cbt.com Date: 23/02/2018 12:25 (GMT+02:00) To: dovecot@dovecot.org Subject: Re: Stale mailbox lock file
Thanks Aki, do you know if this list is read by dovecot developers team too? Could you point me to the right list otherwise?
Raffaele Gambelli
-----Aki Tuomi aki.tuomi@dovecot.fi ha scritto: -----
Per: Raffaele Gambelli R.Gambelli@hitachi-systems-cbt.com Da: Aki Tuomi aki.tuomi@dovecot.fi
Data: 23/02/2018 11.22AM Cc: dovecot@dovecot.org Oggetto: Re: Stale mailbox lock file
I have no idea how you'd even get that error then.
Aki
On 23.02.2018 12:07, Raffaele Gambelli
wrote:
Thanks but what answer it mean "
doveconf -n"?
I have neither control nor access in the dovecot installation to which I'm connecting.
I'm waiting to know the dovecot version but it could be
that for legal reasons I will never receive it.
So please, if you know it obviously, why and when a dovecot
server sends that notice?
Thanks, bye
Raffaele Gambelli
-----Aki Tuomi
aki.tuomi@dovecot.fi ha scritto: -----
Per: Raffaele Gambelli
R.Gambelli@hitachi-systems-cbt.com,
dovecot@dovecot.org
Da: Aki Tuomi
aki.tuomi@dovecot.fi
Data: 23/02/2018 10.54AM
Oggetto: Re: Stale mailbox lock file
On 23.02.2018 11:41, Raffaele Gambelli wrote: Hi all, I would like to understand the meaning of "Stale mailbox lock file detected" In index-storage.c ( https://mis.dopa.go.th/atmail/server_source/dovecot/src/lib-storage/index/in... ) there is this notice "Stale mailbox lock file detected" ...
I have a java application which connects via javamail
to a dovecot server and I have some anomalies when that message comes.
Thanks, bye
Raffaele Gambelli
This is third email you've sent about this...
doveconf -n
Also do you have some other process(es) that touch the
mailbox?
Aki
It gets called when some imap process has left a lock file, but didn't clean it up (i.e. it crashed?). It means it cannot lock uidlist, but will notify if count of messages change.
It is not very simple to debug this kind of issue from outside.
Aki
On 23 February 2018 at 13:53 Raffaele Gambelli R.Gambelli@hitachi-systems-cbt.com wrote:
So you don't know when this piece of code is executed:
case MAILBOX_LOCK_NOTIFY_MAILBOX_OVERRIDE: if (storage->callbacks->notify_ok == NULL) break; str = t_strdup_printf("Stale mailbox lock file detected, " "will override in %u seconds", secs_left); storage->callbacks->notify_ok(&ibox->box, str, storage->callback_context); break; }
Also do you have some other process(es) that touch the mailbox?
Without having access to this dovecot installation, I can't answer your question, but which could be the problem if there were some other processes?
I try to reformulate question, is it possible that when dovecot sends that notification, it blocks and don't send any other notifications like for example when the count of messages in a folder is changed?
Raffaele Gambelli
-----"dovecot" dovecot-bounces@dovecot.org ha scritto: ----- Per: Raffaele Gambelli R.Gambelli@hitachi-systems-cbt.com, dovecot@dovecot.org Da: Aki Tuomi aki.tuomi@dovecot.fi Inviato da: "dovecot" dovecot-bounces@dovecot.org Data: 23/02/2018 12.10PM Oggetto: Re: Stale mailbox lock file
Yes. I am one of them.
Aki Tuomi Dovecot oy
-------- Original message -------- From: Raffaele Gambelli R.Gambelli@hitachi-systems-cbt.com Date: 23/02/2018 12:25 (GMT+02:00) To: dovecot@dovecot.org Subject: Re: Stale mailbox lock file
Thanks Aki,
do you know if this list is read by dovecot developers team too? Could you point me to the right list otherwise?
Raffaele Gambelli
-----Aki Tuomi aki.tuomi@dovecot.fi ha scritto: ----- Per: Raffaele Gambelli R.Gambelli@hitachi-systems-cbt.com Da: Aki Tuomi aki.tuomi@dovecot.fi Data: 23/02/2018 11.22AM Cc: dovecot@dovecot.org Oggetto: Re: Stale mailbox lock file
I have no idea how you'd even get that error then.
Aki
On 23.02.2018 12:07, Raffaele Gambelli wrote:
Thanks but what answer it mean " doveconf -n"? I have neither control nor access in the dovecot installation to which I'm connecting. I'm waiting to know the dovecot version but it could be that for legal reasons I will never receive it. So please, if you know it obviously, why and when a dovecot server sends that notice? Thanks, bye Raffaele Gambelli -----Aki Tuomi <aki.tuomi@dovecot.fi> ha scritto: ----- Per: Raffaele Gambelli <R.Gambelli@hitachi-systems-cbt.com>, dovecot@dovecot.org Da: Aki Tuomi <aki.tuomi@dovecot.fi> Data: 23/02/2018 10.54AM Oggetto: Re: Stale mailbox lock file On 23.02.2018 11:41, Raffaele Gambelli wrote: > > Hi all,
I would like to understand the meaning of "Stale mailbox lock file detected" In index-storage.c ( https://mis.dopa.go.th/atmail/server_source/dovecot/src/lib-storage/index/index-storage.c ) there is this notice "Stale mailbox lock file detected" ... I have a java application which connects via javamail to a dovecot server and I have some anomalies when that message comes. Thanks, bye Raffaele Gambelli > This is third email you've sent about this...
doveconf -n Also do you have some other process(es) that touch the mailbox? Aki </dovecot-bounces@dovecot.org></aki.tuomi@dovecot.fi>
participants (2)
-
Aki Tuomi
-
Raffaele Gambelli