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 

EXCHANGE SERVER ADMINISTRATION TIPS

Use Performance Monitor to detect Exchange 2003 message queue problems


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


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


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 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.
More on Exchange 2003 mail flow:
How to use SMTP queues to troubleshoot mail flow

Troubleshoot mail flow issues after an Exchange 2003 upgrade

Microsoft Exchange Troubleshooting Assistant

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. Exchange 2003 Performance Monitor
    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. MSExchangeIS Mailbox/Send Queue Size counter 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. Exchange 2003 Performance Monitor counter 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. Exchange 2003 queue threshold values
    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.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Microsoft Exchange Server Performance
Improve Exchange 2003 Internet connectivity, mail flow and performance
Solve server problems with the Exchange Troubleshooting Assistant tool
Windows hot-add memory hurts Exchange Server performance
How to use SMTP queues to troubleshoot mail flow
Performance problems with Microsoft Outlook 2007 .PST and .OST files
Running Exchange Server and other server applications on the same hardware
Process, compress and block Microsoft Outlook email attachments
Changing the Exchange Server local delivery queue directory
Stress test Exchange Server (32-bit and 64-bit) with Exchange Load Generator
Exchange Server memory management with /3GB, /USERVA and /PAE

Microsoft Exchange Server 2003
Configure SMTP connection limits in Exchange Server 2003 and SBS
Setting up email disclaimers and signatures in Exchange Server
Repairing damaged OWA virtual directories in Exchange Server 2003
Configure a mobile device to receive POP3 email from Exchange Server
Customizing an Outlook Web Access 2003 email signature
Why Exchange ActiveSync fails with NAT firewalls
Is it time to upgrade users' Windows Mobile devices?
Top 10 Microsoft Exchange Server 2003 registry hacks
How to set up email disclaimers on a single, back-end Exchange server
How to customize OWA authentication logon in Exchange Server 2003
Microsoft Exchange Server 2003 Research

Microsoft Exchange Server Administration Tools
Setting up email disclaimers and signatures in Exchange Server
Tool deploys customized Microsoft Outlook 2007 configurations
Third-party Exchange Server 2007 backup and restore tools
Customizing an Outlook Web Access 2003 email signature
Tool exports messages from Microsoft Outlook to Unix .EML file format
Monitor mail flow with the Exchange Server 2007 Queue Viewer tool
Migrating antispam settings from Exchange 2003 to Exchange 2007
An affordable Exchange Server database backup software option for SMBs
How to set up Remote Desktop for Exchange Server administration
Solve server problems with the Exchange Troubleshooting Assistant tool
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

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.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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