Saturday 8 December 2018

How to Recycle Application Pool Automatically In IIS ?



your website hosted server is consuming 95% CPU utilization due to IIS worker process and within a few minutes, your server is going to crash and your website will not be accessible?

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

Sitecore Publishing Service 7.0 Installation Guide

  About the Publishing Service module The Publishing Service module is an optional replacement for the existing Sitecore publishing methods....