FIX: Microsoft Message Queuing service (Mqsvc.exe) exhausts its private bytes when the GetPrivateQueuesByMachine function is called

Symptoms

Microsoft Message Queuing service (Mqsvc.exe) exhausts its private bytes.

Cause

This problem occurs when your Message Queuing client application makes repeated calls to the MessageQueue.GetPrivateQueuesByMachine function. These calls are made to retrieve a list of all private queues on a specified computer. Message Queuing does not have the deletion code that is required to remove the lists of private queues.

Resolution

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
889100 How to obtain the latest service pack for Windows Server 2003

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. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

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, contact 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 Web site: 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

Windows Server 2003

Restart requirement

You must restart your computer after you apply this hotfix.

File information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version            Size    File name
--------------------------------------------------------------
18-Aug-2004 14:20 5.2.1728.199 77,312 Mqac.sys
18-Aug-2004 15:22 5.2.1728.199 192,000 Mqads.dll
18-Aug-2004 14:21 5.2.1728.199 28,160 Mqbkup.exe
18-Aug-2004 15:22 5.2.1728.199 9,728 Mqcertui.dll
18-Aug-2004 15:22 5.2.1728.199 31,232 Mqdbodbc.dll
18-Aug-2004 15:22 5.2.1728.199 47,616 Mqdscli.dll
18-Aug-2004 15:22 5.2.1728.199 48,128 Mqdssrv.dll
18-Aug-2004 15:22 5.2.1728.199 44,544 Mqgentr.dll
18-Aug-2004 15:22 5.2.1728.199 28,160 Mqise.dll
18-Aug-2004 15:22 2001.12.4720.193 71,680 Mqlogmgr.dll
18-Aug-2004 14:21 5.2.1728.199 39,424 Mqmig.exe
18-Aug-2004 15:22 5.2.1728.199 220,160 Mqmigrat.dll
18-Aug-2004 15:22 5.2.1728.199 230,400 Mqoa.dll
18-Aug-2004 15:22 5.2.1728.199 15,872 Mqperf.dll
18-Aug-2004 15:22 5.2.1728.199 777,216 Mqqm.dll
18-Aug-2004 15:22 5.2.1728.199 169,472 Mqrt.dll
18-Aug-2004 15:22 5.2.1728.199 117,248 Mqrtdep.dll
18-Aug-2004 15:22 5.2.1728.199 133,632 Mqsec.dll
18-Aug-2004 15:22 5.2.1728.199 508,928 Mqsnap.dll
18-Aug-2004 15:22 5.2.1728.199 50,176 Mqupgrd.dll
18-Aug-2004 15:22 5.2.1728.199 421,888 Mqutil.dll

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Windows Server 2003 Service Pack 1.

More Information

To detect this problem, you can use Performance Monitor. Performance Monitor can monitor the value of the Private Bytes counter. The Private Bytes counter is in the Process object for the instance of mqsvc, also known as Message Queuing service.

For additional information about terminology that is used to describe Microsoft software updates, 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

Properties

Article ID: 884046 - Last Review: May 28, 2008 - Revision: 1

Feedback