473,781 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4205
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(administrati ve 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.c om which
accounted for ther slow load. Access to the internet is blocked on the
server.

"Sanjay Pais" <sd****@athotma ildot.comwrote in message
news:%2******** *******@TK2MSFT NGP06.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
3747
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 did a preload script. But then the user has to sit for 5 minutes waiting for 63 images to download! My images are about 640x480 and average 100kb. Is this too much for one page to load? Should I load my slideshow into differerent windows? If so,...
5
2734
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 the appointment collection to populate the calendar control. The performance getting the XML data is fine, but loading the data into the collection is slow. My question/problem is should I be using the collection, a dataset, or something else to...
2
2819
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 work that encompasses simple workorder entry, purchase orders, vendors and customer lists. My data is kept in a database on our network and the programs are linked and sitting seperatly on each workers desktop (about 6 people). When I was...
0
1768
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 is loading very slow(the tree), whereas the web application's tree is loading quicker. both applications usews the same functions when it creates the tree, anyone knows why????
3
2612
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 load faster? It is a database driven (access) ado.net asp.net site, very simple in structure that uses asp.net forms.
6
8582
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 fine All SQL Servers I am referring to share a small (10 computers or so) LAN with a 100MB Switch. No other computers on the LAN exhibit this problem.
9
2989
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 ... - preload the .net 2 framework (windows startup or whatever) - splash a screen ... application loading ... please wait ... type of
5
2828
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 look for why it is slowing down. I thought about the DB first and added NOLOCK to a couple of stored procedures that were being run, but with no effect. Can someone offer some tips on where to start looking or how I can begin to diagnose this...
9
13043
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 Domain. We have both Cold Fusion and ASP.NET apps on this server and the Cold Fusion apps do not display such slowness on their first start up of the day. Is there a way to improve the load times of ASP.NET apps? I'm having to justify to my boss...
39
2883
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 Wikipedia (Mediawiki), written in PHP, are so much faster than Python. Okay, they probably use caching or some code compilation -- but Google Apps and those Zope sites probably also use caching. I've yet to see a web application written in...
0
9639
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10076
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9939
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8964
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7486
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5375
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5507
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.