sharepoint 速度慢的资料收集

第一:建议安装MOSS的系统环境最好为64位的,速度会提升非常大一块。

第二:在微软的站点有关于如何优化Web访问MOSS的几个命令行:

在IIS服务器上启用静态文件(.js、.css、.html之类)压缩:
cscript C:\Inetpub\adminscripts\adsutil.vbs set w3svc/filters/compression/parameters/HcDoStaticCompression true
在IIS服务器上启用动态文件(.asp之类)压缩:
cscript C:\Inetpub\adminscripts\adsutil.vbs set w3svc/filters/compression/parameters/HcDoDynamicCompression true
在动态文件压缩中添加“.aspx”文件类型(SharePoint站点所有页面都是.aspx的),要执行两条指令:
cscript C:\Inetpub\adminscripts\adsutil.vbs SET W3SVC/Filters/Compression/Deflate/HcScriptFileExtensions "asp" "dll" "exe" "aspx"
cscript C:\Inetpub\adminscripts\adsutil.vbs SET W3SVC/Filters/Compression/gzip/HcScriptFileExtensions "asp" "dll" "exe" "aspx"

将默认的压缩率提高,也是两条指令:
cscript C:\Inetpub\adminscripts\adsutil.vbs SET W3Svc/Filters/Compression/GZIP/HcDynamicCompressionLevel "9"
cscript C:\Inetpub\adminscripts\adsutil.vbs SET W3Svc/Filters/Compression/DEFLATE/HcDynamicCompressionLevel "9"

问题的原因已经找到,我们做的项目是在政府网络中,不能访问公网的。将安装有DNS的DC接入公网一会儿,MOSS网站打开就快了,拔掉公网的网线,重启就又慢了。

怀疑是不是微软的后门程序搞出的问题?

问题终于解决了!

有两种解决办法:

第一种:在安装MOSS 2007的服务器上,编辑“C:\WINDOWS\system32\drivers\etc”中的hosts文件,加入

“127.0.0.1      crl.microsoft.com

第二种:修改客户端“internet选项”=》高级=》取消“检查发行商的证书是否吊销”。

 SharePoint标配是4G内存,双CPU,你的机器配置太低了。我现在的服务器是单CPU2.0 4G内存,上面有20几个网站,同时在线人数峰值能达到7-8个人进行编辑操作,速度上还可以。 
还有一个原因就是网络原因。另外,在服务器场的环境下,如果机器配置不高,也会感觉比单机缓慢。楼上的说的禁用搜索,其实没有什么道理,SharePoint中的搜索是先进行爬网设置,所谓的爬网就是把内容在一个时间段内做了一个索引镜相,在真实搜索的时候并不是整机检索,所以,不会影响速度。 
不过SSP服务开启过多到是会影响到速度,曾经做过测试,最佳状态在服务器场环境下5个SSP服务是最好的。

 LZ你机器的内存是瓶颈,太少了,起码上到4G才行。 
注意:Windows Server 2003 上支持的最大内存为 4 GB。但是,Windows Server 2003 Enterprise Edition 支持 32 GB 的物理 RAM。使用物理地址扩展 (PAE) 功能,Windows Server 2003 Datacenter Edition 可支持 64 GB 的物理内存。 

下面是链接一个微软优化大内存KB,你可以看一下 
http://support.microsoft.com/kb/283037/

 

 你的这个问题我以前遇到过,这个是因为.net的问题,需要打补丁,但是打完还是一样有问题,呵呵,所以最好的方法是重启进程或者重启机器,LZ的问题是SQL和MOSS在一起,SQL占用的内寸大导致的,最好的方法就是分开,或者直接在上面做个虚机,装SQL好了

 我们生产环境用的Moss2007企业版+Sql2000标准版,公司100多人访问还好吧,没你说的那么慢!是否补丁都打全了,windows的和sql的,还有默认的asp.net版本是否是2.0的了,默认安装的话,asp.net版本是1.1的,要通过aspnet_regiis将asp.net在iis里的环境建制成2.0版本。不过我是有听说过将sql和moss分离在不通的服务器,比在单机下更慢,具体还要找点资料看看!

首次(对,首次)打开首页非常慢!比去一般的网站慢多了!但当天随后再打开时,速度好像又快了一点。

There are a couple of workarounds, which one works best is for you to decide: 

1.Add crl.microsoft.com to your hosts file and point it to your local machine. Some people have reported success with this, but it didn't work for me. 
2.Allow your servers to directly connect to crl.microsoft.com. If your environment dictates the use of a proxy server, configure it using proxycfg. 
3.Disable the CRL check by modifying the registry for all user accounts that use STSADM and all service accounts used by SharePoint. Find yourself a group policy wizard to help you out or manually modify the registry:

[HKEY_USERS/<userid>/Software/Microsoft/Windows/CurrentVersion/WinTrust/Trust Providers/Software Publishing]
"State"=dword:00023e00 
  
4.Download the CRLs and add them to the server manually (I haven't tested this, but it may work):


Download: http://crl.microsoft.com/pki/crl/products/CodeSignPCA.crl
http://crl.microsoft.com/pki/crl/products/CodeSignPCA2.crl
  
Add them: 
certutil -addstore CA CodeSignPCA.crl 
certutil -addstore CA CodeSignPCA2.crl 
We decided to go for Option 3 (disable CRL check) and life is good again..... well as good as it gets when you are doing SharePoint development.


发布了29 篇原创文章 · 获赞 7 · 访问量 31万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章