-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Premature EOF in some situations for s3cp? #21
Comments
For what it's worth, the errors seem to occur around about 22-25GB (of a 26.2GB file), although it's not regular enough for there to be any singlel threshold (and this doesn't seem deterministic; some large uploads did succeed recently). |
This will be hard to track down without a reproducible test case. I suspect this error is coming from If you can instrument the code and verify or falsify that it would help. retryUploadPart tries at most twice for each part, (see |
Thanks for the pointers. I figured this was a long shot. I'll see if I can dig in and get more info. |
For what it's worth, I wasn't able to dig deeper, but uploading ~35GB of zeros seems to reliably reproduce it: $ dd if=/dev/zero count=$((35*1024)) bs=1048576 | ./s3cp /dev/stdin https://$bucket.s3.amazonaws.com/$key
Put https://$bucket.s3.amazonaws.com/$key?partNumber=1342&uploadId=...: EOF gof3r seems to have no trouble with this same file. According to its log output, it does seem to retry ~10 times over the course of the upload, but it never has to retry the same part. I've tried this twice so far. |
We're running into some situations where we appear to get an EOF from a perfectly legitimate input file:
We're running a somewhat older s3cp (2f24149), but looking at the history, I don't think any of the commits since would address this. Could this be a s3cp problem, or can this error message occur due to upload issues? We've seen this on a number of instances, so it's unlikely to be a hardware issue in reading the source file.
The text was updated successfully, but these errors were encountered: