none
How to find out that the server is about to crash? RRS feed

  • Question

  • I have a windows server 2008 / R2. I want to have some mechanism by which i am able to continuosly get the state of OS (may be querying some WMI class or eventvwr ...). Based on these warnings/errors I want to trigger a responsive action.


    sk

    Wednesday, March 21, 2012 3:54 PM

Answers

  • Hello sk,

    What you're asking for is pretty difficult for any operating system to detect, because of the number of variables involved.  Windows does a really good job of detecting when drivers or applications are behaving badly, but if something sudden and unexpected happens (usually hardware related these days), there's no real way to see the crash coming.  (My understanding - and I'm not involved with this code so I'm not sure how it works - is that Windows 7 and Windows Server 2008 R2 do already notice some items are failing, like hard disks.  It will actually notify you that it suspects a hard disk is going bad.) 

    My suggestion to you is that you look closely at the event logs after the crash has occurred, and see if you find anything unusual that you can then watch for; perhaps by creating a task in the task scheduler that watches for a particular event and then notifies you.

    Another option is to set up your server to generate a crash dump the next time it crashes, and having Microsoft Support take a look at it.  http://support.microsoft.com/kb/927069

    I hope this helps,

    Kevin


    Kevin Remde US DPE - IT Evangelism - Microsoft Corporation http://blogs.technet.com/kevinremde http://twitter.com/kevinremde

    • Marked as answer by Kevin Remde Sunday, March 25, 2012 11:08 AM
    Sunday, March 25, 2012 11:08 AM

All replies

  • Hello,

    Can you please elaborate more on your requirements. They seem to not quite clear right now.

    Thursday, March 22, 2012 11:43 AM
  • Are there any specific sequence of events or warnings generated before it is about to crash?

    sk

    Thursday, March 22, 2012 12:22 PM
  • Hello sk,

    What you're asking for is pretty difficult for any operating system to detect, because of the number of variables involved.  Windows does a really good job of detecting when drivers or applications are behaving badly, but if something sudden and unexpected happens (usually hardware related these days), there's no real way to see the crash coming.  (My understanding - and I'm not involved with this code so I'm not sure how it works - is that Windows 7 and Windows Server 2008 R2 do already notice some items are failing, like hard disks.  It will actually notify you that it suspects a hard disk is going bad.) 

    My suggestion to you is that you look closely at the event logs after the crash has occurred, and see if you find anything unusual that you can then watch for; perhaps by creating a task in the task scheduler that watches for a particular event and then notifies you.

    Another option is to set up your server to generate a crash dump the next time it crashes, and having Microsoft Support take a look at it.  http://support.microsoft.com/kb/927069

    I hope this helps,

    Kevin


    Kevin Remde US DPE - IT Evangelism - Microsoft Corporation http://blogs.technet.com/kevinremde http://twitter.com/kevinremde

    • Marked as answer by Kevin Remde Sunday, March 25, 2012 11:08 AM
    Sunday, March 25, 2012 11:08 AM