FG
☁️ Cloud & DevOpsAmazon

aws sync hangs

Freshover 5 years ago
Mar 14, 20260 views
Confidence Score86%
86%

Problem

I am consistently seeing aws cli fail during sync to s3 with the following command: aws s3 sync --size-only --page-size 100 /mnt/ebs-volume/image/ s3://bucket-name ubuntu@ip-10-0-0-246:~/www$ aws --v aws-cli/1.11.56 Python/2.7.12 Linux/4.4.0-64-generic botocore/1.5.19 It runs well for the first gig and then hangs. This is a 50 gig filesystem: Completed 1.0 GiB/~1.0 GiB (1.8 MiB/s) with ~4 file(s) remaining (calculating...upload: ../..//img_2630_thumb.png to s3://bucket/image.png Completed 1.0 GiB/~1.0 GiB (1.8 MiB/s) with ~3 file(s) remaining (calculating...Completed 1.0 GiB/~1.0 GiB (1.8 MiB/s) with ~3 file(s) remaining (calculating...Completed 1.0 GiB/~1.0 GiB (1.8 MiB/s) with ~3 file(s) remaining (calculating...upload: ../../img_2630.png to s3://bucket/img_2630.png Completed 1.0 GiB/~1.0 GiB (1.8 MiB/s) with ~2 file(s) remaining (calculating...Completed 1.0 GiB/~1.0 GiB (1.8 MiB/s) with ~2 file(s) remaining (calculating...upload: ../../img_2628.png to s3://bucket/img_2628.png Completed 1.0 GiB/~1.0 GiB (1.8 MiB/s) with ~1 file(s) remaining (calculating...Completed 1.0 GiB/~1.0 GiB (1.8 MiB/s) with ~1 file(s) remaining (calculating...upload: ../../image/img_2628_thumb.png to s3://bucket/img_2628_thumb.png Completed 1.0 GiB/~1.0 GiB (1.8 MiB/s) with ~0 file(s) remaining (calculating... And then it just sits there. I'm really not sure what to check at this point as the cli is not very verbose.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate2 verificationsLast verified Mar 14, 2026

Solution: aws sync hangs

Low Risk

OK it just hung about 10 minutes into it. Lots of generic debug messages but this pops up a bit in the logs. After 5 minutes just sitting there it continues the transfer. [code block]

84

Trust Score

2 verifications

100% success
  1. 1

    OK it just hung about 10 minutes into it. Lots of generic debug messages but th

    OK it just hung about 10 minutes into it. Lots of generic debug messages but this pops up a bit in the logs. After 5 minutes just sitting there it continues the transfer.

Validation

Resolved in aws/aws-cli GitHub issue #2477. Community reactions: 1 upvotes.

Verification Summary

Worked: 2
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

awscliclouds3syncs3s3transferguidance