<

Exchange 2007 / 2010 Backpressure – Quick Fix

Published on
78,411 Points
50,111 Views
43 Endorsements
Last Modified:
Awarded
Editor's Choice
Community Pick

What is Backpressure?

Backpressure is a new ‘feature’ in Exchange 2007 / 2010 where Exchange actually monitors resources such as Free Disk Space on the disk where the Exchange Message Queue / Message Queue Transaction Logs live and the Memory that the Edgetransport.exe process is using and memory in general used by other processes.

How do I know if my server is suffering from Backpressure?

If one or more items being monitored hits a pre-defined limit, then Exchange will stop inbound mail-flow, so usually the first thing that you notice is that all of a sudden, you are not receiving emails from the rest of the world.  You will be able to continue to send emails, you just won’t receive any new emails.

Look in your event logs and if Backpressure is being applied, you will see Event ID's 15006 or 15007 in the logs:

Event log entry for critically low available disk space
Event Type: Error
Event Source: MSExchangeTransport
Event Category: Resource Manager
Event ID: 15006
Description: The Microsoft Exchange Transport service is rejecting messages because available disk space is below the configured threshold. Administrative action may be required to free disk space for the service to continue operations.

Event log entry for critically low available memory
Event Type: Error
Event Source: MSExchangeTransport
Event Category: Resource Manager
Event ID: 15007
Description: The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the configured threshold. This may require that this service be restarted to continue normal operation.

How do I get mail-flow restored quickly?

For a quick fix, modify the edgetransport.exe.config file (notepad works happily for this) found in c:\program files\microsoft\exchange server\bin (Exchange 2007) or c:\program files\microsoft\exchange server\v14\bin (Exchange 2010)

Search for and change the "EnableResourceMonitoring" from “True” to "False", save and close the file, then restart the Microsoft Exchange Transport Service.

Edge Transport Config File

Okay – so mail-flow has been restored – what to do next?

Once your inbound mail-flow has returned (assuming disk space is an issue, which has been the case every time I have seen Backpressure applied), then tidy up your drives and if you are not backing up your Exchange Server (which will purge the Exchange Log files), then make sure you do!  There is an excellent article written by Demazter which I have posted a link to at the bottom of this article which is applicable to Exchange 2010 and walks you through how to backup your Exchange 2010 server using the built-in Windows Backup software.

Exchange Circular Logging

An alternative to a manual tidy up of the drives is to enable 'Circular Logging' on the Exchange datastores, which will cause the old transaction logs that are probably filling up your drive to be deleted, freeing up Gb's of space.  If you opt for this course of action - you MUST backup your Exchange Server immediately afterwards otherwise you could suffer from data loss to the Exchange database if you suffer a problem with the server / drives / exchange store.

Enable Circular Logging in Exchange 2007:
Circular Logging in Exchange 2007 from the Exchange Management Console can be enabled under Server Configuration> Mailbox> Storage Group Properties> Tick "Enable circular logging".

Open up the Exchange Management Shell (EMS) and type in the following (replace "First Storage Group" with the name of your Storage Group):

Set-StorageGroup -Identity "First Storage Group" -CircularLoggingEnabled $true

Enable Circular Logging Exchange 2007
You may need to restart the Exchange Information Store Service to encourage the log files to be purged!

To disable circular logging once you have backed up the Exchange Database, please run the following command in the EMS (or untick the check box via the Exchange Management Console):

Set-StorageGroup -Identity "First Storage Group" -CircularLoggingEnabled $false

Disable Circular Logging Exchange 2007
Enable Circular Logging in Exchange 2010:
If you have Exchange 2010 you have to enable circular logging from the Exchange Management Console under Organization Configuration> Mailbox> Maintenance Tab> Enable Circular Logging - check the tick box (don't forget to untick the check box after you have backed up the Exchange Store).

Exchange 2010 Circular Logging
Once you have tidied up your drives and freed up some disk space, set the “EnableResourceMonitoring” back to “True” (if you set it to false) in the edgetransport.exe.config file and then restart the Microsoft Exchange Transport service again.

Further reading:
Exchange 2007 – Microsoft Backpressure Article:
http://technet.microsoft.com/en-us/library/bb201658(EXCHG.80).aspx

Exchange 2010 – Microsoft Backpressure Article:
http://technet.microsoft.com/en-us/library/bb201658.aspx

Backing Up Exchange 2010 with Windows Backup:
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_2452-Backing-up-Exchange-2010-Information-Store-using-Windows-Backup.html

Exchange 2007 Circular Logging:
http://technet.microsoft.com/en-us/library/bb331968(EXCHG.80).aspx

Understanding the Exchange 2010 Store:
http://technet.microsoft.com/en-us/library/bb331958.aspx
43
Comment
  • 7
  • 4
  • 2
  • +4
17 Comments
 
LVL 74

Expert Comment

by:Glen Knight
Alanhardisty,

Well done on writing such an informative article on what is a very common issue that is easy to resolve.

Great article, I've voted!

demazter
0
 

Expert Comment

by:Inbay
Really helpful, Many thanks
0
 
LVL 76

Author Comment

by:Alan Hardisty
Thanks Inbay - don't forget to vote if you found it helpful ; )

Alan
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 10

Expert Comment

by:Muzafar Momin
nice article
0
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
Thank you!
0
 
LVL 76

Author Comment

by:Alan Hardisty
You're welcome - thanks for the vote :)
0
 
 

Administrative Comment

by:younghv
This Article has been awarded the "Editor's Choice" designation for the sustained usefulness and assistance to our Members.

younghv
EE Page Editor
0
 
LVL 76

Author Comment

by:Alan Hardisty
Thanks everyone.
0
 
LVL 38

Expert Comment

by:younghv
@alanhardisty:
Very well deserved. This is one of the most used Articles on EE.
0
 

Expert Comment

by:Edward Hammond
Can't save the modified 2010 edgetransport.exe.config file  - access denied even if I do it from the console rather than RDP.
0
 
LVL 76

Author Comment

by:Alan Hardisty
If you edit the file using Notepad (running as Administrator), you should be able to amend and save the file.
0
 

Expert Comment

by:Edward Hammond
Thanks for the prompt reply, Alan (can you sense desperation?)

I was logged in as Administrator and using Notepad but...

Is it likely the file is open and I need to close it first? If so, how?
0
 
LVL 76

Author Comment

by:Alan Hardisty
Even logged in as Administrator, you may have to run "notepad c:\program files\microsoft\exchange server\v14\bin\edgetransport.exe.config" then press Shift+CTRL+ENTER to force Administrator mode.  Worst case - edit the file, save it to the desktop, then copy / paste it back to the bin folder and it should prompt to replace.

The file shouldn't be open anywhere.

If you need help - I can assist you remotely if you wish :)

Alan
0
 

Expert Comment

by:Edward Hammond
Thanks again, Alan, but even that didn't do it.
I've cleared disk space with the disk cleaning tool and my airline e-ticket has arrived.
I'll look at this again tomorrow night.
Again, thanks so much.
1
 
LVL 76

Author Comment

by:Alan Hardisty
No problems - glad you've got what you needed done, but happy to help if you need it.  Shouldn't be difficult to resolve (famous last words)!

Alan
1
 

Expert Comment

by:Edward Hammond
Ha! Sorted the problem on insufficient priv to replace dgetransport.exe.config.
Even Shift+CTRL+ENTER didn't get me there but when I ran Exchange Management Shell as Administrator and run the command, I was able to save over the top.
It was so painless I was suspicious but it really did work.

Thanks so much Alan.
1
 
LVL 76

Author Comment

by:Alan Hardisty
Well done - there's always one way to encourage it!  Glad you got the problem sorted.
0

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Join & Write a Comment

This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month