473,378 Members | 1,426 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,378 software developers and data experts.

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********@nospam.nospam

Nov 19 '05 #1
5 1171
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********@nospam.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%\system32\LogFiles.

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

On Tue, 22 Mar 2005 10:07:06 -0600, "kevin goff"
<ke********@nospam.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********@nospam.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.odetocode.com> wrote in message
news:67********************************@4ax.com...
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%\system32\LogFiles.

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

On Tue, 22 Mar 2005 10:07:06 -0600, "kevin goff"
<ke********@nospam.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********@nospam.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********@nospam.nospam> wrote in message
news:ek**************@TK2MSFTNGP12.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.odetocode.com> wrote in message
| news:67********************************@4ax.com...
| >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%\system32\LogFiles.
| >
| > --
| > Scott
| > http://www.OdeToCode.com/blogs/scott/
| >
| > On Tue, 22 Mar 2005 10:07:06 -0600, "kevin goff"
| > <ke********@nospam.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********@nospam.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
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
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,...
2
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...
4
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...
1
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...
2
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 ...
0
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...
6
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...
0
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...
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...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.