Performance issues with loading ASP.NET Application on 64bit Server

Topics: Data Access Application Block, Enterprise Library Core, Logging Application Block
Jan 14, 2008 at 8:47 PM
When we removed the Enterprise Library Assemblies, the website loaded in under 5 seconds.
With the enterprise library dlls in the bin folder, the load time was >20 secs.

We have a Quad Core Windows 2003 Server with 12 GB RAM
We have a Load balancer with 2 web servers and a database server. The
website and the code are stored on a SAN.

The problem we are facing is that the app pool takes very long to load >
20sec
We have another dual core windows 2003 server where it loads in 5 secs. This
is a 64bit database server at our current hosting provider.


To time the load, I recycle the application pool and launch the browser from
my desktop. I also tried launcing the website from the server after making
an entry in the hosts file.


I have tried Process Mon, File Mon to try and identify why the application
is taking so long to load. but have not managed to get very far. We did try
and pull out the Enterprise Library assemblies and that did account for 10
secs.


I also tried moving the code to the local disk, as well as using a different
user (with administrative priveliges) etc.

I am running out of ideas and any suggestions are welcome.

Jan 14, 2008 at 11:50 PM
Turns out the application blocks were querying clr.microsoft.com which accounted for ther slow load. Access to the internet is blocked on the server.
Jan 15, 2008 at 1:22 AM
This is caused by the CLR trying to validate the authenticode signature. You could change your app to use unsigned binaries to avoid this problem, if that's possible in your scenario.


sdpais wrote:
Turns out the application blocks were querying clr.microsoft.com which accounted for ther slow load. Access to the internet is blocked on the server.