title: Amazon Command Line Tools Sync on Linux is very slow
body: <p>I'm trying to use Amazon Command Line Tools to sync a bucket with a folder on my Centos Server. I installed the aws cli, set up the config, and ran:</p>
  
  <pre><code>aws s3 sync s3://my.bucket/sounds/ /var/lib/folder/sounds/
  </code></pre>
  
  <p>The problem is that it was just terrible... very very very slow downloads, with almost all failed (maybe 1 file worked). It was showing:</p>
  
  <pre><code>ReadTimeoutError: HTTPSConnectionPool(host='s3-eu-west-1.amazonaws.com', port=443): Read timed out.
  </code></pre>
  
  <p>almost all the time. </p>
  
  <p>So, as a control test, i ran the same thing on a windows box within the exact same cabinet. (oh, by the way, its hosted on 50MB/s fibre, so its very very fast).
  It synced in seconds!</p>
  
  <p>I found s3cmd - this was more sucessfull (all the files actually synced) but it gives a summary at the end - the rate i got was 12KB/s! Ouch! </p>
  
  <p>Clearly something is up with my machine/config/python/ not sure what.</p>
  
  <p>If I look at the debug of the Amazon Command Line Tool - i see it complaining about an SSL file being at EOF, and then from then on it shows:</p>
  
  <pre><code>File "/usr/local/aws/lib/python2.6/site-packages/botocore/vendored/requests/packages/urllib3/response.py", line 267, in read
      raise ReadTimeoutError(self._pool, None, 'Read timed out.')
  </code></pre>
  
  <p>I'm running Centos 6.5 with Python 2.6. (I have no clue about Python.) Any ideas about what could be causing this?</p>
  
  <p>Edit: 
  After guessing that it could be Python that's the issue, i installed 3.3 and re-installed the awscli, but it does exactly the same thing.</p>
  
  <pre><code>aws-cli/1.9.16 Python/3.3.3 Linux/2.6.32-358.6.2.el6.x86_64 botocore/1.3.16
  </code></pre>
  
  <p>It downloads one file, that seems to block the downloads of all the other files, so they all timeout.</p>