After crash, it leaves lock files. Must reboot to run again.
Sebastian at SSpaeth.de
Tue Aug 30 20:53:02 BST 2011
On Tue, 30 Aug 2011 11:20:58 -0700 (PDT), chris coleman wrote:
> After a crash (steps to reproduce: disconnect the internet during the middle of a run), it leaves lock files on the disk.
Current OfflineImap always leaves the lock file existing, it just
request an exclusive lock via fcntl when it wants to take it. This way
the lock is going away when the process has gone away even if the lock
file is still there.
I have still the patch series to introduce per-account locking (and it
will clean up locks when it doesn't crash), but the locking method will
be the same: taking an exclusive lock.
If it doesn't work after a "crash" I would be very surprised (I believe
you though :-)). The locking code hasn't changed in ages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the OfflineIMAP-project