Timeout on deletion
az9901 at gmail.com
Sat Aug 3 13:26:10 MDT 2013
Le 20 mai 2013 à 10:55, AZ 9901 a écrit :
> I use Rsync client (3.0.9) synchronising to a Rsync daemon (3.0.8) over SSH.
> I have sometimes a huge amount of files to delete.
> Rsync daemon can take a lot of time to delete them, leading Rsync client into a timeout…
> Is there any way to avoid this timeout ?
> I would have liked not to increase timeout value on client side (which is already set to 600 seconds), as I don't really know how long the deletion will take.
> Could it be possible for the client and the daemon to communicate with each other from time to time during the deletion process ?
> The client would then know that deletion is still in progress, this would avoid timeout !
I answer myself, Rsync 3.1.0 provides the following improvement :
- A daemon can now inform a client about a daemon-configured timeout value
so that the client can assist in the keep-alive activity (protocol 31).
I understand that it will avoid timeouts reached by the daemon while the client is working on its side (file list generation etc...).
But will it also help when the daemon is working on its side ? (file deletion as in my example above)
Thank you !
More information about the rsync