Optimizing timeout settings: SharePoint timer service

Document created by Pamela Denchfield Employee on Feb 17, 2015Last modified by Pamela Denchfield Employee on Feb 7, 2016
Version 1Show Document
  • View in full screen mode

Workflow issues can occur if the timeout setting for the SharePoint timer service is not long enough for your workflows to complete. This document provides instructions for viewing and changing the timeout setting by editing the web.config file for the web application.

 

Disclaimer: Consult your administrator and the referenced Microsoft articles to determine the optimal SharePoint configuration for your environment.


For more information on this timeout setting, including stsadm commands for viewing and changing the setting, see “Timeout” under “Important Workflow Configuration Settings” in the MSDN article Workflow Scalability and Performance in Windows SharePoint Services 3.0.


For a description of the default timer jobs created by SharePoint, see the TechNet article Timer job reference (SharePoint 2013).


To view the timeout setting for a web application

  1. From IIS Manager, right-click the web application and select Explore.
    The files for the web application are displayed in Windows Explorer.
  2. Open the web.config file in a text editor.
  3. Search the file for the following string (must be within a <system.transactions> section under <configuration>):
    defaultSettings timeout
    If the string does not exist in the file, then the default timeout setting is used.


To specify the timeout setting for a web application

  1. View the web.config file as described in the previous procedure.
  2. If "defaultSettings timeout" does not exist, then add it to the file, placing it within a new <system.transactions> section at the very end of the <configuration> section.
    Example (no timeout value):
        </service>
      </microsoft.identityModel>
    <system.transactions>
    <defaultSettings timeout=”” />
    </system.transactions>
    </configuration>
  3. If “defaultSettings timeout” exists and it is contained within a <system.transactions> section under <configuration>, then update the value as desired.
    Example set to 30 minutes:
        </service>
      </microsoft.identityModel>
    <system.transactions>
    <defaultSettings timeout=”00:30:00” />
    </system.transactions>
    </configuration>
  4. Perform the IISReset command on all web front end servers.

Attachments

    Outcomes