SharePoint启用BLOB CACHE导致高CPU利用率 [英] SharePoint Enabling BLOB CACHE causing High CPU utilization

查看:185
本文介绍了SharePoint启用BLOB CACHE导致高CPU利用率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在SharePoint WFE和APP服务器中,我们启用了BLOB CACHE,但启用它后,我们的CPU利用率达到100%。请帮忙。

推荐答案

嗨Asif_lqbal,

实际上,如果您不遵循blob缓存最佳做法,那么您可能会遇到性能问题:


  • 确保您将BLOB缓存放在具有足够磁盘空间的驱动器上以存储缓存。
  • 选择将由尽可能少的进程使用的驱动器,以便BLOB缓存进程在尝试访问时不会遇到冲突
    驱动器。
  • 如果您计划在使用大量缓存的场景中使用BLOB缓存,例如在高流量环境中提供视频,并且您将使用
    ULS日志记录,考虑将BLOB缓存放在与ULS日志不同的物理驱动器上 - 而不是放在单独的分区上。
  • 如果您的SharePoint服务器上已经安装了防病毒软件,请确保从
    AV扫描中排除blob缓存目录及其所有子目录。
  • 当您决定制作BLOB缓存的大小时,您必须考虑文件的数量和大小,以确定要存储的
    数据的总大小。缓存。
  • 如果您打算在您的网站上使用图像再现功能,您应该考虑每个呈现是缓存中的单独BLOB。
  • Make sure that you put the BLOB cache on a drive that has sufficient disk space available in which to store the cache.
  • Select a drive that will be used by as few processes as possible so that the BLOB cache process does not encounter conflicts when it tries to access the drive.
  • If you plan to use the BLOB cache in a scenario with heavy cache use, such as serving videos in a high traffic environment, and if you will use ULS logging, consider placing the BLOB cache on a separate physical drive from the ULS log — not on a separate partition.
  • If you have anti-virus already installed on your SharePoint servers, ensure excluding the blob cache directory and all its subdirectories from the AV scanning.
  • When you decide how large to make the BLOB cache, you must consider the number and size of the files to determine the total size of the data to be stored in the cache.
  • If you plan to use the image renditions feature on your site, you should account for each rendition being a separate BLOB in the cache.

或者你可以禁用BLOB缓存。
转到Web应用程序的web.config文件并更改enable ="false",如下所示格式: 

<BlobCache location="C:\blobCache" path="\.(gif|jpg|png|css|js)


" maxSize =" 1" ; enabled =" false" />
" maxSize="1" enabled="false"/>

您可以参考这篇文章来决定是否需要Blob缓存以及您需要它。

https://docs.microsoft.com/en-us/sharepoint/administration/caching-and-performance-planning

EST
的问候,

Allen Allen


这篇关于SharePoint启用BLOB CACHE导致高CPU利用率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆