Problem
You see the following issue appear in Review Problems and Solutions in Central Administration:
You check the WFE's system drive and though it doesn't meet the 5xRAM rule, there is sufficient space to meet the 2xRAM rule. You happen to glance at other drives and see the log drive near saturation. Looking through it, you find GB-sized ULS logs being generated every half hour in the ULS logs folder on this drive. Opening up one of these files using ULSViewer, you find the following messages repeated:
You see the following issue appear in Review Problems and Solutions in Central Administration:
Title | Drives are running out of free space. |
Severity | 1 - Error |
Category | Availability |
Explanation | Available drive space is less than twice the value of physical memory. This is dangerous because it does not provide enough room for a full memory dump with continued operation. It also could cause problems with the Virtual Memory swap file |
Remedy | Examine the failing servers and delete old logs or free space on the drives. For more information about this rule, see http://go.microsoft.com/fwlink/?LinkID=142688 |
Failing Servers | [a farm WFE] |
Failing Services | SPTimerService (SPTimerV4) |
Rule Settings | View |
You check the WFE's system drive and though it doesn't meet the 5xRAM rule, there is sufficient space to meet the 2xRAM rule. You happen to glance at other drives and see the log drive near saturation. Looking through it, you find GB-sized ULS logs being generated every half hour in the ULS logs folder on this drive. Opening up one of these files using ULSViewer, you find the following messages repeated:
Calling... SPDistributedCacheClusterCustomProvider:: GetValue(object transactionContext, string type, string key).
Successfully executed... SPDistributedCacheClusterCustomProvider:: GetValue(object transactionContext, string type, string key).Solution
- On the problematic WFE, open elevated SharePoint Management shell.
- Execute the following commands in the order shown:
- $instanceName ="SPDistributedCacheService Name=AppFabricCachingService" $serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername} $serviceInstance.Unprovision()
- $instanceName ="SPDistributedCacheService Name=AppFabricCachingService" $serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername} $serviceInstance.Provision()
- Stop-Cachecluster
- Start-CacheCluster
- DistributedCache entries in SharePoint Log
- AppFabric Caching (and SharePoint): Configuration and Deployment (Part 2)
- Get-SPServiceInstance
- Stop-Cachecluster
- Start-CacheCluster
No comments:
Post a Comment