当前位置:雨林木风下载站 > 办公软件教程 > 详细页面

How to Limit NodeRunner.exe High Memory, CPU Usage

How to Limit NodeRunner.exe High Memory, CPU Usage

更新时间:2024-02-09 文章作者:未知 信息来源:网络 阅读次数:

SharePoint发行版本有SharePoint2003、SharePoint2007、Sharepoint 2010、SharePoint2013和SharePoint2016。SharePoint提供了功能强大的团队协作环境,使得组织能够在整个组织内部实现整合、组织、查找和提供 SharePoint站点。

roblem:?NodeRunner.exe is consuming a lot of memory and CPU resulted in performance issues on SharePoint 2013 server.

Solution:
NodeRunner.exe is a SharePoint 2013 Search service component and it is resource hungry. To reduce the CPU and Memory impact of this process, follow below steps:

Step 1: Reduce the CPU impact of the search service
By default SharePoint search uses "maximum" to speed up its search crawling process. To reduce the CPU usage of the search service, run this PowerShell script from any one of your SharePoint 2013 server:

Set-SPEnterpriseSearchService -PerformanceLevel Reduced

This sets Search Service Application crawl component to use less number of threads.


Step 2: Limit the NodeRunner.exe's Memory usage:?

  • Open the configuration file at "C:\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner.exe.config"?
  • Locate the node "nodeRunnerSettings", Set the value for "memoryLimitMegabytes" attribute to specific value (E.g. 1024). By default its value is 0 (which means unlimited memory).? How to Limit NodeRunner.exe High Memory, CPU Usage_本站

Step 3: Restart Search Service
For the above steps to take effect, You have to restart SharePoint 2013 search service. Go to Services console, restart SharePoint Search Host Controller process. Or use the PowerShell cmdlet to restart Search host controller process:

Restart-Service SPSearchHostController

The downside of the above changes: Since you are restricting resources to SharePoint search service, it increases search crawl time!?

Do not limit node runner memory in Production Servers!Instead try increasing the Memory on SharePoint Production servers.

PowerShell to Set NodeRunner config:

复制代码
#NodeRunner File Path$NRFile= "C:\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner.exe.config" #Get the XML$NodeRunnerConfig = New-Object XML$NodeRunnerConfig.Load($NRFile) #Set Limit to 100 MB$NodeRunnerConfig.configuration.nodeRunnerSettings.memoryLimitMegabytes = "100"$NodeRunnerConfig.Save($NRFile)
复制代码
Sharepoint 可以帮助企业用户轻松完成日常工作。

温馨提示:喜欢本站的话,请收藏一下本站!

本类教程下载

系统下载排行