views:

478

answers:

4
+3  Q: 

.NET MVC Slow Site

I have a site that is taking around 20 seconds to load every page (no matter what it does)

So i put in a /scripts/test.html that isn't part of a route and it still takes this long... no db hit nothing.

I renamed the web.config to _web.config and it loads instantly, rename it back... back to around 20-30 second load times.

Running the application locally... i put a breakpoint on the RegisterRoutes in the Global.asax.cs and ran that... /scripts/test.html does not hit breakpoint normal site does (site loads instaly fast locally on the same database/code)

Server is Mosso IIS7/SQL Server 2008 Cluster

The site is being hit pretty hard... ANY help please? or things to test/debug?

+1  A: 

Few things to try:

  • Try taking a look with FileMon/ProcessMonitor and see if there is a ton of disk activity.
  • If the above is not an issue, install an instance of Dot Trace by Jet Brains. Profile the app and see if there is some memory or performance issue that is not apparent on your local box.
Donn Felker
A: 

is the server swapping memory to disk?

Janco
A: 

is this provlem fixed yet? we are having the same problem.

Elmer
A: 

I saw another related issue that was solved by disabling IPv6, maybe try that.

shogun