Gordon Saxby
asked on
Locate cause of high CPU usage by a web site in IIS6
We have a Windows 2003 Server running IIS6 with a number of web sites (approx 100). Most are in one aplication pool but some have their own pool (.Net applications, etc).
One high usage / profile web site has it's own pool. This site runs absolutely fine most of the time (classic ASP with a SQL Server 2000 database located on another server), but occasionally it causes the CPU to hit 100% which affects the server as a whole.
Because it appears to be random, I need a way of somehow logging what's going on.
What options do I have within Windows / IIS itself and are there suitable (free?) tools that can help me track down the problem?
One high usage / profile web site has it's own pool. This site runs absolutely fine most of the time (classic ASP with a SQL Server 2000 database located on another server), but occasionally it causes the CPU to hit 100% which affects the server as a whole.
Because it appears to be random, I need a way of somehow logging what's going on.
What options do I have within Windows / IIS itself and are there suitable (free?) tools that can help me track down the problem?
ASKER
>Because it appears to be random, I need a way of somehow logging what's going on.
I do have SysInternals Process Explorer but it doesn't log what happens and I can't sit there watching it until it happens ;-)
I know which web site is causing the problem, but I don't know why. When it happens, everything on the server pretty much locks (due to 100% cpu) so I can't do anything at that time.
I need something that will either log activity for a period or maybe when the CPU hits a specified percentage?
I do have SysInternals Process Explorer but it doesn't log what happens and I can't sit there watching it until it happens ;-)
I know which web site is causing the problem, but I don't know why. When it happens, everything on the server pretty much locks (due to 100% cpu) so I can't do anything at that time.
I need something that will either log activity for a period or maybe when the CPU hits a specified percentage?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
You can expand the worker processes to see which website is causing the issue.