Goal
#147 notes that Unison crashes without warning. EugenMayer/docker-sync#497 notes that there are cases where filesystem/sync stress leads to runaway CPU usage which will lead to a crash. If we detect that runaway state and restart the unison process, the bootstrapping process will take a clean look at the files on both sides of the sync and general grind through the sync instead of getting trapped in thrashing.
How can we handle the restart?
Notes
A few bits of research around this:
Goal
#147 notes that Unison crashes without warning. EugenMayer/docker-sync#497 notes that there are cases where filesystem/sync stress leads to runaway CPU usage which will lead to a crash. If we detect that runaway state and restart the unison process, the bootstrapping process will take a clean look at the files on both sides of the sync and general grind through the sync instead of getting trapped in thrashing.
How can we handle the restart?
Notes
A few bits of research around this: