AWS VMs behaving weirdly especially trying to open vim hangs the ssh connection

From Notes_Wiki
Revision as of 07:15, 10 January 2014 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Troubleshooting_AWS_issues|Troubleshooting AWS issues</yambe:breadcrumb> =AWS VMs behaving weirdly especially trying to open vim hangs the ssh connection= T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Troubleshooting_AWS_issues|Troubleshooting AWS issues</yambe:breadcrumb>

AWS VMs behaving weirdly especially trying to open vim hangs the ssh connection

This is among the most bizarre errors and problems that I have encountered. It is possible that AWS VMs behaving weirdly especially trying to open vim hangs the ssh connection. Other symptoms include unable to run ls in a folder without any problem with disks. This problem can be solved by reducing MTU from 1500 to 1492 using:

sudo /sbin/ifconfig eth0 mtu 1492

Steps learned from http://askubuntu.com/questions/381062/terminal-freezes-on-running-apt-get-or-vim