Bobcares

Back Pressure in Exchange server – Lets have a look into it

by | Feb 28, 2021

Stuck with Back Pressure in Exchange server? We can help you.

In Exchange Server 2007 and later, the Transport Service monitors system resources on Transport servers and stops message submission when it runs low on these resources.

It continues to deliver existing messages in the queue. However, it resumes message submission only when resource utilization returns to normal.

This feature is Back Pressure.

As part of our Server Management Services, we assist our customers with several Exchange Server queries.

Today, let us see how Back Pressure works on Exchange Server.

 

What is Back Pressure in Exchange Server?

Back Pressure is a feature of the Microsoft Exchange Transport service to monitor the system resource. It basically exists on the Mailbox servers and the Edge Transport servers.

For example, when a system resource utilization level on the Exchange server is too high, the server delays accepting new messages.

If the resource utilization gets worse, the server stops accepting new messages to work exclusively on processing all existing messages.

However, when the system resource utilization returns to an acceptable level, it resumes accepting new messages and processing outgoing messages.

The following are monitored by Back Pressure:

  • DatabaseUsedSpace[%ExchangeInstallPath%TransportRoles\data\Queue]

Hard drive utilization for the drive that holds the message queue database.

  • PrivateBytes

It is the memory that the EdgeTransport.exe process use.

  • QueueLength[SubmissionQueue]

The number of messages in the Submission queue.

  • SystemMemory

The memory used by all other processes.

  • UsedDiskSpace[%ExchangeInstallPath%TransportRoles\data\Queue]

Hard drive utilization for the drive that holds the message queue database transaction logs.

  • UsedDiskSpace[%ExchangeInstallPath%TransportRoles\data]

Hard drive utilization for the drive that’s used for content conversion.

  • UsedVersionBuckets[%ExchangeInstallPath%TransportRoles\data\Queue\mail.que]

The number of uncommitted message queue database transactions that exist in memory.

The overloaded state base on a series of resource utilization metrics:

  1. Free disk space on the drive(s) that store the message queue database and logs
  2. Memory utilization by the EdgeTransport.exe process
  3. Overall memory utilization for the server
  4. Uncommitted queue database transactions in memory

 

Levels of resource utilization

For each monitored system resource, it defines the following levels of resource utilization or pressure:

Low or Normal: There is no overuse of the resource. The server accepts new connections and messages.

Medium: There is slight overuse of the resource. Back Pressure applies to the server in a limited manner. In addition, mail from senders in the organization’s authoritative domains can flow.

High: Here, there is severe overuse of resources. Hence applies full Back Pressure. All message flow stops, and the server rejects all new incoming MAIL FROM commands.

These are defined depending on whether the resource pressure is increasing or decreasing.

Typically, it requires a resource utilization level that is lower than the original level as the resource utilization decreases. In other words, there really is not a static value for the resource utilization values.

We need to know if the utilization is increasing or decreasing before we can determine the next change in resource utilization level.

Generally, back pressure takes action when resources are under pressure.

  • Database Used Space
Medium:
Reject incoming messages from non-Exchange servers.
Reject message submissions from the Pickup directory and the Replay directory.
Message resubmission is paused.
Shadow Redundancy rejects messages.

High:
All actions taken at the medium utilization level.
Reject incoming messages from other Exchange servers.
Reject message submissions from mailbox databases by the Microsoft Exchange Mailbox Transport Submission service on Mailbox servers.
  • Private Bytes
Medium:
Reject incoming messages from non-Exchange servers.
Reject message submissions from the Pickup directory and the Replay directory.
Message resubmission is paused.
Shadow Redundancy rejects messages.
Processing messages after a server or Transport service restart (also known as boot scanning) is paused.
Start message dehydration.

High:
All actions taken at the medium utilization level.
Reject incoming messages from other Exchange servers.
Reject message submissions from mailbox databases by the Microsoft Exchange Mailbox Transport Submission service on Mailbox servers.
  • QueueLength[SubmissionQueue]
Medium:
Introduce or increment the tarpitting delay to incoming messages. If normal level isn’t reached for the entire Submission queue history depth, take the following actions:
• Reject incoming messages from non-Exchange servers.
• Reject message submissions from the Pickup directory and the Replay directory.
• Message resubmission is paused.
• Shadow Redundancy rejects messages.
• Boot scanning is paused.

High:
All actions taken at the medium utilization level.
Reject incoming messages from other Exchange servers.
Reject message submissions from mailbox databases by the Microsoft Exchange Mailbox Transport Submission service on Mailbox servers.
Flush enhanced DNS cache from memory.
Start message dehydration.
  • SystemMemory
Medium:
Start message dehydration.
Flush caches.

High:
All actions taken at the medium utilization level.
  • UsedDiskSpace (message queue database transaction logs)
Medium:
Reject incoming messages from non-Exchange servers.
Reject message submissions from the Pickup directory and the Replay directory.
Message resubmission is paused.
Shadow Redundancy rejects messages.

High:
All actions taken at the medium utilization level.
Reject incoming messages from other Exchange servers.
Reject message submissions from mailbox databases by the Microsoft Exchange Mailbox Transport Submission service on Mailbox servers.
  • UsedDiskSpace (content conversion)
Medium:
Reject incoming messages from non-Exchange servers.
Reject message submissions from the Pickup directory and the Replay directory.

High:
All actions taken at the medium utilization level.
Reject incoming messages from other Exchange servers.
Reject message submissions from mailbox databases by the Microsoft Exchange Mailbox Transport Submission service on Mailbox servers.
  • UsedVersionBuckets
Medium:
Introduce or increment the tarpitting delay to incoming messages. If normal level isn’t reached for the entire version bucket history depth, take the following actions:
• Reject incoming messages from non-Exchange servers.
• Reject message submissions from the Pickup directory and the Replay directory.

High:
All actions taken at the medium utilization level.
Reject incoming messages from other Exchange servers.
Reject message submissions from mailbox databases by the Microsoft Exchange Mailbox Transport Submission service on Mailbox servers.
Stop processing outgoing messages.
Remote delivery is paused.

 

How to turn off Back Pressure in the Exchange server

When the Transport service on a Mailbox server or an Edge Transport server is under resource pressure, it accepts incoming connections. However, they either throttle or reject the incoming messages over those connections.

In such cases, to turn off Back Pressure, our Support Techs suggest the following steps:

  1. Initially, open the EdgeTransport.exe.config file from the \Exchange Server\bin directory with any text editor.
  2. Then add the following key+value pair:
    <add key=”EnableResourceMonitoring” value=”false” />
  3. Eventually, save and restart the Microsoft Exchange Transport Service (MSExchangeTransport) from the Services console or using:
    Restart-Service MSExchangeTransport

[Couldn’t turn off Back Pressure? We’d be happy to assist]

 

Conclusion

To conclude, Back Pressure is a feature that helps the Transport Service monitor system resources and stop message submission when it runs low on resources.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.