Solved

SQl server restarts itself

Posted on 2016-09-08
6
27 Views
Last Modified: 2016-09-09
SQL server reboots itself on different days @ different times.  looking for best ways to check what is going on.  SQL logs shows tlog backup that takes about 2 sec as the last activity each time
0
Comment
Question by:Nana Hemaa
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:Rich Weissler
Comment Utility
Just to confirm -- the whole server reboots, yes?  (It isn't just the SQL Service that is restarting?)

Is the SQL tlog backup occurring immediately (within seconds) before the server restart?

Does the Windows Application or System Event logs tell you anything just before or just after the SQL restart occurs?  If you are getting a BSoD (Blue Screen of Death), you should have a STOP message appearing in the System event log... or if someone or something is issuing a reboot -- it should also log in the System event log.
0
 

Author Comment

by:Nana Hemaa
Comment Utility
there is nothing unusual in the application and system event logs .no BSOD .  There is nothing unusual in SQL logs other than  a tlog backup just before the restart.  We have been running this litespeed tlog backup for years and it takes only 2 sec...  Not sure where to start troubleshooting on SQl side since SQL is not throwing any errors.  Any inputs?
0
 
LVL 29

Expert Comment

by:Rich Weissler
Comment Utility
Is there at least a message in the System Event log when it comes up to indicate that the previous shutdown was unexpected?
If there isn't anything in the logs from the application, or from the operating system; lets fall back one more level.  Is this a Virtual Machine?  Or is it a physical server running on server class hardware?  If a VM, is there anything logged by the hypervisor?  If server class physical hardware, anything logged by a DRAC or LILO card or equivalent?
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:Nana Hemaa
Comment Utility
It is a physical server--old server though.  We are in the process of migrating to a new server.  I am running the profiler to identify if any queries are putting pressure on the server--...to begin the troubleshooting process
0
 
LVL 29

Accepted Solution

by:
Rich Weissler earned 400 total points
Comment Utility
If something is causing the server to reboot such that it doesn't record an event in SQL or the OS, I'd have a low confidence that it's something happening within SQL, and I'd be looking hard at possibly failing hardware.  
Confirm that the system event log is at least recording a 'the previous shutdown was unexpected' message when the server comes back up?
Is it server class hardware?  Is there any chance there is a server hardware module which might be recording hardware anomalies?
0
 
LVL 45

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 100 total points
Comment Utility
How about the resources? A lack of available resources may have this behavior in Windows machines.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now