We are having a problem where the "Collecting changes in VCS Root" is taking an extended length of time. Often 4-13 minutes. We are using github as our VCS root and have a number of roots configured.
Of note, we have just upgraded to 9.1.7. I'm going to attempt to downgrade and see whether or not the problem goes away.
A few other things that I've noticed:
1. the non-teamcity server cpu usage seems to spike
2. looking at top, this seems to be java jobs that are performing git operations
3. we have mysql on the same box - but it's CPU never seems to spike
4. we have 2048MB allocated to TC Server - and sometimes it crashes with OOM exceptions
Here's an example of the collecting VCS changes output:
[17:25:14]Collecting changes in 1 VCS root (8m:02s)
[17:25:14][Collecting changes in 1 VCS root] VCS Root details