Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

SharePoint 2010 : Farm Governance - Configuring Resource Throttling

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
5/1/2013 6:41:23 PM

At the very heart of SharePoint are lists. Just about everything in SharePoint is a list. It can be stated that SharePoint content is list driven.

One of the shortcomings of the previous version of SharePoint was that performance began to degrade if a list had more than 2000 items. This doesn't mean if a list had 2001 items, the performance degradation was noticeable. A SharePoint list could have millions of records. Let's break down exactly what happens when a user requests information from a list.

A user clicks on a link to see the items in a list. It invokes a query back to SQL to pull those items and present them. The query looks at how many columns are on that list and does a "select all" operation. The more columns in a list, the more data that is returned, and the longer it takes to select all of that data because it is number of rows multiplied by number of columns.

Resource throttling is a set of configuration items built into the software to address the issue of performance of large lists and resource contention. The goal is to prevent servers from running out of resources. Setting these parameters will offer better fidelity to your SharePoint installation.

In this recipe we will cover the different parameters and how to configure them.

Getting ready

You must have farm-level administrative permissions to the Central Administration site.

How to do it...

  1. Open up the SharePoint 2010 Central Administration website.

  2. Click Application Management.

  3. Under the Web Applications section, click Manage web applications.

  4. Select a web application (the ribbon will light up).

  5. Click the General Settings dropdown on the ribbon:

  6. Click the Resource Throttling option from the drop-down list. The resulting form has the following components to be configured:

    • List View Threshold: Defaults to 5000.

    • Object Model Override — Yes/No radio buttons. The default value is Yes.

    • List View Threshold for Auditors and Administrators: Defaults to 20000.

    • List View Lookup threshold: Defaults to 6.

    • Daily Time Window for Large Queries: Check this option which, when enabled, allows setting of a start time and a maximum duration.

    • List Unique Permissions Threshold: Defaults to 50000.

    • Backward-Compatible Event Handlers: On/Off radio buttons. Defaults to Off.

    • HTTP Request Monitoring and Throttling: On/Off radio buttons. Defaults to On.

    • Change Log: Defaults to 60 days after which log entries are deleted. Can be set to Never.

    After making changes to any component(s), click OK.

How it works...

Resource throttling is performed at the web application level. The configuration applies to all site collections and sites under the web application. Throttling can be completely disabled in Central Administration for a web application, as seen in the parameter HTTP Request Monitoring and Throttling.

By default, resource throttling checking is on, which enables a timer job that runs every five seconds. This job checks the state of server resources against the performance counters. If that check comes back with a failure three times in a row, a throttling state will be enabled. The server will stay in this state until a successful check is performed.

While in a throttled state, users may see a 503 Server is busy screen. Users will need to refresh their screen to see if their request has completed.

The resources that are checked by default are Server CPU, Memory, Request in Queue, and Request Wait Time.

The List View Threshold is the number of items that can be returned to a user. By default, this is 5000 items.

The List View threshold for Auditors and Administrators is the number of items that can be returned to an administrator or power user. The default is 20000 items.

List View Loopup Threshold is the maximum amount of fields with the type called Lookup in a list. Lookups are database intensive. The default is 8.

List Unique Permissions Threshold is when inheritance is broken on a list and granular permissions are involved. Item-level permissions have potentially severe consequences on database performance and must be considered and planned carefully.

There's more...

PowerShell can be used to view, set, and enable/disable resource throttling.

PowerShell: View list of Performance Counters&;
Get-SPWebApplicationHttpThrottlingMonitor-identity <identity>

PowerShell: Set Performance Counters&;&;
Set-SPWebApplicationHttpThrottlingMonitor-identity <identity> -Category <category> -Counter <counter> -Instance 
<instance> -MaxThreshold <maxthreshold> -MinThreshold <minthreshold>

PowerShell: Disable Resource Throttling&;
Disable- SPWebApplicationHttpThrottlingMonitor-identity <identity>

PowerShell: Enable Resource Throttling&;&;
Enable- SPWebApplicationHttpThrottlingMonitor-identity <identity>

More info

Server CPU, Memory, Request in Queue, and Request Wait Time are monitored by default. A new performance counter has to be added via the object model. The counters that are used can be obtained via the Performance Monitor application on the server.

Here is an example of how to configure the Processor Time:

$uri = new-object System.Uri(http://"yourwebsite")
$webApp = [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup($uri)
$httpthrottlesettings = $webApp.HttpThrottleSettings
$httpthrottlesettings.AddPerformanceMonitor("Processor", "% Processor Time", "_Total", 70,0)
$httpthrottlesettings.Update()					  
Other -----------------
- SharePoint 2010 : Farm Governance - Creating a new policy for a web application
- Workflow in Dynamics AX 2009 : Windows Workflow Foundation, Automating Business Processes
- Workflow in Dynamics AX : Dynamics AX 2009 Workflow Infrastructure
- Microsoft Dynamics CRM 2011 : Using Advanced Find (part 5) - Using Edit Multiple Records and Assign Multiple Records from Advanced Find
- Microsoft Dynamics CRM 2011 : Using Advanced Find (part 4) - Using Advanced Filter Criteria
- Microsoft Dynamics CRM 2011 : Using Advanced Find (part 3) - Creating and Sharing a Saved View
- Microsoft Dynamics CRM 2011 : Using Advanced Find (part 2) - Organizing and Formatting Advanced Find Results
- Microsoft Dynamics CRM 2011 : Using Advanced Find (part 1) - Performing Advanced Find Queries
- System Center Configuration Manager 2007 : Available Reports and Use Cases (part 4) - Asset Intelligence, Reporting on Application Compatibility
- System Center Configuration Manager 2007 : Available Reports and Use Cases (part 3) - Client Status Reporting
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server