Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/253520

From BetaArchive Wiki
Knowledge Base


Message Queuing warning from Triggers Service: Attempting to reallocate the message body buffer and re-request message

Article ID: 253520

Article Last Modified on 10/26/2007



APPLIES TO

  • Microsoft Message Queuing 2.0
  • Microsoft Message Queue Server 1.0



This article was previously published under Q253520

SYMPTOMS

The Microsoft Message Queuing Triggers Service may log entries similar to the following in the Application event log:

The description for Event ID ( 101 ) in Source ( MSMQ Triggers ) could not be found. It contains the following insertion string(s):

MACHINE=BBQBOY;
OBJECT=CTriggerMonitor424;
CATEGORY=2;
EVENTID=101;
THREADID=424

A message has been received on queue (BBQBOY\TriggerTestQueue) that exceeds the allocated message body buffer. Attempting to reallocate the message body buffer and re-request message. Note this is a will negatively impact performance..

CAUSE

This is a benign warning. The warning indicates that if the default message body size, which the Message Queuing Triggers Service pre-allocates for receiving a message, is too small for the message that is about to be received and for every message that comes in, the Trigger Service must reallocate space for the message body after reading the body size. This results in the Triggers Service reading the message twice, which can slow performance, but does not stop the message from being processed.

RESOLUTION

This warning cannot be disabled, but if the messages received in the queue are usually of a specific size, you can set the default message body size to that size to avoid the reallocation overhead. The Microsoft Management Console (MMC) snap-in for the Triggers Service is used to change this setting. To change this setting, do the following:

On a computer running Windows 2000:

  1. Right-click My Computer, and then click Manage.
  2. In the Computer Management console, expand Services and Applications in the left pane.
  3. Expand Message Queuing in the left pane.
  4. Right-click MSMQ Triggers, and then click Properties.
  5. Change the Default Message Size property to your new value.

On a computer running Windows NT 4.0:

  1. Click Start, click Run, and then type mmc.exe.
  2. On the Console menu, select Add/Remove Snap-in.
  3. In the Add/Remove Snap-in dialog box, click Add.
  4. In the Add Stand Along Snap-in dialog box, select MSMQ Triggers, and then click Add.
  5. In the MSMQ Triggers dialog box, click Finish, and then click Close.
  6. Click OK in the Add/Remove Snap-in dialog box.
  7. Right-click MSMQ Triggers.
  8. Click Properties.
  9. Change the Default Message Size property to your new value.


STATUS

This behavior is by design.

REFERENCES

The Triggers documentation is included with the Message Queuing Triggers installation.


Additional query words: MSMQ Triggers Service Warning

Keywords: kbproductlink kbprb KB253520