Exchange mail.que growing fast until transport stops.

Posted on 2010-09-10
Last Modified: 2012-05-10
SBS2008 suddenly the transport service has been stopping because of backpressure. I noticed that the mail.que and trn.log grow exponentially at a rate of 500 MB in 5 minutes. Queue viewer shows nothing, console get queue shows no messages. I have renamed the queue to .old and restarted the transport service and things run fine for about 20 minutes then bam back again. All the tools for mailflow say things are great. i have disabled our antivirus, checked open relay. i am at a loss! Please help.
Question by:grizzjeeper
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 3
  • 2
  • +2
LVL 28

Expert Comment

ID: 33650714
Backpressure requires event ID's 15002 /15006 to be logged

start > run > eventvwr
check under windows logs\application

You can turn off backpressure monitoring

Open the EdgeTransport.exe.config file
c:\Exchange Server\bin directory using notepad

Add the following key+value pair:
<add key=”EnableResourceMonitoring” value=”false” />
Save file

Restart the Microsoft Exchange Transport Service (MSExchangeTransport):

Explanation of back pressure here

Moving queue database (not required if you are disabling from the step above)
for your ref.

Author Comment

ID: 33650755
I have done all that my problem is the mail.que grows so fast regardless of backpressure transport stops. I need to find out why the que is growing at such an alarming rate yet reporting as no messages through the console. Once the que gets over a gig it gets unstable then once it reaches 2 gigs things get very slow.

Question is Why is the que growing and how can i stop it. I have message limits set also.
Why does queue viewer say nothing?
LVL 28

Expert Comment

ID: 33650777
looping email

-identify the user causing it

Download and run Exmon

After you find the user causing high cpu spikes
Disable mapi for that user

Set-Casmailbox –Identity <Username> –MapiEnabled $False

Check the guide here on how to troubleshoot this.

I am out for the day.
have a good weekend.

post back here and i will check later tonight / tomorrow morning.
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI


Author Comment

ID: 33650945
i ran utility. the only ones I see with 100% cpu is "?" which the article says is a problem with the transport but doesnt really give my anything else to go on.
LVL 58

Expert Comment

by:Cliff Galiher
ID: 33650999
The fact that this runs fine for 20 minutes after a reset tells me that this is indeed a malicious use situation. The reason attempts to display the queue fail is because it is growing faster than the tools used to view the queue can keep up.
Two possibilities:
1) You have an infected machine on your LAN spewing spam through your server. netstat and wireshark can be used to view open and active SMTP connections to your server. Find the offender and kill it.
2) The term "open relay" means that anybody can relay. So while you may not be an *OPEN* relay, your server can still be abused to relay spam if an account password has been discovered, cracked, or otherwise compromised. The server will pass any open-relay tests, because technically it isn't open. Authenticated relay is still allowed by default. Fixing this typf of situation requires resetting user passwords. While other steps could theoretically be taken, you really don't want a user's password out in the wild, even if you could disable authenticated relay. That account/password combo can still be used to abuse your server in other non-spam ways. It is best to solve the problme at the source(the compromised use account() and not try to work around the issue.

Author Comment

ID: 33651067
Well correct me if I am wrong but the queue does display, just says zero messages. I can view queue through console says status ready message count 0. Through the toolbox same thing. Running trend Micro worry free on server and all pc's and nothing is showing there. I will try wireshark and see if anything there,

I can also use message tracker and see messsages flowing through and nothing large, nothing to coincide withe the size of the mail.que or trn.logs...
LVL 15

Expert Comment

ID: 33651303
Check if you have an poisoned messsages... please delete them... stop tranposrt rename the q file and create new transport DB.

Author Comment

ID: 33651364
No poison messages, Already renamed the que file, couple of times starts runs fine sumtimes for 5 minuttes sometimes for 20 then the mail.que file keeps climbing. I have not doen anything with the temp.db yet, wonder if I should also rename that as well.
LVL 15

Expert Comment

ID: 33651405
you can try to rename the entire folder and create fresh db.
then run Exmon and see the hight rpc request from any perticular IP .. see if thats the internal.... shutdown that machine and see if thats the cause.

Author Comment

ID: 33651527
I have already tried all that, see previous posts!

New info. Trend services were off while troubleshooting. Turned them back on and immediately went through 20 gigs of space on my c drive. Stopped Transport service and magically it reappeared. Tried again and treeview wont even see where its going to.. WTH is going on here..
LVL 15

Expert Comment

ID: 33651607
Exclude exchange files from in trend.

Author Comment

ID: 33651767
They are. Even with trend NOT running at all my Mail.que fil grows to a gig in anywhere between 10 and 30 minutes. Queue viewer only says this " Submission (green check) Delivery type Undefined and status ready.

If I stop transport service the only way it will start again is if i delete the queue (I delete the whole folder)

Exmon shows nothing except ? being at 100% cpu time...

Author Comment

ID: 33651949
Seems like this thread here is very similar.

I have opened up the limites again. Server is the only machne on the network, FYI I can also disconnect the server from the network and the QUEUE BUILDS!

Author Comment

ID: 33653378
Anyone else have any ideas?
Here is a recap.
Mail.que grows till transport service stops (4gb right now)
Queue viewer shows queue as ready and no messages but What is taking up the 4GB of space?
I delete the queue restart transport mail flows slowly until it gets so large transport stops.
This will happen even when disconnected from the network so Spam virus is not the reason
All exchange built in tools say everything is fine and there isnt any qued mail.
I have moved the que to a different drive.

Accepted Solution

grizzjeeper earned 0 total points
ID: 33692152
Turns out it was an odd DNS issues. Disables Ethernet controller, re-enabled and reran fix network after setting same ip address. ODD!
LVL 76

Expert Comment

by:Alan Hardisty
ID: 34690167
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…
Suggested Courses

617 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