Optimizing the MSMQ (NETIQKB72763)

  • 7772763
  • 13-Jan-2011
  • 17-Jan-2011

Environment

Security Manager 6.x

Situation

In certain situations the Microsoft Message Queuing (MSMQ) on the Central computer can become overloaded and unusable. There are certain configuraton changes that can be made to help avoid these types of scenarios. One problem in particular is not having enough disk space to support the amount allocated in the MSMQ settings. Another problem might be the the disk space allocated is quickly being used up. Depending on the amount of data being processed by the MSMQ on that Central computer, you should allocate somewhere between 8 to 12 Gigs of space and point to a drive that has the available free space. It is also advisable to limit the amount of space that the netiq.sm.logarchival private queue is using, that way the private queue does not consume all of the allocated space. E.g. if the storage limit for MSMQ is 10GIgs, the limit for the netiq.sm.logarchival private queue should be set to 8Gigs.

Resolution

To point the MSMQ to a drive with available disk space

1. Go to computer management | services and applications | message queuing | right click | properties | storage tab

2. Enter the new paths

3. Restart the messaging service.

To set the storage limits of the MSMQ

1. Go to computer management | services and applications | message queuing | right click | properties | general tab

2. Change the "limit message storage to (KB)" box to somewhere between 8 and 12Gigs.

3. Restart the messaging service.

To limit the amount of space that the netiq.sm.logarchival private queue is using.

1. Go to computer management | services and applications | message queuing | private queues | netiq.sm.logarchival | right click | properties | general tab

2. Check the box "Limit Message storage to (KB)" and add a limit.  E.g. if the storage limit for MSMQ is 10GIgs, the limit for the netiq.sm.logarchival private queue should be set to 8Gigs.

3. Restart the messaging service.

 

 

 

 

Additional Information

Formerly known as NETIQKB72763

Whenever increasing the MSMQ storage limits on the Central computers, also raise the limits accordingly on the Log Archive servers.  Typically the Log Archive server MSMQ storage limits should be about 2Gigs higher than the settings on the Central computers.  Please refer to the first two sections of the of this KB to make the appropriate Log Archive server MSMQ changes. E.g. ?To point the MSMQ to a drive with available disk space? and ?To set the storage limits of the MSMQ?.