473,811 Members | 2,717 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how do i find what page is causing my performance prob?

I am seeing that our CPU spikes for several minutes at 100% for the asp.net
process. This happens several times a day and seems to last for 10 min or
so and use a lot of memory. I'm trying to find out what page it is that is
causing these problems. How can i find out what pages are executing at the
time of the spike?

Thanks,
kevin goff
ke********@nosp am.nospam

Nov 19 '05 #1
5 1191
Kevin,

Try using nANTS from http://www.red-gate.com

From what I understand, it allows you to monitor a web application and when
in debug mode, shows you the bottlenecks in your code.

Regards,
Ian Suttle
http://www.IanSuttle.com

"kevin goff" wrote:
I am seeing that our CPU spikes for several minutes at 100% for the asp.net
process. This happens several times a day and seems to last for 10 min or
so and use a lot of memory. I'm trying to find out what page it is that is
causing these problems. How can i find out what pages are executing at the
time of the spike?

Thanks,
kevin goff
ke********@nosp am.nospam

Nov 19 '05 #2
A quick way might be to check the IIS logs and see what requests were
happening at that time. The IIS logs are typically under
%windir%\system 32\LogFiles.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 10:07:06 -0600, "kevin goff"
<ke********@nos pam.nospam> wrote:
I am seeing that our CPU spikes for several minutes at 100% for the asp.net
process. This happens several times a day and seems to last for 10 min or
so and use a lot of memory. I'm trying to find out what page it is that is
causing these problems. How can i find out what pages are executing at the
time of the spike?

Thanks,
kevin goff
ke********@nos pam.nospam


Nov 19 '05 #3
I checked the logs. There are currently 20+ sites on this server and each
has it's own logs. Gathering the logs shows ~1000 possible requests that
fell within that time frame.

I'm thinking what I need to do here is to figure out what pages are
currently running when the problem happens. This would probably limit it to
< 20 since most pages are subsecond. The log files are written when the
request is made so I dont have a way to find out how long each request took
to execute.

This web site is running windows 2000. If anyone has any insight as to
whether an upgrade to 2003 would help with this issue (help with diagnosis)
I'd appreciate a post.

Thanks for your time.
Kevin

"Scott Allen" <sc***@nospam.o detocode.com> wrote in message
news:67******** *************** *********@4ax.c om...
A quick way might be to check the IIS logs and see what requests were
happening at that time. The IIS logs are typically under
%windir%\system 32\LogFiles.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 22 Mar 2005 10:07:06 -0600, "kevin goff"
<ke********@nos pam.nospam> wrote:
I am seeing that our CPU spikes for several minutes at 100% for the
asp.net
process. This happens several times a day and seems to last for 10 min or
so and use a lot of memory. I'm trying to find out what page it is that
is
causing these problems. How can i find out what pages are executing at
the
time of the spike?

Thanks,
kevin goff
ke********@no spam.nospam

Nov 19 '05 #4
with 2003 you can put each site in its own app pool (aspnet worker process).
then when cpu get hot, use perfmon to see which site is using the cpu. you
should add also monitoring code to your pages.

-- bruce (sqlwork.com)
"kevin goff" <ke********@nos pam.nospam> wrote in message
news:ek******** ******@TK2MSFTN GP12.phx.gbl...
| I checked the logs. There are currently 20+ sites on this server and each
| has it's own logs. Gathering the logs shows ~1000 possible requests that
| fell within that time frame.
|
| I'm thinking what I need to do here is to figure out what pages are
| currently running when the problem happens. This would probably limit it
to
| < 20 since most pages are subsecond. The log files are written when the
| request is made so I dont have a way to find out how long each request
took
| to execute.
|
| This web site is running windows 2000. If anyone has any insight as to
| whether an upgrade to 2003 would help with this issue (help with
diagnosis)
| I'd appreciate a post.
|
| Thanks for your time.
| Kevin
|
|
|
| "Scott Allen" <sc***@nospam.o detocode.com> wrote in message
| news:67******** *************** *********@4ax.c om...
| >A quick way might be to check the IIS logs and see what requests were
| > happening at that time. The IIS logs are typically under
| > %windir%\system 32\LogFiles.
| >
| > --
| > Scott
| > http://www.OdeToCode.com/blogs/scott/
| >
| > On Tue, 22 Mar 2005 10:07:06 -0600, "kevin goff"
| > <ke********@nos pam.nospam> wrote:
| >
| >>I am seeing that our CPU spikes for several minutes at 100% for the
| >>asp.net
| >>process. This happens several times a day and seems to last for 10 min
or
| >>so and use a lot of memory. I'm trying to find out what page it is that
| >>is
| >>causing these problems. How can i find out what pages are executing at
| >>the
| >>time of the spike?
| >>
| >>Thanks,
| >>kevin goff
| >>ke********@no spam.nospam
| >>
| >>
| >
|
|
Nov 19 '05 #5
Thanks for all of your suggestions,

Hi kevin,

I think you can consider bruce's suggestion on using the application pool
to isolate your application if you're using IIS6. Also, if you can enable
trace on your web application, you can also lookup the Application Trace
which contains the event processing steps of each request( how much time it
spends on those events of every request). BTW, is the high CPU problems
occurs right after your application starts or after it has been running for
a period of time? Generally HIGH CPU utilization will be caused when
there're two many worker threads running concurrently which cause serious
thread context switching. Also, some page which use COM component may also
have such issue when the COM component is STA mode that need apartment
switch when perform method call.

Here is a certain blog article which provides some tips on Asp.net
performance issue TS, hope also helps:

http://blogs.msdn.com/srinathv/archi.../13/43350.aspx

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 19 '05 #6

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

Similar topics

1
1388
by: Jeremy | last post by:
Hi all, We have several pages that are running very slow, is there any way to identify which pages are taking the longest to process? Thanks, Jeremy
4
3819
by: tbatwork828 | last post by:
Related to my other post on Graphics.FillRectangle and a lot of page faults caused by this call... We determine that when Control.DoubleBuffer=true to avoid the flicker effect, Graphics.FillRectangle causes a lot of soft page faults - order of 700/sec and more... When Control.DoubleBuffer=false, we have no page faults at all - 0/sec. Has anyone seen this behavior and how did they resolve it...? What are our options...? Does...
2
1514
by: Kairi | last post by:
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,...
4
1298
by: darrel | last post by:
Karl has helped me in the past in regards to communicating between controls and pages: http://www.openmymind.net/communication/index.html#3.1 I ended up going down the interfaces path and actually got that working fairly well, but, then, in the end, decided that was overkill and that it would perhaps make more sense to start over using a much more simpler communication between pages.
1
1772
by: AlanJSmith | last post by:
Hi All, I am using ParseControl to load a formview contol from a string, some of the child controls are bound using Eval but these fail as Eval seems to have already been called within the parse leaving the databind expression blank causing an error to be raised on bind. If i use Bind instead of Eval i get the page back bound properly but of course i cant update the readonly fields so it fails on update.
2
2091
by: andrewanderson | last post by:
hi can anyone help me with this prog. cant find the prob why it cant display cout<<"This is the display of your transaction"<<endl; ifstream fobj; //declare input file stream fobj.open("trans.txt"); //open file if(!fobj) //File not opened
0
6501
by: sandy | last post by:
hello,,,,,,,,, i am creating login page using Perl/CGI facing prob... able to connect DB but from there facing prob If u have related code of login page in Perl please send me on sandip.bhosale@gmail.com please help me i am using MySQL as DB user name:root password:root database name:ITS
6
1421
by: DC | last post by:
Hi, our cms (asp.net 2.0) dynamically inserts controls into asp.net pages, sometimes 50 and more per page, and if we run into a performance bottleneck we have a hard time finding out which controls cause latencies. We can find most of these bottlenecks by monitoring db traffic with profiler, but we are now using an increasing amount of third party controls which communicate with outside webservices.
0
1321
by: Abubakar | last post by:
Hi, I've been assigned to work on a asp.net page that when viewed on internet, renders very slowly and its hosted on a client machine which is a p4 3.0ghz HT, with 2 gb ram running windows server 2003. The page itself works very fast on my development machine, naturally because the ide, client, and server are on the same machine. Now what I understand from studying this page is that this page is using ajax.net toolkit. Its not a huge...
0
9727
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
9605
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
10647
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
10398
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
10133
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
7669
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
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3017
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.