The State Service Delete Expired Sessions timer job is not enabled (SharePoint Server 2010)

 

Applies to: SharePoint Server 2010

Rule Name:   The State Service Delete Expired Sessions timer job is not enabled

Summary:   The State Service uses a timer job to delete data for expired sessions from the State Service databases. If this timer job is not enabled, the server that hosts the State Service database will run out of disk space and the SharePoint farm will cease to function

Cause:   The State Service Delete Expired Sessions timer job is not enabled.

Resolution:   Enable the timer job by using Central Administration

  1. Verify that the user account that is performing this procedure is a member of the Farm Administrators group.

    Note

    The timer job settings are farm-wide and cannot be set for individual servers in the farm.

  2. In Central Administration, on the Home page, click Monitoring.

  3. On the Monitoring page, in the Timer Jobs section, click Review job definitions.

  4. On the Job Definitions page, click the State Service Delete Expired Sessions timer job.

  5. On the Edit Timer Job page, specify the schedule that you want, and then click Enable.

Resolution:   Enable the timer job by using Windows PowerShell

  1. Verify that you meet the following minimum requirements: See Add-SPShellAdmin.

  2. On the Start menu, click All Programs.

  3. Click Microsoft SharePoint 2010 Products.

  4. Click SharePoint 2010 Management Shell.

  5. At the Windows PowerShell command prompt, type the following command:

    Enable-SPTimerJob StateServiceExpiredSessionJobDefinition
    

For more information, see Enable-SPTimerJob.

Note

We recommend that you use Windows PowerShell when performing command-line administrative tasks. The Stsadm command-line tool has been deprecated, but is included to support compatibility with previous product versions.