ASP.NET: High CPU usage under no load

前端 未结 2 1943
北恋
北恋 2021-02-09 18:44

I´m facing a huge problem since a couple weeks. I´ve an asp.net application hosted under IIS7 (W2008 SP1), and every a couple hours it starts consuming near 50% of the CPU when

2条回答
  •  闹比i
    闹比i (楼主)
    2021-02-09 19:28

    In windbg, issue:

    ~*e !clrstack

    This will dump all of the managed thread stacks and should give you an idea of what is happening in that process.

    Also try a !runaway, which will show you how much time each thread has been running. Focus on the stacks of the top threads which are the ones that have been running longest.

提交回复
热议问题