Home > Windows Server Tips > Windows Server Monitoring and Management > Preparing to troubleshoot a hung Windows server
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SERVER MONITORING AND MANAGEMENT

Preparing to troubleshoot a hung Windows server


Bruce Mackenzie-Low, Contributor
04.18.2008
Rating: -3.50- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Part 1 | Part 2 | Part 3
Bruce Mackenzie-Low

Previously in this series, we looked at some of the reasons why server hangs occur in a network. Now that you have a little background, let's look at the preparation process for resolving the problem using a tool called the Windows Kernel Debugger, or Windbg.


Preparation

A forced crash dump may only be necessary if other means of troubleshooting prove unsuccessful.

When troubleshooting a hung Windows server, there are several things that need to be done up front to prepare for collecting data. A forced crash dump may only be necessary if other means of troubleshooting prove unsuccessful. The first thing administrators should always do is run MPS Reports to collect event logs and other pertinent information. Close examination of system and application event logs may reveal a pattern of particular entries occurring prior to each hang. If the problem starts with a slow down or performance issue, you should collect Perfmon data as described in Microsoft Knowledge Base article 248345.

Once you determine that a forced crash dump is necessary, update the appropriate registry entries per KB article 244139 or 927069 and reboot the server. Also, ensure you have properly configured the dump file type as previously mentioned in KB article 254649. Finally, be sure that your pagefile.sys is sufficiently sized to accommodate a memory dump and that you have enough free space on the disk where the memory.dmp will be located, per KB article 886429.

Installing Windbg and setting the symbol path

In addition to configuring the server to generate a memory dump, you have to install the Windows Kernel Debugger and establish the symbol path. Do that on a separate server from the one that you are troubleshooting. You can download the Windbg kit free from Microsoft, and the kind of kit you choose depends on the architecture you are installing it on: (x86 or x64/IA64). Each is capable of reading a dump from a different architecture (i.e., 32-bit Windbg can read a 64-bit dump and vice versa).

More server management
tips from Bruce

Why do Windows servers hang?

Microsoft tool simplifies Windows server cluster configuration

Validating Windows server clusters with ClusPrep

Once Windbg is installed, be sure to establish the symbol path as documented in KB article 311503. Setting up the symbol path allows the debugger to translate memory references to meaningful functions and variable names. This will allow you to look at a stack trace and determine what routines were executing at the time of the hang.

Once you have all this set up, you are ready to analyze a crash dump. Use the appropriate keystrokes, Web GUI, Management Processor TC command or NMI button to initiate the forced crash as previously described. Be sure to allow sufficient time for the contents of memory to write to the pagefile.sys. If you have trouble getting the crash dump created, be aware that there are several reasons why a crash dump may not be captured as expected (see KB article 130536).

Now you are ready to determine the cause of the server hang. In the final part of this series, I'll explain how to use Windbg to analyze a forced crash as a means of resolving the problem.


TROUBLESHOOTING A HUNG WINDOWS SERVER

Part 1: Why do servers hang?
Part 2: Preparing to troubleshoot
Part 3: Resolving the issue

Bruce Mackenzie-Low, MCSE/MCSA, is a systems software engineer with HP providing third-level worldwide support on Microsoft Windows-based products including Clusters and Crash Dump Analysis. With more than 20 years of computing experience at Digital, Compaq and HP, Bruce is a well known resource for resolving highly complex problems involving clusters, SANs, networking and internals.

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.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
Windows Server Troubleshooting
High-tech solutions for monitoring computer heat
Troubleshoot Windows server clusters with ClusDiag
Analyze server history with new tool in Windows 2008
Determining the cause of Windows server hang
Why do Windows servers hang?
How to use Microsoft's IIS Diagnostics Toolkit
Using Safe Mode to resolve Windows Server 2003 startup issues
Why doesn't the successful server in a multi-server system automatically assume the PDC role when the others go down?
Default server not sticking
What causes ASP.NET server performance to degrade as sessions age?

Windows Server Monitoring and Administration
A quick guide to Server Manager for Windows Server 2008
Moving dynamic disks to a new Windows server
A first look at Storage Explorer for Windows Server 2008
Tips for Windows domain controller optimization
Take control of server clusters with Microsoft's ClusDiag tool
Analyze server history with new tool in Windows 2008
Determining the cause of Windows server hang
Why do Windows servers hang?
Microsoft tool simplifies Windows server cluster configuration
Exploring the Windows Server 2003 Resource Kit: Clusfileport.dll

Windows Server Monitoring and Management
Does Microsoft Hyper-V fit in the dynamic data center?
A quick guide to Server Manager for Windows Server 2008
Network Access Protection in Windows Server 2008: Should you care?
Considerations in building GeoClusters for Windows Server 2008
Easing security concerns with Server Core for Windows 2008
Understanding quorum in Windows Server 2008 clustering
What's there to hate about Windows Server 2008?
Windows PowerShell: A backdoor to malware?
When (and when not) to use Windows server failover clustering
Backing up virtual servers: Top methods for Windows machines

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.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsITKnowledge 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  |  Site Map




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