Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Suggestions for troubleshooting slow TFS server [closed]

We're running TFS 2010 on a dedicated box off our LAN and connecting to it with VS2010. Over the last few weeks access times and time taken to check in/out files have got ridiculous. Sometimes it can take several minutes even to get a view on the repository.

We've checked network access times and everything seems in order - e.g. RDP and shares mounted off the server are not painfully slow so it would appear that TFS is the culprit. Can anyone suggest any obvious areas we should investigate?

like image 778
indra Avatar asked Sep 15 '11 08:09

indra


People also ask

Why my TFS is very slow?

Please try below things to check if that works: Remap current workspace or create a new workspace and map the sources. Clean caches on your client machine. Refer to How to clear the TFS cache on client machines.

How do I make my TFS faster?

Here are some suggestions: Make sure you have installed all updates. Check for free disk space, disk fragmentation, and clean out your temporary folders and log files.


3 Answers

Just ran into this problem after upgrading to Windows 7 for the TFS client. Only the Windows 7 TFS clients were having problems, the XP TFS clients were fine. In our case, the problem was that the TFS client was going to our internet proxy server even though it should have bypassed the proxy server for the TFS machine. The solution was to modify the %VSINSTALLDIR%\Common7\IDE\devenv.exe.config file to add the defaultProxy line as follows:

<system.net>
    <defaultProxy enabled="false"/>
    <settings>
        <ipv6 enabled="true"/>
    </settings>
</system.net>
like image 72
Joel Rondeau Avatar answered Oct 27 '22 23:10

Joel Rondeau


Did you try the Best Practice Analyzer from the TFS Power Tools

like image 36
Ewald Hofman Avatar answered Oct 27 '22 21:10

Ewald Hofman


I thought it was something like the above that was causing my problem but it turned out to be just removing some unused workspaces solved my particular problem. Now it's much quicker. Visual Studio 2013, TFS is very slow

like image 25
David Barrows Avatar answered Oct 27 '22 21:10

David Barrows