[Errno 32] Broken pipe when using 'get' command with --recursive and --remove-after-fetch
When trying to get ~200,000 small files <2kb, I get a broken pipe error using version 1.5.0
Also, deletes aren't logged when doing --dry-run in conjunction with --remove-after-fetch.
try github.com/mdomsch/s3cmd bug/broken-pipe branch. This may fix the broken pipe error. S3 is closing the connection when we don't expect it in v1.5.0.
--dry-run exits far earlier in the loop then where the --delete-after-fetch test occurs, so no, it won't log the deletes because it never gets anywhere near that far.
On Wed, Feb 18, 2015 at 1:22 PM, dalenhughes [email protected] wrote:
When trying to get ~200,000 small files <2kb, I get a broken pipe error using version 1.5.0
Also, deletes aren't logged when doing --dry-run in conjunction with --remove-after-fetch.
— Reply to this email directly or view it on GitHub https://github.com/s3tools/s3cmd/issues/482.
You can try upstream master branch now. The original reporter confirmed this worked for him, so I pulled my broken-pipe branch into upstream master branch.
Thanks, Matt
On Wed, Feb 18, 2015 at 1:30 PM, Matt Domsch [email protected] wrote:
try github.com/mdomsch/s3cmd bug/broken-pipe branch. This may fix the broken pipe error. S3 is closing the connection when we don't expect it in v1.5.0.
--dry-run exits far earlier in the loop then where the --delete-after-fetch test occurs, so no, it won't log the deletes because it never gets anywhere near that far.
On Wed, Feb 18, 2015 at 1:22 PM, dalenhughes [email protected] wrote:
When trying to get ~200,000 small files <2kb, I get a broken pipe error using version 1.5.0
Also, deletes aren't logged when doing --dry-run in conjunction with --remove-after-fetch.
— Reply to this email directly or view it on GitHub https://github.com/s3tools/s3cmd/issues/482.
Matt, Thanks for reaching out and, more importantly, for tackling this problem! I'll let you know if this passes my tests. Best,Dalen Date: Wed, 18 Feb 2015 13:52:53 -0800 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [s3cmd] [Errno 32] Broken pipe when using 'get' command with --recursive and --remove-after-fetch (#482)
You can try upstream master branch now. The original reporter confirmed
this worked for him, so I pulled my broken-pipe branch into upstream master
branch.
Thanks,
Matt
On Wed, Feb 18, 2015 at 1:30 PM, Matt Domsch [email protected] wrote:
try github.com/mdomsch/s3cmd bug/broken-pipe branch. This may fix the
broken pipe error. S3 is closing the connection when we don't expect it in
v1.5.0.
--dry-run exits far earlier in the loop then where the
--delete-after-fetch test occurs, so no, it won't log the deletes because
it never gets anywhere near that far.
On Wed, Feb 18, 2015 at 1:22 PM, dalenhughes [email protected]
wrote:
When trying to get ~200,000 small files <2kb, I get a broken pipe error
using version 1.5.0
Also, deletes aren't logged when doing --dry-run in conjunction with
--remove-after-fetch.
—
Reply to this email directly or view it on GitHub
https://github.com/s3tools/s3cmd/issues/482.
— Reply to this email directly or view it on GitHub.
I'm using s3cmd v 1.6.0+ doing get with --recursive and incurring the same errno 32 broken pipe error trying to get thousands of small files recursively.