Skip to Content

How to Fix Event 2216 on IIS Server

Event 2216 on IIS servers indicates a problem with ASP.NET health monitoring, you’ll overcome this challenge and keep your servers running smoothly.

Understand the Problem

The 2216 Event on IIS servers typically signals that the web server is running low on resources or has configuration issues. This event is often linked to the IIS application pool settings, indicating potential problems such as memory leaks or insufficient system resources allocated to the application pool.

Solution 1: Restart the problematic application pool

This often clears temporary issues.

Solution 2: Check application pool credentials

Verify the app pool’s identity has proper permissions. Ensure the password is correct and hasn’t expired.

Solution 3: Examine application pool settings

  1. Open IIS Manager.
  2. Navigate to Application Pools.
  3. Select the problematic application pool and click on Advanced Settings.
  4. Confirm the app pool isn’t set to AutoStop when idle.
  5. Adjust the app pool’s Idle Time-out (minutes) if needed.

Solution 4: Review worker process configuration

  1. Open IIS Manager.
  2. Select the app pool.
  3. Choose Advanced Settings.
  4. Set the Maximum Worker Processes to an appropriate value based on your server’s resources
  5. Raise the “Private Memory Limit.”

Solution 5: Increase the recycling interval settings

  1. Open IIS Manager.
  2. Select the app pool.
  3. In Advanced Settings, adjust the Recycling options.
  4. Set Regular Time Interval setting for recycling to manage memory usage effectively.

Solution 6: Monitor server resources

  • Keep an eye on CPU, memory, and disk usage to identify any resource-intensive processes that may be impacting IIS.
  • Use tools like Performance Monitor to track CPU and memory usage.

Solution 7: Update .NET Framework

Outdated versions can trigger this event.

Solution 8: Analyze event logs

Scrutinize the System, Application, and IIS logs for related entries. Look for clues like “Application pool is being automatically shut down due to a system restart” or “A worker process with process id of ‘###’ serving application pool ‘…’ has requested a recycle because it reached its private bytes memory limit”

Solution 9: Review code for memory leaks

Work with developers to optimize resource-intensive operations.

Remember, each server setup is unique. You might need to tweak these steps for your specific environment.

By following these steps and staying vigilant, you’ll conquer Event 2216 and keep your IIS servers performing at their best. Remember, proactive monitoring and timely adjustments are key to maintaining a robust, reliable server environment.