sharepoint 2013 The Current server is running low on memory

Hi,

I have 2 app server and 2 web server.  on health analyser i am getting

sharepoint 2013 The Current server is running low on memory

failing service:

SPDistributedCacheService 
(AppFabricCachingService)

failing server:

Both web servers.

please guide how to fix it.

thanks

August 26th, 2015 1:35am

Hi,

Change the Cache memory allocation

On all Cache servers in the farm stop the service
$instanceName =SPDistributedCacheService Name=AppFabricCachingService $serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername}
$serviceInstance.Unprovision()

Update the memory allocation
Update-SPDistributedCacheSize -CacheSizeInMB CacheSize

Start the service on all Cache servers
$instanceName =SPDistributedCacheService Name=AppFabricCachingService $serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername}
$serviceInstance.Provision()

Hope this helps :)

Free Windows Admin Tool Kit Click here and download it now
August 26th, 2015 1:47am

Instead of updating DCS cache size (which is already restricted to maximum of 10% of physical RAM on server), you should analyse which processes are consuming most of the memory on the server and then make a decision based on that.

Hope this helps.

August 26th, 2015 1:59am

Hi,

distributed cache is running on 1 app server and 1 web server. following is details:

Use-CacheCluster
Get-AFCacheHostConfiguration -ComputerName ComputerName -CachePort "22233"

Result:

size: 205 MB  web2  physical memory: 12 GB
size: 254 MB  app2  physical memory : 8 GB

What is the recommendation of size and where to run distributed cache service. distributed cache service not runing on web2 but web 2 memory utilization is 98%.

IIS worker process consuming most of memory.

pls advise what to do for optimization.

thanks.

Free Windows Admin Tool Kit Click here and download it now
August 26th, 2015 2:15am

This clearly shows that problem is not with DCS cache size. By default, its restricted to maximum of 10% of physical RAM on the server. You can find more information at https://technet.microsoft.com/en-us/library/jj219572.aspx.

You should check if there are any memory leaks with w3wp process and if its not, consider increasing memory size on the server.

Hope this helps.

August 26th, 2015 2:43am

Hi,

then how get rid of error from health analyzer. secondly how to find memory leak.

thx

Free Windows Admin Tool Kit Click here and download it now
August 26th, 2015 2:48am

Memory leaks are always typical to find and requires much extensive work. Here's guide if you like to do it:

http://www.codeproject.com/Articles/42721/Best-Practices-No-Detecting-NET-application-memo

Regd health analyzer, you can choose to run this rule only on demand or altogether ignore it.

Hope this helps.

August 26th, 2015 3:10am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics