0

Since I installed TFS on Windows 7 64 bit, I can't figure out why it very often hangs, with apparently no reason:

  • no evident anomaly on task manager or procexp: CPU usage rate low, a lot of free memory
  • Event Viewer is empty

Did anyone else experience this?
How can I improve the performance of the system?

ChrisF
  • 1,871
  • 1
  • 21
  • 28
onof
  • 67
  • 1
  • 8

2 Answers2

2

I was having the same issue with TFS where it would hang and become unresponsive.

I found a solution to this by updating the tf.exe.config or devenv.exe.config file with the following configuration values.

<system.net>
    <connectionManagement>
        <add address="*" maxconnection="1000"/>
    </connectionManagement>
</system.net>

I set the limit to 1000 on my side, as i carefully watched the value in Resource Monitor, though truthfully i never got higher than 600 concurrent connections.

1

Fire up Process Explorer, find your hung process and try and work out what it's blocked on. It will hopefully give you some pointers to the underlying cause.

Neobyte
  • 3,179
  • 1
  • 26
  • 31
  • with _procexp_ I meant Process Explorer. – onof Mar 09 '11 at 07:52
  • If you have never used any of the Sysinternals tools before I would take a look at Mark Russinovich's webcast Case of the unexplained found here: http://bit.ly/hIWIM0. It has some great problem solving logic using the sysinternals tools – jgardner04 Mar 09 '11 at 15:49