Our Farm is becoming bigger and bigger and the number of web applications and application pools is growing and growing. When creating the latest web application, i all of a sudden run into an error message like below
The creation of the new Web Application takes/took a long time and what in fact happens is that it times out.
As part of the creation process, IIS is reset and by default, the application pool allows 90 seconds for the connections to close off before forcibly shutting down. These 90 seconds were no longer enough in our farm so thats why you will have to increase that number.
The solution to this is to allow the process a longer amount of time before it is forcibly shutdown.
- On the server(s) hosting Central Admin, open IIS manager.
- In the tree view, expand the server name and click on Application Pools.
- Locate the SharePoint Central Administration v4 application pool. Right click on it and choose Advanced Settings.
- In the Process Model section, set the Shutdown Time Limit to a greater value. As an example, 300.
- Restart IIS.
Here is the KB article for the same http://support.microsoft.com/kb/2543306