Delayed delivery when you send many messages on a Windows 7, Windows Server 2008 R2, Windows 8 or Windows Server 2012-based Message Queuing server

Symptoms

Consider the following scenario:
  • You install Microsoft Message Queuing (also known as MSMQ) on a computer that is running Windows 7, Windows Server 2008 R2, Windows 8 or Windows Server 2012.
  • You send messages to message queues on many Message Queuing clients.
  • Some of the Message Queuing clients are offline or not reachable.
In this situation, Message Queuing takes longer than expected to send the messages to the clients.

Cause

This issue occurs because when outgoing queues of the Message Queuing server try to connect to the clients, the connection status continuously changes from Connected to Waiting to Connected and so on.

Resolution

This hotfix is also available at Microsoft Update Catalog.

Hotfix information


A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:
  • Windows 7
  • Windows Server 2008 R2
  • Windows 8
  • Windows Server 2012

Registry information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To apply this hotfix, you have to change the following registry entry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\DeferFirstConnectAttemptReg Type: DWORD
Default: 0
Description: Change this registry value to 1 in order to enable the fix which will avoid the first connection attempt where the delay happens and move directly to retry logic.


Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.
File information

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Additional file information
Egenskaper

Artikkel-ID: 2824770 – Forrige gjennomgang: 13. nov. 2013 – Revisjon: 1

Tilbakemelding