Symptom: Your email gateway server is unable to deliver messages to your backend Exchange mail server because of an Ã¢â‚¬Å“Insufficient system resourcesÃ¢â‚¬Â error.
Source: This is an Exchange-specific issue, which happens when less than 4 gigs of free disk space remain on the Exchange serverÃ¢â‚¬â„¢s queue driveÃ‚Â for a particular domain.
HereÃ¢â‚¬â„¢s a sample log snippet from our own gateway server:
|Ã¢â‚¬Å“Delivery of message E:\SPOOL3\DOMAINS\FN.CL\B0055738340.RCP to recipient firstname.lastname@example.orgÃ‚Â is delayed: Ã¢â‚¬Ëœ452 4.3.1 Insufficient system resources\r\nÃ¢â‚¬â„¢.Message E:\SPOOL3\DOMAINS\domain.com\B0055738340.RCP deferred (.DEF) for recipient(s) in domain domain.comÃ¢â‚¬Å“
Analysis: This is likely caused by the back pressure feature in ExchangeÃ¢â‚¬â„¢s Transport Service. In Exchange Server 2007, the Transport Service monitors system resources such as disk space and memory on the Transport serversÃ‚Â (e.g., Hub Transport and Edge Transport servers), andÃ‚Â will stop new message submission if these resources run low. Existing messages in the queue will continue to be delivered, and when resource utilization returns to normal, message submission resumes. This feature is calledÃ‚Â back pressure.
Ã‚Â Solution: To remedy the issue, you will need to reconfigure the Transport Service by doing the following:
1-Ã‚Â Ã‚Â Ã‚Â Open the Ã¢â‚¬Å“EdgeTransport.exe.configÃ¢â‚¬Â file, which is located under the C:\Program Files\Microsoft\Exchange Server\Bin directory.
2-Ã‚Â Ã‚Â Ã‚Â Disable resource monitoring or change the monitoring configuration:
Open the Ã¢â‚¬Å“EdgeTransport.exe.configÃ¢â‚¬Â file with Notepad and change the resource values; or an easier option is to just disable the monitoring completely.
To change the resource values, the string should go from: add key=Ã¢â‚¬Å“EnableResourceMonitoringÃ¢â‚¬Â value=Ã¢â‚¬ÂtrueÃ¢â‚¬Â /
To add key=Ã¢â‚¬Å“EnableResourceMonitoringÃ¢â‚¬Â value=Ã¢â‚¬ÂfalseÃ¢â‚¬Â /
Once this is done, save the file and restart the Microsoft Exchange Transport Service.