PRB: SQL Server Won't Start After Setting TEMPDB IN RAM Too HighLast reviewed: April 16, 1997Article ID: Q166350 |
The information in this article applies to:
SYMPTOMSIf the SQL Server tempdb in RAM value is configured to a value higher than the available RAM remaining on the computer, SQL server fails on the next startup attempt. Because the configuration value does not take affect until the server is stopped and restarted, the server functions as normal until that time. Upon attempting to restart the server, the following message appears in the SQL Server error log:
kernel udactivate(IN_RAM): Operating system error 8(Not enough storage is available to process this command.) encountered spid1 Device activation error. The physical filename 'IN_RAM' may be incorrect spid1 crdb_tempdb: Unable to move tempdb into RAM; RAM device doesn't exist, cannot be created, or doesn't have enough space for tempdb CAUSEOn startup, if tempdb is configured to exist in RAM, SQL Server must create a temp_db device within the available system RAM in which to store tempdb. If the size of tempdb exceeds the available amount of system RAM, the device cannot be created. Without the device, SQL Server is unable to create tempdb in RAM. It is important to note that the tempdb in RAM value uses RAM in addition to memory currently allocated to SQL Server, and is specified in MB, not 2-KB pages.
WORKAROUNDTo resolve this problem, do the following:
isql -Usa -Ppassword (if you are not local to the computer, add -Sservername)
sp_configure 'tempdb in ram', X go Configuration option changed. Run the RECONFIGURE command to install. reconfigure go shutdown go Server SHUTDOWN by request. |
Keywords : kbusage SSrvAdmin SSrvGen
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |