Friday, October 17, 2014

How to increase server resource quota?

As an administrator, you can also specify the resource usage quota. SharePoint then monitors the resource usage level for a site collection against this quota. To monitor the resource usage level, SharePoint collects performance data such as processor time and unhandled exceptions that relate to custom code being used in sandboxed solutions. When resource usage level exceeds the daily quota, SharePoint turns off the sandbox for the site collection; then, custom code cannot run. Resource usage quotas can reduce the risk that custom code will adversely affect the performance of a site collection. You can also set an alert to be notified by email when the resource usage level for the site collection approaches its limit.

The server resource quota is by default 300 for every tenant. Increasing that limit is necessary if you use any Sandbox solutions. Increasing this limit will give your tenant more RAM and CPU power.

This can be done form Office 365 Admin center. Just follow the steps below to achive that:

  • From the admin menu choose SharePoint
  • From the lsit of Site Collections choose the site collection that you desire to increase the server resource

image

  • From the ribbon choose server resource quota

image

  • Change the size to desired value

image

  • Enable the options to send an email when the usage limit reaches 80%
  • Press save to save the new values

In some scenarios you may recieve a SharePoint error with a correlation ID, when you try to do this operation. Then PowerShell will be your best friend. Here are the steps to do it by PowerShell:

  • Start SharePoint Online Management Shell   
  • Type: Connect-SPOService -Url https://contoso-admin.sharepoint.com -credential admin@contoso.com
  • Get-SPOSite -Identity https://contoso.sharepoint.com
  • Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -ResourceQuota 600 -StorageQuota 15000

Replace contoso with your domain and for credential change to your admin credential.

The values are in MB!

2 comments:

Rustam khan said...

Dekor till brevlåda Vi erbjuder postlådor och brevlådor med text och dekor. Klistermärke till brevlåda & ingen reklam tack & gratis. Köpa veckopostlåda online, Text till brevlåda & Dekor till brevlåda

Rustam khan said...

Cabin Accommodation Hervey Bay Big 4 Point Vernon Holiday Park is a great place to enjoy caravan park Hervey bay accommodation, Pet friendly caravan park Hervey Bay & Cabin accommodation Hervey Bay.