[url]http://scie.nti.st/2008/3/14/amazon-s3-and-connection-reset-by-peer[/url]
sudo vi /etc/sysctl.conf
sudo vi /etc/sysctl.conf
net.ipv4.tcp_wmem = 4096 16384 512000
net.ipv4.tcp_rmem = 4096 87380 512000
sudo sysctl -p