惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
H
Help Net Security
G
Google Developers Blog
D
Docker
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
Hugging Face - Blog
Hugging Face - Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
T
The Blog of Author Tim Ferriss
Microsoft Security Blog
Microsoft Security Blog
WordPress大学
WordPress大学
I
InfoQ
Engineering at Meta
Engineering at Meta
Stack Overflow Blog
Stack Overflow Blog
Google DeepMind News
Google DeepMind News

博客园 - bluehat

如果你的sharepoint 2013很慢... Sharepoint 2010 Timer Job 自定义开发的几个注意事项 2011你教会我的那些事儿 【sharepoint】SPEventReceiverStatus.CancelWithRedirectUrl 出错的请看这里 SharePoint Server 2010 LDAP Form 验证最容易出错的几点 CRM 客户端 SharePoint 2010 中如何彻底删除用户 SharePoint 2007/2010 的"SPGridView "控件常见的两个问题 Sharepoint 2010 中配置同步连接报错. - bluehat 不是黄山,胜似黄山--端午节之旅 心情不错 纠结 炎炎夏日,无心... 我想做一个有故事的人 无意发现Win 7 的时钟小秘密 小兽... 游陈阁老故乡 I am lost [ZZ]5 Paths to Happiness
Exchange 2007 内存使用问题
bluehat · 2010-10-22 · via 博客园 - bluehat

有很多人问到关于Exchange 2007 Server 服务器的内存使用问题。

首先它和Exchange 2003 是有很大差别的,Exchange 2003是32位架构设计,所以内存最大使用限制是4GB.而Exchange 2007是64位的,对内存的使用将不再有限制,甚至可以高达32GB甚至更高.我自己在测试环境中甚至发现 Store.exe这个进程对内存的占有率甚至高达90%,这是个正常现象,如果你刚好遇到,不用但是是不是出了什么问题。

在Exchange 2003里,存储进程Store.exe 处理数据库缓存是有上限的,一般在900MB,但是在Exchange2007里,数据库缓存将没有限制,最小是512M,上不封顶,也就是说内存有多大,缓存就扩充到多大,你会发现如果没有其他应用程序使用内存的话,Store.exe这个进程甚至消耗掉96%的内存,这样的目的就是要降低数据库对磁盘的I/O访问,提高性能和响应时间。当发现有其他应用程序需要一定的内存时,Store.exe这个进程会自动的缩小数据库缓存来释放一部分的内存空间出来以供使用。

当然我们也可以设定数据库缓存大小来控制其对内存的无限制的占有,方法如下:

How to modify the default database cache size:
To modify msExchESEParamCacheSizeMax:
1. Start ADSI Edit.
2. Open the following object:
Configuration/Services/Microsoft Exchange/Your organization/Administrative
Groups/Your administrative group/Servers/Server name/Information Store
3. Right-click Information Store, and then click Properties.
4. Under the list of Attributes, scroll down and select msExchESEParamCacheSizeMax.
5. Click the Edit button, then type the number of 8 kilobyte (KB) pages that you
want to set the maximum cache size to.
    For example. 1GB cache equates to 1048576 (1024 * 1024). Divide the cache that you
want to set by 8kb to determine the value to enter. In this case, 1048576 divided
by 8 is 131072.

If you wanted to set the cache size to 16GB, the value would be 2097152 (16777216
divided by 8).

Note
======
The msExchESEParamCacheSizeMax parameter controls the ESE buffer size. Its
value is expressed as a page count, and must be set to an exact multiple of 8192
for maximum efficiency. If this value is not met, the cache size is rounded up to
the next 32-MB boundary when virtual memory is allocated. If this value is
incorrectly set, memory may be wasted.


6. Quit ADSI Edit, and then restart the Microsoft Exchange Information Store service.

不过,这样做可能会影响邮件服务器的性能,不建议大家这样做。