<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Exchange 2007 / 2010 Backpressure – Quick Fix

Published on
83,159 Points
54,859 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
  • +5
18 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
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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
LVL 2

Expert Comment

by:Zeeshan Afzal
Facing same issue but couldnt find event id 15006 and 15007, I have also made the EnabledResourceMonitoring value to false ans restart the transport service and even edge server where I am getting Insufficient Resource error but it didn't solve my problem. Any other thoughts what could be the issue? More than 7000 emails on Edge server queue now. HAve enough free memory and Disk space on all servers.
0

Featured Post

Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Join & Write a Comment

This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month