473,326 Members | 2,438 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,326 software developers and data experts.

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 1489
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*******@discussions.microsoft.com> wrote in message
news:CB**********************************@microsof t.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*******@discussions.microsoft.com> wrote in message
news:CB**********************************@microsof t.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
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%,...
8
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;...
9
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...
1
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...
8
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...
5
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...
2
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...
46
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...
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
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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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.