没有获得微软规定的最大消息存储容量 [英] Not getting Microsoft's stated maximum message storage capacity

查看:77
本文介绍了没有获得微软规定的最大消息存储容量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在对Windows 7机器上的MSMQ进行压力测试.根据Microsoft的文档, http://msdn.microsoft.com/en-us/library/ms811056.aspx ,消息存储容量应该约为1.4GB-1.6GB.但是,MSMQ发生错误的时间大约为1个演出,比Microsoft声称的少了三分之一.有人知道发生了什么事吗?

I'm stress testing MSMQ on a Windows 7 box.  According to Microsoft's documentation, http://msdn.microsoft.com/en-us/library/ms811056.aspx, message storage capacity is supposed to be about 1.4GB - 1.6GB.  However, MSMQ errors out at about 1 gig, a third less than what Microsoft claims.  Does anyone know what's going on?

我正在使用专用队列,XML格式化程序,没有日志记录,没有事务,没有Active Directory集成.我的操作系统是Windows 7 Enterprise.

I'm using a private queue, XML formatter, no journaling, no transactions, no Active Directory integration.  My OS is Windows 7 Enterprise.

推荐答案

您可能正在看一篇较旧的文章. Windows 2000在32位系统上恢复了1.4GB-1.6GB的存储限制.当时,整个消息都存储在内存中(以及持久存储到磁盘中).如您所知,一个32位进程限制为2GB,这就是将1.4GB限制为1.6GB的原因(MSMQ进程本身将使用大约400MB或空间,我们可以将其余空间用于消息)

You're probably looking at an older article.  The 1.4GB - 1.6GB storage limit was back in Windows 2000 on a 32-bit system.  At the time the entire message was stored in memory (as well as persisted to disk).  As you know, a 32-bit process is limited to 2GB, so that was the reasoning for the 1.4GB to 1.6GB limit (the MSMQ process itself would use about 400MB or space, and we can use the rest for messages).

在较新版本的MSMQ上,用于存储消息的机制要低得多.默认配额设置为1GB,但是您可以轻松提高该配额.在计算机管理中,右键单击服务和应用程序"下的MSMQ图标,然后选择属性".在常规标签上,您会看到存储空间限制最初设置为1GB,然后可以提高它.为了安全起见,在32位系统上,我不建议将存储空间提高到2GB以上;在64位系统上,您应该可以提高存储空间,但在MSMQ中存在许多消息时,性能可能会降低,因此也许大约8GB是安全的.

On newer versions of MSMQ, the mechanism for storing messages is much lower.  The default quota is set to 1GB, but you can raise this easily.  In computer management, right-click on the MSMQ icon under services and Applications, then select Properties.  On the general tab you'll see that the Storage limit is intially set to 1GB you can then raise it.  On a 32-bit system I wouldn't recommend going much higher than 2GB to be safe, on a 64-bit system you should be able to go much higher, but may experience slower performance when there are many messages in MSMQ, so perhaps around 8GB would be safe.

此致

穆罕默德·伊斯梅尔[MSFT]

Muhammed Ismail [MSFT]


这篇关于没有获得微软规定的最大消息存储容量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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