Let's say if CPU utilization reached 92% and it remains at 92% or more for the next 3 minute then we want IIS should recycle application pool automatically.
Follow below steps to achieve this.
- Open IIS.
- Right click on your website application pool and select “Advanced Settings…”
- Locate CPU section
- Put Limit (percent) as 92%
- Set Limit Action at KillW3wp
- Set Limit Interval (minutes) at 3
- Click Ok
Here is a screenshot for quick understanding
Now no manual intervention is required. But remember this is not a solution, this is just a workaround for the problem. You should find the root cause of the problem.
No comments:
Post a Comment