SharePoint 2010-随机出现的页面性能问题
有個客戶, 服務器的配置巨牛, 24核CPU, 64GB內存, 這樣的三臺機器組成了一個SharePoint 2010的服務器場.
就是這樣牛的配置, 出現了性能問題.
看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
看起來這個問題是由于證書驗證引起的.
?
解決方案
============
這里的解決方案來自我的同事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-随机出现的页面性能问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Windows 7下实现×××连接自动创
- 下一篇: 梦到自己冥婚了是什么意思