SharePoint 2010-随机出现的页面性能问题
2011-10-12 09:19
190 查看
有个客户, 服务器的配置巨牛, 24核CPU, 64GB内存, 这样的三台机器组成了一个SharePoint 2010的服务器场.
就是这样牛的配置, 出现了性能问题.
看performance log, 发现CPU, 内存都资源非常充裕, 问题发生的时候request/sec的值也非常的低.
问题发生的频率很低, 一天十次以内.
该application使用claim based authentication.
排错
============
在ULS Log中, 可以发现类似下面的entry
解决方案
============
这里的解决方案来自我的同事Nick Huang. 贴在这里. 向Nick致以衷心的感谢.
定位到注册表键值 HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SystemCertificates\AuthRoot (如果该键值不存在, 则手动创建一个)
创建下面的键值:
Name: DisableRootAutoUpdate
Type: REG_DWORD
Value: 1
重启服务器.
进行过了上面的注册表修改后, 问题就可以解决了. 然而, 有些公司定义了组策略, 强制对证书进行检查. 那么我们需要对所有的SharePoint机器上的组策略设置进行修改, 防止错误的配置被再次通过组策略push下来.
方法如下:
1. 运行gpedit.msc
依次点击Computer configuration ->Windows Settings ->Security Settings ->Public Key Policies
2. 选择Certificate Path Validation Settings, 选择Network retrival选项卡. 并进行如下配置. 即, 不要勾选Automatically update certificates in the MS Root Certificate program.
3. 点击OK.
4. 运行命令gpupdate /force
Reference
============
You May Experience Slowness When Using SAML Claims with SharePoint 2010
http://blogs.technet.com/b/speschka/archive/2011/07/13/you-may-experience-slowness-when-using-saml-claims-with-sharepoint-2010.aspx
就是这样牛的配置, 出现了性能问题.
看performance log, 发现CPU, 内存都资源非常充裕, 问题发生的时候request/sec的值也非常的低.
问题发生的频率很低, 一天十次以内.
该application使用claim based authentication.
排错
============
在ULS Log中, 可以发现类似下面的entry
06/01/2011 10:53:58.07 w3wp.exe (0x160C) 0x1668 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (SPCertificateValidator.Validate). Execution Time=13867.4754854019
06/01/2011 10:54:11.97 w3wp.exe (0x160C) 0x1EF8 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (SPCertificateValidator.Validate). Execution Time=13895.0494673804
看起来这个问题是由于证书验证引起的.06/01/2011 10:54:11.97 w3wp.exe (0x160C) 0x1EF8 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (SPCertificateValidator.Validate). Execution Time=13895.0494673804
解决方案
============
这里的解决方案来自我的同事Nick Huang. 贴在这里. 向Nick致以衷心的感谢.
定位到注册表键值 HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SystemCertificates\AuthRoot (如果该键值不存在, 则手动创建一个)
创建下面的键值:
Name: DisableRootAutoUpdate
Type: REG_DWORD
Value: 1
重启服务器.
进行过了上面的注册表修改后, 问题就可以解决了. 然而, 有些公司定义了组策略, 强制对证书进行检查. 那么我们需要对所有的SharePoint机器上的组策略设置进行修改, 防止错误的配置被再次通过组策略push下来.
方法如下:
1. 运行gpedit.msc
依次点击Computer configuration ->Windows Settings ->Security Settings ->Public Key Policies
2. 选择Certificate Path Validation Settings, 选择Network retrival选项卡. 并进行如下配置. 即, 不要勾选Automatically update certificates in the MS Root Certificate program.
3. 点击OK.
4. 运行命令gpupdate /force
Reference
============
You May Experience Slowness When Using SAML Claims with SharePoint 2010
http://blogs.technet.com/b/speschka/archive/2011/07/13/you-may-experience-slowness-when-using-saml-claims-with-sharepoint-2010.aspx
相关文章推荐
- SharePoint 2010 自定义页面出现“项目可能已被其他用户删除或重命名”问题跟踪
- SharePoint 2010 文档库AllItems.aspx页面出现乱码,打开即提示下载
- 谈谈SharePoint 2010的客户端对象模型的性能问题
- 解决 SharePoint 2010 外部列表时间字段出现时差的问题
- sharepoint 使用Office Web Apps 查看或编辑office文档时页面出现:“抱歉,出现了问题”错误
- SharePoint 2010 打包 KB2756920 出现无法访问的问题,是一个bug,要卸载掉
- sharepoint 使用Office Web Apps 查看或编辑office文档时页面出现:“抱歉,出现了问题”错误
- sharepoint 2013 使用Office Web Apps 查看或编辑office文档时页面出现:“抱歉,出现了问题”错误
- sharepoint 使用Office Web Apps 查看或编辑office文档时页面出现:“抱歉,出现了问题”错误
- SharePoint 2010 因为证书的原因导致性能问题
- Sharepoint 2010 Form认证自定义登录页面,总是自动登录问题
- SharePoint 2010 准备虚拟机开发环境出现的问题和解决方式
- shtml页面include时出现乱码或多出一行的问题
- 用ASP.NET做项目,本本上的系统是XP,网上下载了IIS6,安装完后出现HTTP500问题,解决之.接着出现了浏览页面时跳出登陆框让输用户名及密码,GOOGLE了一下,原来是权限不够,解决方法
- 运行visual studio 2010 出现严重问题--- 临时目录“W:\userTemp\”不是有效目录。安装程序无法继续
- springMVC controller多次转发jsp后,出现无法加载出页面问题
- 微信小程序存在scroll-view为外层时,制作模拟框(全页面变成透明的黑色,出现一个模拟框)的兼容性问题
- jsp中的include静态页面出现乱码问题
- action接收到来自jsp页面的请求时出现中文乱码问题处理方法
- IE浏览器从页面向后台Controller传中文值出现乱码问题