Microsoft KB Archive/185872

= XFOR: Mail Queues Grow And Messages Are Not Deleted From Queue =

Article ID: 185872

Article Last Modified on 9/22/2005

-

APPLIES TO


 * Microsoft Commercial Internet System 1.0 Service Pack 2

-



This article was previously published under Q185872



IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.



SYMPTOMS
The mail queues in Microsoft Internet Mail Service grow and messages are not deleted from the queue.



CAUSE
The mail queues in Internet Mail Service are single threaded. When the server is under a heavy load, the queues can back up. The following fix adds multithreading to the remote and local queues.



RESOLUTION
To resolve this problem, obtain the following fix by contacting Microsoft Product Support Services.

The fixed Smtpsvc.dll should have the following version number:

5.00.7734 (Intel)

5.00.7734 (Alpha)

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

To install this fix, perform the following steps:  Stop SMTPSVC by performing one of the following:

 From a command prompt run the following:

net stop SMTPSVC

-or- Select the SMTP service in Microsoft Internet Service Manager, click Properties on the menu bar, and then choose Stop Service.  Replace Smtpsvc.dll in your \System32\Inetsrv directory with the version of Smtpsvc.dll included in this fix.</li> Add the following registry keys to HKLM\SYSTEM\CCS\Services\SmtpSvc\Parameters as DWORD values:

LocalQueueThreads: 1

RemoteQueueThreads: 4

NOTE: The maximum number of threads per queue is 64.</li> Start SMTPSVC by performing one of the following:

 From a command prompt run the following:

net start SMTPSVC

-or-</li> Select the SMTP service in Microsoft Internet Service Manager, click Properties on the menu bar, and then choose Start Service.</li></ul> </li></ol>

After you install this fix, you will need to test the computer with the threads set at various levels. The ideal number of threads depends on your hardware and your goals. Please note that on a single processor computer, setting the threads beyond their defaults may cause a loss of performance; more threads does not necessarily mean more performance.

<div class="status_section">

STATUS
Microsoft has confirmed this to be a problem in Commercial Internet System version 1.0.

A supported fix is now available, but has not been fully regression tested and should be applied only to systems experiencing this specific problem, and that are severely impacted it. Contact Microsoft Technical Support for more information.

Additional query words: hot fix qfe hotfix backup age old prodmcis1 prodIMS akz

Keywords: kbbug kbfix kbqfe kbhotfixserver KB185872

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.