Exchange 2007 SP1 Moving Mail Queue/Transport Dumpster

UPDATE: For information on how to move the Exchange 2010 Mail Queue, see "Exchange 2010 Moving Mail Queue"

One problem that Exchange Administrators run into after successfully transitioning to Exchange 2007 is back pressure. Back pressure is a system resource monitoring feature of the Microsoft Exchange Transport service that exists on computers that are running Microsoft Exchange Server 2007 that have the Hub Transport server role or Edge Transport server role installed. Important system resources, such as available hard disk drive space and available memory, are monitored. If utilization of a system resource exceeds the specified limit, the Exchange server stops accepting new connections and messages. This prevents the system resources from being completely overwhelmed and enables the Exchange server to deliver the existing messages. When utilization of the system resource returns to a normal level, the Exchange server accepts new connections and messages.

The following system resources are monitored as part of the back pressure feature:

  • Free space on the hard disk drive that stores the message queue database.
  • Free space on the hard disk drive that stores the message queue database transaction logs.
  • The number of uncommitted message queue database transactions that exist in memory.
  • The memory that is used by the EdgeTransport.exe process.
    The memory that is used by all processes.

One solution is to ensure that you have sufficient disk space for your queue database and logs. An important thing to note is that if you are making use of CCR, Exchange holds the data for the transport dumpster in the transport queue file.

Moving the queue database and logs is a fairly simple operation and can be done via the Exchange Management Shell with the Move-TransportDatabase cmdlet.

The following command will move the database and logs to D:\Queue from the default location of C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue:

Move-TransportDatabase -QueueDatabasePath: D:\Queue -QueueDatabaseLoggingPath: D:\Queue

image

For more information on Back Pressure, visit Microsoft Technet