Hi.

I’m trying to stuff a new maildir folder containing 1m+ messages (gatewayed 
from news) onto my IMAP server. Notwithstanding the usual *slowness* of that 
server (Apple IMAP, so maybe not the best choice), it’s usual for a timeout of 
30 seconds to work in normal operation, getting neatly around stalls that occur 
for seemingly random reasons despite the fact that I’m well-connected from a 
fixed connection. (Insert rant about NAT and firewalls and other evil 
middleboxes here.) But while initially synchronising the mailbox, even before 
the synchronising stage has identified all the far-side messages to be 
appended, and before the first append has taken place, the 30 sec timeout 
repeatedly occurs with every subsequent invocation of mbsync from launchd.

So my question is this: is it expected behaviour that timeouts occur because of 
long local operations, and is it *correct* or desirable behaviour? Isn’t the 
“right thing” here to have a dedicated idle timeout, which would take effect 
while isync is doing purely local computation?

I am successfully working around this situation by using a separate config file 
for the duration of the initial upload which I am running interactively (and 
yes, the server really *is* slow). Once that’s done, I should be able to revert 
to my usual configuration, and if my understanding of the loading/sync process 
is right, subsequent incremental additions should be relatively fast because 
isync only needs information from the directory listing, won’t need to rename 
large numbers of files, and won’t spend a long time calculating the pending 
operations to be done.

This will all probably turn out to be a terrible idea and I really should just 
find other ways to examine the mailbox and slim it down. But I’d love to know 
what you think.

Cheers,
Sabahattin



_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to