FIX: Trigger Service causes CPU usage to increase to 100 percent when creating log files (330090)



The information in this article applies to:

  • Microsoft Message Queuing 2.0

This article was previously published under Q330090
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

The Trigger service generates a log file named msmqtriggerServiceStatus.log when you start your computer, and then generates this log file again every 1 minute. If there are many triggers and queues, this behavior may cause the CPU usage to increase to 100 percent for several seconds. During this time, other functions, such as message delivery, cannot occur. The problem that you experience because of this behavior depends on the configuration of your computer and the number of triggers and queues.

WORKAROUND

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
To work around this problem, set the time interval to create a log file periodically. To do this, set the following registry key to the minutes interval for log file creation:

hklm\software\microsoft\msmq\Triggers\StatusGenFrequency

A value of 0 causes the Trigger service to create a log file only when you start your computer.

RESOLUTION

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix 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.
   Version                File name
   -----------------------------------------
   01.01.00.0021          MSMQTriggers.exe 

				

NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:10/19/2005
Keywords:kbQFE kbCOMServices kbbug kbfix KB330090 kbAudDeveloper