Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Use Performance Monitor to detect Exchange 2003 message queue problems
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

Use Performance Monitor to detect Exchange 2003 message queue problems


Brien Posey, Exchange MVP
Rating: -5.00- (out of 5)

Even in a properly functioning Exchange 2003 SMTP queue, corrupt messages can become stuck and cause mail flow issues. Performance Monitor (Perfmon) is a tool within Exchange Server Setup that can be configured to alert administrators when any SMTP queues in an Exchange 2003 environment reach a designated threshold. By monitoring the server for corrupt messages or denial-of-service attacks, administrators can circumvent SMTP message queue problems and email delivery failures. This tip by Exchange MVP Brien Posey explains how.

If Exchange Server 2003 SMTP queues are working properly, corrupt messages occasionally may become stuck in a queue. This can cause the queue to fill up and prevent mail flow until the damaged messages are removed. The process of removing damaged email from an SMTP queue is simple; however, Exchange Server doesn't alert administrators when a message ...


RELATED CONTENT
Microsoft Exchange Server Performance
How Exchange Server 2010 Shadow Redundancy prevents message loss
Troubleshooting Exchange Server 2007 issues
Solidify your Exchange Server security incident response plan
Consolidate workloads through Exchange Server 2007 virtualization
Avoid Outlook 2007 performance problems before they start
Event logs shed light on Exchange Server DSAccess issues
Exchange Server 2007 performance monitoring primer
Set-ExchangeServer cmdlet can ease domain controller workloads
Helpful third-party tools for Exchange Server
Steps to clean AD to prepare for Exchange Server 2010

Microsoft Exchange Server 2003
Exchange Server 2003 clustering explained
Troubleshooting Exchange Server 2003 transaction log transfer problems
Exchange Server mailbox management advice
Modifying your DNS to access webmail through Outlook
Event logs shed light on Exchange Server DSAccess issues
Exchange Server 2003 administration advice
Top 5 Microsoft Exchange Server tips of 2009
Problems viewing Exchange tabs after Exchange migration
Helpful third-party tools for Exchange Server
Show hidden email addresses in a GAL on Exchange Server 2003
Microsoft Exchange Server 2003 Research

Microsoft Exchange Server Administration Tools
Exchange Server 2007's tools for securing mobile environments
Grant users access to another user's Outlook 2007 mailbox
Problems viewing Exchange tabs after Exchange migration
An introduction to the Exchange Remote Connectivity Analyzer tool
Prevent Microsoft Outlook 2007 from hanging when forwarding email
Testing Unified Messaging connectivity in Exchange 2007
Microsoft Exchange Server 2007 performance tutorial
How to custom-configure a Microsoft Outlook 2007 install using OCT
Top Exchange Server performance monitoring and troubleshooting tools
Search and index Microsoft Outlook 2007 public folders
Microsoft Exchange Server Administration Tools Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Remote Installation Service  (SearchExchange.com)
TCPMAN  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


becomes stuck. Typically, delivery of user email simply stops.

Microsoft and other third-party vendors offer solutions that detect message queue back-up failures. Such applications tend to be expensive and beyond the scope of small or medium-sized enterprises (SMBs). An alternative is to configure the Performance Monitor to alert you of message queue problems.

When Exchange Server is initially deployed, the Setup program installs various Exchange-specific Performance Monitor objects. Similar to the default counters in Microsoft Windows, these counters enable you to measure different aspects of Exchange Server performance.

The Send Queue Size counter monitors Exchange Server message queues. This tool is located within the MSExchangeIS Mailbox performance object. But before you can configure the server to detect message queue problems, you must monitor this counter to determine the maximum number of messages per queue under normal circumstances. Watch this counter during periods of peak usage. Additionally, this counter is storage group-specific, so you will have a separate instance of the counter for each storage group.

Once you've determined average queue length, you decide what value might indicate queue problems. For example, if there are 20 messages in the queue every Monday at 8 a.m ., you might conclude that 40 messages in the queue would indicate a problem. Whatever value you decide on, be sure to leave some room for unexpected usage spikes and future business growth.

Once you've determined a threshold value, configure the Performance Monitor to trigger an alert if values exceeded this level:

  1. Enter the Perform command at the Run prompt to open the Performance Monitor console.
  2. Navigate through the console tree to Performance Logs and Alerts -> Alerts.
  3. Right click on the Alerts container and choose New Alert Settings from the menu.
  4. When prompted for a name for the new alert, enter Send Queue Alert.
  5. Enter the words Alert if 40 Messages into the Comment field of the properties sheet and click Add (Figure 1).
  6. [IMAGE]
    Figure 1. Set the threshold value of messages in the queue using the Performance Monitor console.

  7. On the following screen, choose the MSExchangeIS Mailbox performance object.
  8. Select the Send Queue Size counter.
  9. Select the storage group that you want to monitor, as shown in Figure 2.
  10. [IMAGE]Figure 2. Configure the MSExchangeIS Mailbox/Send Queue Size counter to monitor a certain storage group.

  11. Click Add.
  12. Click Close.
  13. Set the following dialog box to send an alert when a value is over the set threshold value (Figure 3).
  14. [IMAGE]Figure 3. Configure Windows to send an alert when the counter's value is over 40.

    Now you should set the sample interval to a higher threshold number to minimize the affect that monitoring has on the server's performance.

  15. Select the Action tab.
  16. Select the Send A Network Message To checkbox.
  17. Enter your username in the space provided (Figure 4).
  18. [IMAGE]
    Figure 4. Configure Windows to send a message when queues exceed set threshold values.

  19. Click OK.
  20. Right click on the new alert within the Alerts container and confirm that it has started.

About the author: Brien M. Posey, MCSE, is a four-time recipient of Microsoft's Most Valuable Professional Award for his work with Windows Server, Internet Information Server (IIS) and Exchange Server. Brien has served as CIO for a nationwide chain of hospitals and healthcare facilities, and was once a network administrator for Fort Knox. You can visit Brien's personal Web site at www.brienposey.com.

Do you have comments on this tip? Let us know.

Please let others know how useful this tip was via the rating scale below. Do you know a helpful Exchange Server, Microsoft Outlook or SharePoint tip, timesaver or workaround? Email the editors to talk about writing for SearchExchange.com.

Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2010, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts