Exchange 2010 EdgeTransport.exe Memory  issue

Posted on 2013-09-30
Medium Priority
Last Modified: 2013-10-07
My client has a hosted Exchange 2010 (SP1) system hosted externally.

Over the weekend we were alerted to the system going into Back Pressure mode:
Today I downloaded and installed this
http://support.microsoft.com/kb/2787763 and rebooted but that didnt help.

Doing some more research it seemed like a good idea to check the queue to see if there was any dead items in there causing any loops etc. Being hosted this all has to be done in PowerShell.  I found some:
loopsthe first three seem to be the issue. Thats an insane number of retires!! So I want to delete them. Following the subscribed way of removing these I face this error:
Anyone have any ideas before the client hits the roof (and they will!!)

Question by:Mark Galvin
LVL 20

Expert Comment

by:Zaheer Iqbal
ID: 39533057
Can you view the queues with exchange management console
LVL 13

Author Comment

by:Mark Galvin
ID: 39533076

As above, this server is installed in Hosted Mode (sorry I wasn't clear) and therefore there is no EMC. Everything is done via PowerShell.

LVL 13

Expert Comment

ID: 39533107
Get-Queue "..DC01\294825" | Get-Message | Remove-Message -WithNDR:$false

To use Remove-Message you need to supply Identity of the message not of the queue.
See cmdlet help in TechNet
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.


Expert Comment

by:Mohammed Tahir
ID: 39534493
You can suspend and remove messages using the powershell. Use the following command:

Get-Message -Filter {FromAddress -eq "<>"} -Server servername | Remove-Message

LVL 13

Author Comment

by:Mark Galvin
ID: 39535829
Hi lciprianionut

I tried that. I get this:
resultesThe message about throttling comes up about 20 times. Then if I check the queues agin I get:
Any ideas? These queues are killing the server.

LVL 13

Expert Comment

ID: 39535972
Try with this
Get-Queue "..DC01\294825" | Get-Message | Remove-Message -WithNDR:$false -Confirm:$false

For your warning most probably you have some Client Throttling Policies in place.
Also here are some info.

Maybe in your case a better solution would be to Export Messages from Queues (also read this) and then delete and recreate the queue again.

After you exported and recreated the queue, you can put back the exported mails back to queue to be send, but not all at once, but in smaller batches.

This is from some document on how to do it, just adapt to your environment.
After this operations we have all messages exported to directory C:\Export_messages, now we can move them to next Hub Transport server to Transport Pickup directory (default location for Exchange 2010: C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Pickup)

To find the queue path (from here)
The location of the queue database and queue database transaction logs are controlled by the QueueDatabasePath and QueueDatabaseLoggingPath parameters in the EdgeTransport.exe.config application configuration file that's located in the C:\Program Files\Microsoft\Exchange Server\V14\Bin directory. The following list describes some important items to consider when you change the location of the queue database.

Let me know if all this worked.
Thank you.
LVL 13

Accepted Solution

Mark Galvin earned 0 total points
ID: 39539599
This was causing so many issues that I followed the instructions here http://www.techieshelp.com/exchange-2007-and-exchange-2010-create-new-mail-queu-database/ and renamed the mail.que file. All the email hanging around was dead anyway.

This fixed the issue with memory utilization and stopped Back Pressure.

Thanks all for your help over the last few days.

LVL 13

Author Closing Comment

by:Mark Galvin
ID: 39551642
Whilst all experts suggestions where helpful to my knowledge of PowerShell and Exchange queues, what fixed the issue was a fix I located myself .

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I am posting this in case anyone runs into similar issues that I did, this may save you a lot of grief: Condition: 1. Your NetBIOS domain name contains an ampersand " & " character.  (e.g. AT&T) 2. You've tried to run any Microsoft installation…
Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits …
This video discusses moving either the default database or any database to a new volume.
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question