Sep 4, 2009 at 11:42 PM
Edited Sep 5, 2009 at 12:06 AM
I recently updated my server with new hardware and moved from Windows Server 2000 to Windows Server 2008. My blog moved over okay and is working, but initial requests are unbearably slow. The
first request to the site often takes as long as 30 seconds to complete. Initial requests to invididual pages can take 4-6 seconds, which is also too long. After the initial requests things are fine (I'm presuming thanks to caching.) I
didn't have this problem with the old server.
I used failed request traces to diagnose that 4-6 second delays are during PageLoad execution, but that could mean a lot of things. I have also established that it's not DNS or anything like slowing the requests down -- it is something in dasBlog.
I have other pages running off the same server that work fine. Here's part of a failed request trace that show the main part of the longer slow down:
The configuration is fairly stock. I'm running whatever version is installed by the Microsoft Web Platrom Installer (looks like 2.3), with the only signficant departure being that the files are located on a different partition to make backups easier
Some things I've tried include keeping the application running pretty much all day, so that I know it's not ASP.Net re-starting or re-compiling or anything like that. I've played with a lot of cache settings, so those are probably all messed up now.
Note that this problem pre-dates any of that, though. This problem caused the cache config changes, not vice versa. I've also tried nearly every possible way to do compression, including completely turning it off.
Any ideas how to correct this?