473,322 Members | 1,614 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Slow Loading ASP.NET application

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
4 4187
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Adrian MacNair | last post by:
Hi, I created an image gallery which displays 63 images in a slideshow. The problem is that the show was slow because each image loaded one at a time during the show. No problem right? I just...
5
by: Kurt Bauer | last post by:
I have an ASP group calendar application which pulls calendar data from Exchange via webdav into an XML string. I then loop the XML nodes to populate a collection of appointments. Finally I use...
2
by: Rocky A | last post by:
This is my first posting so please be gentle I've been writing access programs for only about a year and may have bit off more than I can chew but....... I've written an operations program for...
0
by: orenwantsyou | last post by:
hi all, i have a c# winform application and a web appliaction. in the winform app. i use a treeview control, and in the web app. i use an htc control. the problem is that the winform application...
3
by: aspnet guy | last post by:
my asp.net website is slow at my work machine but very fast at home. My work uses a firewall. Can that slow down the loading of web forms? are there any "common" things I can try to get it to...
6
by: B B | last post by:
Okay, here is what's happening: I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz P4) doing .net development. Running Windows XP pro, SP2 IIS is installed and running...
9
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... -...
5
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
We have a page that is loading very slow. There is not a lot of data, not a lot of users are connected at the same time and the page does not produce an error, so I am not sure where to start to...
9
by: SAL | last post by:
I have an ASP.NET 2.0 app that takes about 17 seconds to load on first startup but then is very fast after that. As I understand it from some posts in June, this is caused by the loading of the App...
39
by: cm_gui | last post by:
Python is slow. Almost all of the web applications written in Python are slow. Zope/Plone is slow, sloow, so very slooow. Even Google Apps is not faster. Neither is Youtube. Facebook and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.