ASP.Net CPU 100%
我有一个相当大且复杂的 ASP.Net 应用程序,它使用 ASP.Net / C# 3.5 / SQL Server 2005 / LINQ to SQL。当单个用户使用该系统时,它运行得非常快,但是一旦我们开始有六个用户同时提交,CPU 就会达到 100%。我已经尽可能多地调整了应用程序,因为我知道如何使用 ANTS Profiler 并查找代码中的弱点,但是分析器指出,超过 2/3 的 CPU 使用率是在管理代码的转换中...有人知道吗?关于如何解决这个问题有什么建议吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
http://support.microsoft.com/kb/919791
http://support.microsoft.com/kb/919791
您需要进行一些性能分析才能找出根本原因。
试试这个工具,它是一个很棒的工具[由 CLR 团队的架构师开发]
http://www.microsoft.com/download/en/details.aspx?id=28567#instructions
它应该可以帮助您找到问题
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