Gandalf Corvotempesta
2016-10-01 13:32:54 UTC
Hi to all
i'm using "xargs" to run 2 rsnapshot processes in parallel, something like this:
find ${CFG_PATH}/*.conf -printf "%p\n" | xargs -n1 -P 2 -I{} rsnapshot -c{} sync
parallel jobs are running fine, but sometimes rsnapshot is unable to
detect that rsync ended properly and start the sync process 3 times (i
have num_retries set to 3)
AFAIK, xargs is unable to tell the exit code for each process but is
returning a single return code for all processes, but this should not
interfere with rsnapshot, as the return code from xargs is not seen by
rsnapshot.
Do you have an idea why rsnapshot is not seeing the return code from
rsync ? This doesn't happen always and I don't know how to
troubleshoot this.
Any "execution" limit before rsnapshot mark the process as failed ? In
our case these failed backup was running from 15 hours.
i'm using "xargs" to run 2 rsnapshot processes in parallel, something like this:
find ${CFG_PATH}/*.conf -printf "%p\n" | xargs -n1 -P 2 -I{} rsnapshot -c{} sync
parallel jobs are running fine, but sometimes rsnapshot is unable to
detect that rsync ended properly and start the sync process 3 times (i
have num_retries set to 3)
AFAIK, xargs is unable to tell the exit code for each process but is
returning a single return code for all processes, but this should not
interfere with rsnapshot, as the return code from xargs is not seen by
rsnapshot.
Do you have an idea why rsnapshot is not seeing the return code from
rsync ? This doesn't happen always and I don't know how to
troubleshoot this.
Any "execution" limit before rsnapshot mark the process as failed ? In
our case these failed backup was running from 15 hours.