473,626 Members | 3,389 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Slow page performance

Hi all

I have an aspx page (not compiled) that exhibit the following behaviour every once in a while
When a request for the page is made, aspnet_wp spikes up to 100%, and then after about 30 seconds or so the Page_Load method is finally invoked, and the page loads as normal

This happens every 5th or 6th request for that page. Initially I blamed the just-in-time compiling, but it doesn't make sense since the code does not change at all, and to my understanding it will only be compiled during first execution between code changes

I've seen several KB articles regarding aspnet_wp taking up 100% processor time and there are hotfixes available if you contact MS directly. However, the symptoms described in the article is not quite what I have

Also, what usually happens between the moment a page request is received by the IIS server and Page_Load executes? I want to get an idea of what could be the cause of that 30-second lag

Any ideas?
Nov 18 '05 #1
2 1506
did you try the trace ... it will give you what is happening from start to
finish (Bgin Init, End Init, Begin PreRendre, End PreRender, Begin
SaveViewState, End SaveViewState, Begin Render, End Render), how much time
each of those event are taking, and lots of other useful info ...
"Kairi" <an*******@disc ussions.microso ft.com> wrote in message
news:CB******** *************** ***********@mic rosoft.com...
Hi all,

I have an aspx page (not compiled) that exhibit the following behaviour every once in a while: When a request for the page is made, aspnet_wp spikes up to 100%, and then after about 30 seconds or so the Page_Load method is finally invoked, and
the page loads as normal.
This happens every 5th or 6th request for that page. Initially I blamed the just-in-time compiling, but it doesn't make sense since the code does
not change at all, and to my understanding it will only be compiled during
first execution between code changes.
I've seen several KB articles regarding aspnet_wp taking up 100% processor time and there are hotfixes available if you contact MS directly. However,
the symptoms described in the article is not quite what I have.
Also, what usually happens between the moment a page request is received by the IIS server and Page_Load executes? I want to get an idea of what
could be the cause of that 30-second lag.
Any ideas?

Nov 18 '05 #2
The first time the page loads the page is compiled so there's lots of stuff
happening internally. However, unless you have a giant page that's
referencing a whole bunch of different assemblies (which may also load for
the first time) this should not be a major issue. Certainly subsequent hits
should be much faster.

I've seen this behavior at times too but usually I've found the culprit in
something else on the machine going on that's causing (Index Server running
an index or a SQL Server on the same box performing internal stuff).

Also is it possible that you're using the ASPNET State Service? I've seen
some slowness related to that in a few instances as well.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web
"Kairi" <an*******@disc ussions.microso ft.com> wrote in message
news:CB******** *************** ***********@mic rosoft.com...
Hi all,

I have an aspx page (not compiled) that exhibit the following behaviour every once in a while: When a request for the page is made, aspnet_wp spikes up to 100%, and then after about 30 seconds or so the Page_Load method is finally invoked, and
the page loads as normal.
This happens every 5th or 6th request for that page. Initially I blamed the just-in-time compiling, but it doesn't make sense since the code does
not change at all, and to my understanding it will only be compiled during
first execution between code changes.
I've seen several KB articles regarding aspnet_wp taking up 100% processor time and there are hotfixes available if you contact MS directly. However,
the symptoms described in the article is not quite what I have.
Also, what usually happens between the moment a page request is received by the IIS server and Page_Load executes? I want to get an idea of what
could be the cause of that 30-second lag.
Any ideas?

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
13133
by: pragile | last post by:
I have a stored procedure that has some problems with slow performance. The procedure has 2 parameters @firstname varchar(100) @lastname varchar(100) These parameters can have values like a%, that is wildcard searches. The strange thing is that if one of the parameters has the value %, and the other one a%, the performance is very bad. If i subsistute the variables with exactly the same values hardcoded in
8
2331
by: BlueBall | last post by:
I am writing some kind of network testing tool and I have wrote the following code in ASP.NET with C# int size= 10048576; // around 10 MB data string buffer = ""; for (int j=1; j<=1024; j++) { buffer = String.Concat(buffer, "x"); // I tried buffer += "x"; same performance }
9
10497
by: Vito DeCarlo | last post by:
I've been having this problem for a few weeks. PLEASE read this post before responding with some simple reason that has nothing to do with my problem. If you need more information, please request it as I'll be checking this post very often. PROBLEM: Occaisionally, our web server begins running ASP.NET pages extremely slowly. Other websites on the server run fine, including ASP pages. It almost seems as if the .NET caching system...
1
3275
by: Jeffrey Roughgarden | last post by:
I wonder if anyone has any tips to improve Visual Studio's debugging performance? I have a 20 page web app that takes 90 or more seconds to bring up the logon page after I hit F5. Start without debug (Ctrl-F5) is much quicker, but of course, I don't have the debugging then. I am running this on a 2GHz Compaq laptop, with both the server and database on the same machine. After the first page loads, subsequent pages are slightly slow on...
8
4251
by: aualias | last post by:
I am rewriting a web page that was previously done with ColdFusion. It has a DataGrid and one column in the DataGrid is a dropdown list which is the same for all rows. The ItemDataBound code looks like this... // _viewDestinations is created once and stored in the ViewState
5
2512
by: Ram | last post by:
Hi After deploying a simple web application to the production environment, I see that hwne I launch my app's url it takes a while to load the home page.(it doesnt do anything complex. A pretty simple adn straightforward page with just a few text boxes and a button). After that the app's response time is reasonably fast. Any idea why the response time is slow? Is it something to do with ASP.NET's engine? I noticed it in the test environment but...
2
3467
by: johnb41 | last post by:
In my app, I need to open up a multipage tiff file, and also display it's thumbnail images IN HIGH QUALITY. (High Quality meaning anti-aliased, and looking good; not rough and pixely) The thumbnail images are displayed in a ListView control. (I go through each page of the file, create a thumbnail of it, and put it into an ImageList. Then i hook that imagelist up to the ListView.) It works fine, but it is VERY slow. Creating and...
46
13103
by: dunleav1 | last post by:
I have a process that does inserts that runs 50% slower that Oracle and Mssql. Queries normally take 50% slower than normal. DB2, Oracle, Mssql all are configured on same os, same disk array (raid 1/0 - 15k disks) but DB2 I/O seems to be significantly slower. Tablespaces are SMS with automatic prefetch set. My thought was to create the log buffer array as large as possible so I don't have to switch to disk much. I'm running circular...
9
13032
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
2848
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
8268
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
8202
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8641
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8366
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
8510
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...
1
6125
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
5575
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();...
1
2628
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1812
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.