On Wed, May 13, 2015 at 12:51:05PM -0400, Peter P. wrote: > Just out of curiosity: So mbsync does lock the mailbox it is currently > syncing? > technically speaking, it locks the sync state belonging to the mailbox. the mailbox itself can keep changing, which is supposed to be handled gracefully.
maildir mailboxes additionally have short-lived locks on the uidvalidity files, which are needed to enumerate new messages. mbsync has a known weakness here: no timeout handling. that means that if another process (most probably another mbsync) hung in this state, mbsync would also hang. this could only happen due to bugs or some serious system issues, but i should fix it at some point nonetheless. > Would it try to sync all other mailboxes that aren't locked > nevertheless? > yes. you can start multiple processes and see who wins the race for which mailbox. :D this is actually a viable way to parallelize mbsync runs as long as it does not support parallel syncing of multiple channels internally. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel