I am trying to synchronise several 100MB files using s3sync. About half of the attempts fail due to losing connection halfway through (I understand this, and am looking into it). Of the remainder, about half of them fail right at the end, after the upload itself seems to have completed. Here is an extract from my log...
Progress: 104524800b 37786b/s 99%
Progress: 104613888b 37803b/s 99%
Progress: 104699904b 37818b/s 99%
Progress: 104787968b 37834b/s 99% S3 command failed:
put backup.cobb.me.uk DARhome/DARhomeDiff01.3.dar.gpg.01 #<S3::S3Object:0x2b5b0fc47418> Content-Length 104857600
With result 400 Bad Request
I would be interested to know what is failing to see if there is anything I can do to reduce the number of failures as it takes about 1 hour for each file to upload and about half of them fail after that upload. Also, S3Sync doesn't retry after that error.
For example, is it at all likely that the problem is related to it taking along time to upload the file (in which case I might be better off splitting the file into much smaller chunks)?
I do know that it is not a problem with the particular file as if I retry the same file still has the same 50-50 chance of succeeding next time.
Graham