dbTalk Databases Forums  

Increase Service Startup Timeout Value?

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Increase Service Startup Timeout Value? in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Joe Cool
 
Posts: n/a

Default Increase Service Startup Timeout Value? - 02-01-2011 , 01:08 PM






I do all of my development work in a 64bit Windows 7 Virtual Machine
using VMWare. In order to test software in multiple versions of SQL
Server I have four instances running in it, a SQl Express and SQL
Server instance for both 2005 and 2008.

Mmost of the time one or more instances will fail to start at boot
time. The event log indicates that it failed to start in the alloted
time, 30000 milliseconds.

I looked through all of the instances properties but could not find
anywhere that I could boost that value up any. I tried checking the
boost priority checkbox on the processor page but that didn't help.

Any suggestions?

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Increase Service Startup Timeout Value? - 02-01-2011 , 03:42 PM






Joe Cool (joecool1969 (AT) live (DOT) com) writes:
Quote:
I do all of my development work in a 64bit Windows 7 Virtual Machine
using VMWare. In order to test software in multiple versions of SQL
Server I have four instances running in it, a SQl Express and SQL
Server instance for both 2005 and 2008.

Mmost of the time one or more instances will fail to start at boot
time. The event log indicates that it failed to start in the alloted
time, 30000 milliseconds.

I looked through all of the instances properties but could not find
anywhere that I could boost that value up any. I tried checking the
boost priority checkbox on the processor page but that didn't help.
This timeout is not SQL Server-specifc, but a general Windows parameter.
You can control it through the registy. The key name is
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\SerivcesPipeTimeout. It
should be a DWORD, and the value is in milliseconds.

Beware that the name has "Services" in plural. I had it spelt in singular
on my machine, and it was driving me crazy why it did not work, when
it worked on another machine.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Reply With Quote
  #3  
Old   
Joe Cool
 
Posts: n/a

Default Re: Increase Service Startup Timeout Value? - 02-01-2011 , 04:20 PM



On Feb 1, 4:42*pm, Erland Sommarskog <esq... (AT) sommarskog (DOT) se> wrote:
Quote:
Joe Cool (joecool1... (AT) live (DOT) com) writes:
I do all of my development work in a 64bit Windows 7 Virtual Machine
using VMWare. In order to test software in multiple versions of SQL
Server I have four instances running in it, a SQl Express and SQL
Server instance for both 2005 and 2008.

Mmost of the time one or more instances will fail to start at boot
time. The event log indicates that it failed to start in the alloted
time, 30000 milliseconds.

I looked through all of the instances properties but could not find
anywhere that I could boost that value up any. I tried checking the
boost priority checkbox on the processor page but that didn't help.

This timeout is not SQL Server-specifc, but a general Windows parameter.
You can control it through the registy. The key name is
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\SerivcesPipeTimeout. It
should be a DWORD, and the value is in milliseconds.

Beware that the name has "Services" in plural. I had it spelt in singular
on my machine, and it was driving me crazy why it did not work, when
it worked on another machine.

That key does not exist in my computer. Does that mean 30000 ms is the
default and in order to override that I need to create one with the
overriding value I want to specify?

Reply With Quote
  #4  
Old   
Joe Cool
 
Posts: n/a

Default Re: Increase Service Startup Timeout Value? - 02-01-2011 , 05:33 PM



On Feb 1, 5:20*pm, Joe Cool <joecool1... (AT) live (DOT) com> wrote:
Quote:
On Feb 1, 4:42*pm, Erland Sommarskog <esq... (AT) sommarskog (DOT) se> wrote:





Joe Cool (joecool1... (AT) live (DOT) com) writes:
I do all of my development work in a 64bit Windows 7 Virtual Machine
using VMWare. In order to test software in multiple versions of SQL
Server I have four instances running in it, a SQl Express and SQL
Server instance for both 2005 and 2008.

Mmost of the time one or more instances will fail to start at boot
time. The event log indicates that it failed to start in the alloted
time, 30000 milliseconds.

I looked through all of the instances properties but could not find
anywhere that I could boost that value up any. I tried checking the
boost priority checkbox on the processor page but that didn't help.

This timeout is not SQL Server-specifc, but a general Windows parameter..
You can control it through the registy. The key name is
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\SerivcesPipeTimeout.. It
should be a DWORD, and the value is in milliseconds.

Beware that the name has "Services" in plural. I had it spelt in singular
on my machine, and it was driving me crazy why it did not work, when
it worked on another machine.

That key does not exist in my computer. Does that mean 30000 ms is the
default and in order to override that I need to create one with the
overriding value I want to specify?
I assumed this to be the case and created a new key with a DWORD value
of 60000.

I rebooted and all instances started up fine, so based on that one
reboot, this appears to have solved this problem.

Thanks for your help.

Reply With Quote
  #5  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Increase Service Startup Timeout Value? - 02-02-2011 , 02:13 AM



Joe Cool (joecool1969 (AT) live (DOT) com) writes:
Quote:
That key does not exist in my computer. Does that mean 30000 ms is the
default and in order to override that I need to create one with the
overriding value I want to specify?
Yes, that is correct. Sorry, if I wasn't clear.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.