If I leave a cygwin shell (usually putty-cyg, but also true with xterm or the normal Cygwin bash shell) running for a while I tend to find that after a certain amount of time, it goes really really slowly. I assume this is some sort of interaction with another process, but I've been unable to identify which process is causing the problem.
According to the task manager, the "system idle process" is up at about 94%, so there's very little that's actually doing anything. However, when it's going quickly I get:
$ time ls _viminfo test.txt real 0m0.026s user 0m0.030s sys 0m0.015s
When it's going slowly I get:
$ time ls _viminfo test.txt real 0m25.989s user 0m0.030s sys 0m0.061s
This makes cygwin close to unusable! Can anyone suggest how I might identify what is going on to cause cygwin to go so slowly?
I'm using Windows XP in case that's relevant.