By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,365 Members | 3,095 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,365 IT Pros & Developers. It's quick & easy.

Slow Loading ASP.NET application

P: n/a
We are setting up our new environment with our hosting providers.
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.
we noticed that the ASP.NET Web site takes really long to load. When
comparing
it with load tests we did on our current server it loaded in under 5 secs.
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
(administrative priveliges) etc.

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

Let me know if you need anymore information.

Cheers

Sanjay

Jan 14 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
try disabling indexing on the folder, or totally disabling windows
indexing service

Sanjay Pais wrote:
We are setting up our new environment with our hosting providers.
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.
we noticed that the ASP.NET Web site takes really long to load. When
comparing
it with load tests we did on our current server it loaded in under 5 secs.
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
(administrative priveliges) etc.

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

Let me know if you need anymore information.

Cheers

Sanjay
Jan 14 '08 #2

P: n/a
Hello Sanjay,

Which .NET edition do u use? 32bit or 64 bit?

try to install .NET 64 bit version and compare performance

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
SPWe are setting up our new environment with our hosting providers.
SPWe have a Quad Core Windows 2003 Server with 12 GB RAM
SPWe have a Load balancer with 2 web servers and a database server.
SPThe
SPwebsite and the code are stored on a SAN.
SPThe problem we are facing is that the app pool takes very long to
SPload >
SP20sec
SPWe have another dual core windows 2003 server where it loads in 5
SPsecs. This
SPis
SPa 64bit database server at our current hosting provider.
SPwe noticed that the ASP.NET Web site takes really long to load. When
SPcomparing
SPit with load tests we did on our current server it loaded in under 5
SPsecs.
SPTo time the load, I recycle the application pool and launch the
SPbrowser from
SPmy desktop. I also tried launcing the website from the server after
SPmaking
SPan
SPentry in the hosts file.
SPI have tried Process Mon, File Mon to try and identify why the
SPapplication is taking so long to load. but have not managed to get
SPvery far. We did try and pull out the Enterprise Library assemblies
SPand that did account for 10 secs.
SP>
SPI also tried moving the code to the local disk, as well as using a
SPdifferent
SPuser
SP(administrative priveliges) etc.
SPI am running out of ideas and any suggestions are welcome.
SP>
SPLet me know if you need anymore information.
SP>
SPCheers
SP>
SPSanjay
SP>
Jan 14 '08 #3

P: n/a
this is why you want stats logging in you application. if you see a big
difference, between servers and no cpu load, then most likely its a network
connection problem. put timing around all network requests (database calls).
if they seem hign, then you can run network traces to look for timeouts/
slowdowns

-- bruce (sqlwork.com)
"Sanjay Pais" wrote:
We are setting up our new environment with our hosting providers.
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.
we noticed that the ASP.NET Web site takes really long to load. When
comparing
it with load tests we did on our current server it loaded in under 5 secs.
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
(administrative priveliges) etc.

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

Let me know if you need anymore information.

Cheers

Sanjay

Jan 14 '08 #4

P: n/a
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.

"Sanjay Pais" <sd****@athotmaildot.comwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
We are setting up our new environment with our hosting providers.
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.
we noticed that the ASP.NET Web site takes really long to load. When
comparing
it with load tests we did on our current server it loaded in under 5 secs.
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
(administrative priveliges) etc.

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

Let me know if you need anymore information.

Cheers

Sanjay



Jan 14 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.