Posts

Showing posts from May, 2018

Adjust the Search SharePoint Performance level

-Set-SPEnterpriseSearchService -PerformanceLevel PartlyReduced On all search app servers -Open NodeRunner process configuration file below in Notepad C:\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner.exe.config. Update  <nodeRunnerSettings memoryLimitMegabytes=”0 ″ /> . This is the configuration to limit NodeRunner process memory usage, replace  0  to 500 or 1000 -Restart  SharePoint Search Host Controller  service

Merge ULS logs

Commands to generate ULS logs during troubleshooting Set-SPLogLevel -TraceSeverity VerboseEx -Identity *Search*:* New-SPLogFile $starttime = get-date //do the operations $enddate = get-date Clear-SPLogLevel -Identity *Search*:* Merge-SPLogFile -Path e:\Crawllog.log -StartTime $starttime -EndTime $enddate Merge-SPLogFile -Path e:\zellber1.log -StartTime "04/30/2018 9:00" -EndTime "04/30/2018 18:00" Clear-SPLogLevel 

Adjust Distributed Cache and STS

https://www.habaneroconsulting.com/stories/insights/2013/sharepoint-2013-distributed-cache-bug#.VC7331fdb3U https://blogs.msdn.microsoft.com/sambetts/2015/10/20/why-sharepoint-check-permissions-can-give-wrong-results-for-ad-groups/ Modified sts external token instead of 1 day to 2 hours $cs = [Microsoft.SharePoint.Administration.SPWebService]::ContentService $cs.TokenTimeout = New-TimeSpan -Hours 2 $cs.Update() Added    <appSettings><add key="backgroundGC" value="true"/></appSettings> in the distributed DistributedCacheService.exe.config Then I will need to set the following: Get-SPDistributedCacheClientSetting   -ContainerType   DistributedLogonTokenCache $DLTC   =  Get-SPDistributedCacheClientSetting   -ContainerType   DistributedLogonTokenCache $DLTC.maxBufferPoolSize =  "1073741824" $DLTC.maxBufferSize =  "33554432" $DLTC.requestTimeout =  "3000" $DLTC.channelOpenTim