I have a website where every 20 minutes or so a very expensive page is hit which pegs the cpu at 100% and all my users suffer. The responsiveness of th开发者_开发问答is page is not important so I was wondering besides Thread.Sleep(), is there was a good way to stop this request from eating the cpu?
Cheers!
Set the Thread.Priority
to Lowest
. The CPU utilization will still be 100%, but higher priority threads will not suffer much.
精彩评论