ASP.Net CPU 100%

2k views Asked by At

I have a fairly large and complex ASP.Net application which uses ASP.Net / C# 3.5 / SQL Server 2005 / LINQ to SQL. When a single user is using the system it runs very quickly, however once we start getting half a dozen users submitting at once it the CPU hits 100%. I have tuned the application as much as I know how to using ANTS Profiler and finding weak points in the code, however the profiler points out that over 2/3 of the CPU usage is in the Transition to manage code... Does anyone have any tips on how to combat this?

2

There are 2 answers

1
Lex Li On
0
mfawzymkh On

You need to do some performance analysis to figure out the root cause.

Try out this tool, it is a great one [ developed by an Architect in CLR team]

http://www.microsoft.com/download/en/details.aspx?id=28567#instructions

It should help you find the issue