Partager via


Set the Journal Storage Size for Computers

Applies To: Windows Server 2008

Use this procedure to set the journal size for computers.

You can use this procedure to set the journal size for computers. Journal storage size governs the maximum total size (in kilobytes) for journal messages stored in the computer journal on the selected computer.

Membership in <Domain>\Domain Users, or equivalent, is the minimum required to complete this procedure.

To set the journal size for computers

  1. Click Start, point to All Programs, point to Administrative Tools, and then click Active Directory Users and Computers.

  2. On the View menu, click Users, Groups, and Computers as containers, and then click Advanced Features.

  3. In the console tree, right-click msmq.

    Where?

    • Active Directory Users and Computers/YourDomain/YourOrganizationalUnit (such as Computers or Domain Controllers)/YourComputer/msmq
  4. Click Properties.

  5. On the General page, in Storage Limits, select the Limit journal storage to (KB) check box, and then type the total size (in kilobytes) of all journal messages that can be stored in the computer journal on the selected computer.

Additional considerations

  • This procedure is not applicable to computers operating in workgroup mode or virtual servers in clusters. To set the computer quota of a workgroup computer create the DWORD registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Parameters\MachineCache\MachineJournalQuota and set to a value of the maximum total size in kilobytes. To change the quota for a virtual server, you need to change the analogous registry key for clustered servers. After setting the registry, restart the Message Queuing service for the changes to take effect.

Note

Incorrectly editing the registry may severely damage your system. It is recommended that you back up any valuable data on the computer before making changes to the registry.

  • Following a new installation of Message Queuing, or an upgrade from Windows 2000 or Windows Server 2003, the default limit for these storage sizes is 8 gigabytes (GB).

  • Automatically created folders used to store copies of messages are called journals. Messages stored in journals are called journal messages. When the journal storage limit (or quota) is reached, additional messages cannot be placed in the computer journal on the computer until the cumulative size of the journal messages in all journals on that computer drops below the specified limit.

  • When you set the journal storage size limit for a computer, you automatically set equal quotas for the computer journal (the Journal messages queue), the dead-letter queue, and the transactional dead-letter queue.

  • The journal messages stored in source or computer journals can include any outgoing non-transactional message. The journal messages stored in target or queue journals can include any incoming message, including transactional messages.

Additional references