Board index » Web Programming » High CPU Usage

High CPU Usage

Web Programming294
Are there any tools to track down which script(s) (asp / asp.net) are

consuming the highest CPU utilization?


-
 

Re:High CPU Usage

On Apr 17, 2:33 pm, af-at-work <af.at.w...@gmail.com>wrote:

Quote
Are there any tools to track down which script(s) (asp / asp.net) are

consuming the highest CPU utilization?



Applications in IIS are run in application "pools" meaning they use

resources from a pool of resources that are available. Dividing the

applications into different pools would allow you to monitor them

independently. Using perfmon would allow you to monitor these over

time. Monitoring specific pages or scripts is not possible as far as I

know.



-Nate

www.naterice.com">www.naterice.com



-

Re:High CPU Usage

On Apr 18, 12:10 am, natemr...@gmail.com wrote:

Quote
On Apr 17, 2:33 pm, af-at-work <af.at.w...@gmail.com>wrote:



>Are there any tools to track down which script(s) (asp / asp.net) are

>consuming the highest CPU utilization?



Applications in IIS are run in application "pools" meaning they use

resources from a pool of resources that are available. Dividing the

applications into different pools would allow you to monitor them

independently. Using perfmon would allow you to monitor these over

time. Monitoring specific pages or scripts is not possible as far as I

know.



-Natewww.naterice.com">www.naterice.com



I've got it down into one pool that is the culprit. Used LogParser 2

to find out the longest running scripts.



-

Re:High CPU Usage

On Apr 18, 8:44 am, af-at-work <af.at.w...@gmail.com>wrote:

Quote
On Apr 18, 12:10 am, natemr...@gmail.com wrote:



>On Apr 17, 2:33 pm, af-at-work <af.at.w...@gmail.com>wrote:



>>Are there any tools to track down which script(s) (asp / asp.net) are

>>consuming the highest CPU utilization?



>Applications in IIS are run in application "pools" meaning they use

>resources from a pool of resources that are available. Dividing the

>applications into different pools would allow you to monitor them

>independently. Using perfmon would allow you to monitor these over

>time. Monitoring specific pages or scripts is not possible as far as I

>know.



>-Natewww.naterice.com">www.naterice.com



I've got it down into one pool that is the culprit. Used LogParser 2

to find out the longest running scripts.



So, there are maybe 100-150 users running a single .aspx file that is

pretty lightweight. However, there doesn't seem to be any correlation

between connections on that AppPool VS CPU usage. Is there something I

could specifically look for in this page (i'm not the dev) that might

be causing this?



TY



-

Re:High CPU Usage

On Apr 18, 1:52 pm, af-at-work <af.at.w...@gmail.com>wrote:

Quote
On Apr 18, 8:44 am, af-at-work <af.at.w...@gmail.com>wrote:







>On Apr 18, 12:10 am, natemr...@gmail.com wrote:



>>On Apr 17, 2:33 pm, af-at-work <af.at.w...@gmail.com>wrote:



>>>Are there any tools to track down which script(s) (asp / asp.net) are

>>>consuming the highest CPU utilization?



>>Applications in IIS are run in application "pools" meaning they use

>>resources from a pool of resources that are available. Dividing the

>>applications into different pools would allow you to monitor them

>>independently. Using perfmon would allow you to monitor these over

>>time. Monitoring specific pages or scripts is not possible as far as I

>>know.



>>-Natewww.naterice.com">www.naterice.com



>I've got it down into one pool that is the culprit. Used LogParser 2

>to find out the longest running scripts.



So, there are maybe 100-150 users running a single .aspx file that is

pretty lightweight. However, there doesn't seem to be any correlation

between connections on that AppPool VS CPU usage. Is there something I

could specifically look for in this page (i'm not the dev) that might

be causing this?



TY



Taking a memory dump during the high CPU time period would allow you

to see some more detail. You'd have to use WinDBG to analyze the dump.

MS could do this for you if it was critical to get it identified.



-Nate

www.naterice.com/">www.naterice.com/



-

Re:High CPU Usage

On Apr 18, 8:06 pm, natemr...@gmail.com wrote:

Quote
On Apr 18, 1:52 pm, af-at-work <af.at.w...@gmail.com>wrote:







>On Apr 18, 8:44 am, af-at-work <af.at.w...@gmail.com>wrote:



>>On Apr 18, 12:10 am, natemr...@gmail.com wrote:



>>>On Apr 17, 2:33 pm, af-at-work <af.at.w...@gmail.com>wrote:



>>>>Are there any tools to track down which script(s) (asp / asp.net) are

>>>>consuming the highest CPU utilization?



>>>Applications in IIS are run in application "pools" meaning they use

>>>resources from a pool of resources that are available. Dividing the

>>>applications into different pools would allow you to monitor them

>>>independently. Using perfmon would allow you to monitor these over

>>>time. Monitoring specific pages or scripts is not possible as far as I

>>>know.



>>>-Natewww.naterice.com">www.naterice.com



>>I've got it down into one pool that is the culprit. Used LogParser 2

>>to find out the longest running scripts.



>So, there are maybe 100-150 users running a single .aspx file that is

>pretty lightweight. However, there doesn't seem to be any correlation

>between connections on that AppPool VS CPU usage. Is there something I

>could specifically look for in this page (i'm not the dev) that might

>be causing this?



>TY



Taking a memory dump during the high CPU time period would allow you

to see some more detail. You'd have to use WinDBG to analyze the dump.

MS could do this for you if it was critical to get it identified.



-Natewww.naterice.com/">www.naterice.com/



Ah, OK ... I have done that in the past with Microsoft Support - VERY

helpful. I'll give it a run... see what I can find.



-