My putty session keeps on hanging when I'm in the middle of editing a file in vim. This has happened three times this morning. Hopefully it's nothing, just a glitch in the matrix somewhere, but I fear it means disk/memory problems on my server. What should I try to debug this? Has happened in insert mode each time, and the cursor won't respond to any keyboard or mouse input.
I've changed nothing on my server recently, and not done any updates. Everything was working fine yesterday (and indeed has for a long time).
Centos 6, by the way.
Doesn't happen until I get into vim, go into insert mode, and make a couple of tiny changes. ONLY appears to happen on one specific file. And no, not a system file or anything, just a php file in my site.