On Mon, Jul 24, 2017 at 08:39:36AM +0300, Aki Tuomi wrote:> Do you have users accessing the files concurrently from more than one > dovecot instance at a time?Yes. Apparently it is fairly common behavior for some IMAP clients to open up multiple connections to the same mailbox. Some times the multiple accesses came from different servers (stand alone IMAP client and a webmail system), but there is corruption even when all the accesses are going through the same server. (Yes, we need a director. I am working on integrating that into our network.) -- Bruce Guenter <bruce at untroubled.org> http://untroubled.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20170724/7b07318f/attachment.sig>
> On July 24, 2017 at 7:54 PM Bruce Guenter <bruce at untroubled.org> wrote: > > > On Mon, Jul 24, 2017 at 08:39:36AM +0300, Aki Tuomi wrote: > > Do you have users accessing the files concurrently from more than one > > dovecot instance at a time? > > Yes. Apparently it is fairly common behavior for some IMAP clients to > open up multiple connections to the same mailbox. Some times the > multiple accesses came from different servers (stand alone IMAP client > and a webmail system), but there is corruption even when all the > accesses are going through the same server. > > (Yes, we need a director. I am working on integrating that into our network.) > > -- > Bruce Guenter <bruce at untroubled.org> http://untroubled.org/Well, dovecot does not really guarantee access concurrency safety if you access indexes using more than one instance of dovecot at the same time. Nevertheless, did you try w/o LizardFS, just to rule out any bugs or incompabilities? Aki
On Mon, Jul 24, 2017 at 07:56:23PM +0300, Aki Tuomi wrote:> Well, dovecot does not really guarantee access concurrency safety if you access indexes using more than one instance of dovecot at the same time.Pardon my ignorance, but how does Dovecot handle when an IMAP client connects multiple times concurrently? Does it not launch multiple instances?> Nevertheless, did you try w/o LizardFS, just to rule out any bugs or incompabilities?Moving everybody off of LizardFS is not an option, and this has affected many separate mailboxes. Now that we have implemented a director front end (instead of just a semi-persistent load balancer), the instances have been reduced, but it is still happening on accounts that are not being accessed across multiple servers. I will see if I can pin these down to a single server and move them onto non-shared storage there. -- Bruce Guenter <bruce at untroubled.org> http://untroubled.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20170731/0fe350e5/attachment.sig>