Microsoft IIS 7: Improving stability in production environment

To improve stability in production environment take the following steps:

  1. Open Microsoft IIS Manager
  2. On the pane Application Pools open the dialog Recycling... of the application pool, that you are using.
  3. On the screen Recycling Conditions:
    1. You should disable the following properties:
      1. Regular time intervals (in minutes)
      2. Fixed number of requests
      3. Virtual memory usage (in KB)
      4. Private memory usage (in KB)
    2. On the same screen enable the property Specific time(s), and schedule the times to occur during system maintenance hours.

      IIS7_property-1

  4. On the pane Application Pools open the dialog Advanced Settings... of the application pool, that you are using.
  5. Under the section Process Model:
    1. Change the setting Idle Time-out (minutes) to 0
    2. Change the setting Maximum Worker Processes to 1

      IIS7_property-2