I've been hit with this recently. I moved stuff to related subdirectories, but it was still taking forever for the Green Line of Death to come to a standstill. And this fixed it completely. And now I'll try to remember this if and when it happens again.