FIX: You may receive error message 701, error message 802, and error message 17803 when many hashed buffers are available in SQL Server 2000 (895123)



The information in this article applies to:

  • Microsoft SQL Server 2000 Desktop Engine (MSDE)
  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Personal Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Workgroup Edition
  • Microsoft SQL Server 2000 Developer Edition 64 bit
  • Microsoft SQL Server 2000 Enterprise Edition 64-bit

Bug #: 20000119 (SQL Server 8.0) SQL Server 8.0:20000119
Microsoft distributes Microsoft SQL Server 2000 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2000 fix release.

SUMMARY

This article describes the following about this hotfix release:
  • The issues that are fixed by this hotfix package
  • The prerequisites for installing the hotfix package
  • Whether you must restart the computer after you install the hotfix package
  • Whether the hotfix package is replaced by any other hotfix package
  • Whether you must make any registry changes
  • The files that are contained in the hotfix package

SYMPTOMS

In Microsoft SQL Server 2000, you may receive error message 701, error message 802, and error message 17803 when many hashed buffers are available. These error messages are out-of-memory errors. Typically, this problem occurs on computers that are based on the 64-bit architecture that have a larger physical memory footprint. For example, this problem occurs on computers that have 20 gigabytes (GB) or more of memory. When this problem occurs, an Error event that is similar to the following is logged in the event log: LazyWriter: warning, no free buffers found.

CAUSE

This problem occurs because the logic to allocate memory does not consider the overall hashed buffers that could be freed. Instead, the logic to allocate memory uses a hard-coded retry logic loop.

RESOLUTION

Hotfix information for Microsoft SQL Server 2000 Service Pack 3 (SP3)

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next SQL Server 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply this hotfix, you must have the following prerequisites installed on the computer:
  • Microsoft SQL Server 2000 Service Pack 3 (SP3)

    For information about how to obtain SQL Server 2000 SP3, click the following article number to view the article in the Microsoft Knowledge Base:

    290211 How to obtain the latest SQL Server 2000 service pack

  • Microsoft SQL Server 2000 hotfix build 8.00.1007

Restart information

You do not have to restart the computer after you apply this hotfix.

Registry information

You do not have to change the registry.

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.SQL Server 2000 32-bit versions
   Date         Time   Version         Size       File name
   ------------------------------------------------------------
   15-Mar-2005  21:47  2000.80.1014.0    664,128  Autoplt.dll      
   15-Mar-2005  21:47  2000.80.1014.0     78,400  Console.exe      
   15-Mar-2005  21:47  2000.80.1014.0    332,352  Ctasksui.dll     
   15-Mar-2005  21:47  2000.80.1014.0    315,968  Custtask.dll     
   15-Mar-2005  21:47  2000.80.1014.0     33,340  Dbmslpcn.dll     
   15-Mar-2005  21:47  2000.80.1014.0  1,905,216  Dtspkg.dll       
   15-Mar-2005  21:47  2000.80.1014.0    528,960  Dtspump.dll      
   15-Mar-2005  21:47  2000.80.1014.0     41,536  Dtsrun.exe       
   15-Mar-2005  21:47  2000.80.1014.0  1,557,052  Dtsui.dll        
   15-Mar-2005  21:47  2000.80.1014.0    639,552  Dtswiz.dll       
   15-Mar-2005  21:47  2000.80.1014.0    102,992  Impprov.dll
   15-Mar-2005  21:47  2000.80.1014.0    352,828  Isqlw.exe        
   15-Mar-2005  21:47  2000.80.1014.0     82,492  Itwiz.exe        
   15-Mar-2005  21:47  2000.80.1014.0     90,692  Msgprox.dll      
   31-Dec-2004  19:16  8.11.41022.0      226,304  Mssdi98.dll      
   15-Mar-2005  21:47  2000.80.1014.0     62,024  Odsole70.dll
   15-Mar-2005  21:48  2000.80.1014.0     25,144  Opends60.dll     
   08-Mar-2005  02:58                     17,576  Opends60.lib
   15-Mar-2005  21:47  2000.80.1014.0     57,904  Osql.exe
   15-Mar-2005  21:47  2000.80.1014.0    279,104  Pfutil80.dll
   15-Mar-2005  21:47  2000.80.1014.0    143,940  Qrdrsvc.exe
   15-Mar-2005  21:47  2000.80.1014.0    221,768  Replprov.dll     
   15-Mar-2005  21:47  2000.80.1014.0    307,784  Replrec.dll
   15-Mar-2005  21:47  2000.80.1014.0    287,304  Rinitcom.dll     
   15-Mar-2005  21:47  2000.80.1014.0     78,416  Sdiclnt.dll      
   15-Mar-2005  21:47  2000.80.1014.0     66,112  Semmap.dll
   15-Mar-2005  21:47  2000.80.1014.0     57,916  Semnt.dll
   15-Mar-2005  21:47  2000.80.1014.0    492,096  Semobj.dll       
   15-Mar-2005  21:47  2000.80.1014.0     53,832  Snapshot.exe
   15-Mar-2005  21:46  2000.80.1014.0     28,672  Sqlagent.dll
   15-Mar-2005  21:47  2000.80.1014.0    311,872  Sqlagent.exe
   15-Mar-2005  21:46  2000.80.1014.0    168,001  Sqlakw32.dll
   08-Mar-2005  02:30                      4,352  Sqlakw32.lib
   15-Mar-2005  21:47  2000.80.1014.0     33,344  Sqlctr80.dll
   15-Mar-2005  21:47  2000.80.1014.0    815,676  Sqldata.dll
   15-Mar-2005  21:47  2000.80.1014.0  4,215,360  Sqldmo.dll       
   15-Mar-2005  21:47                     25,172  Sqldumper.exe
   15-Mar-2005  21:47  2000.80.1014.0    156,224  Sqlmaint.exe     
   15-Mar-2005  21:47  2000.80.1014.0    180,792  Sqlmap70.dll
   15-Mar-2005  21:47  2000.80.1014.0    188,992  Sqlmmc.dll       
   15-Mar-2005  21:47  2000.80.1014.0    401,984  Sqlqry.dll       
   15-Mar-2005  21:47  2000.80.1014.0     57,920  Sqlrepss.dll
   15-Mar-2005  21:47  2000.80.1014.0  7,721,041  Sqlservr.exe
   15-Mar-2005  21:47  2000.80.1014.0    590,396  Sqlsort.dll      
   15-Mar-2005  21:47  2000.80.1014.0     45,644  Sqlvdi.dll
   15-Mar-2005  21:47  2000.80.1014.0    106,588  Sqsrvres.dll
   15-Mar-2005  21:47  2000.80.1014.0     33,340  Ssmsgnet.dll     
   15-Mar-2005  21:47  2000.80.1014.0     33,340  Ssmslpcn.dll
   15-Mar-2005  21:47  2000.80.1014.0     33,340  Ssmsqlgc.dll     
   15-Mar-2005  21:47  2000.80.1014.0     33,340  Ssmssnet.dll
   15-Mar-2005  21:47  2000.80.1014.0     82,492  Ssnetlib.dll     
   15-Mar-2005  21:47  2000.80.1014.0     25,148  Ssnmpn70.dll     
   15-Mar-2005  21:47  2000.80.1014.0    123,456  Stardds.dll      
   15-Mar-2005  21:47  2000.80.1014.0    158,240  Svrnetcn.dll     
   15-Mar-2005  21:47  2000.80.1014.0     76,416  Svrnetcn.exe     
   15-Mar-2005  21:47  2000.80.1014.0     53,808  Ums.dll          
   15-Mar-2005  21:47  2000.80.1014.0     74,304  Xplog70.dll
   15-Mar-2005  21:47  2000.80.1014.0     98,872  Xpweb70.dll
   12-Mar-2005  00:37                      6,784  Hotfix1.inf
   12-Mar-2005  00:37                      2,469  Hotfix2.inf
   31-Dec-2004  19:15  8.0.21213.0       352,256  Msvcr71.dll
   31-Dec-2004  19:15  2000.80.796.0      57,904  Osql.exe
   31-Dec-2004  19:15  2000.80.534.0     127,548  Sqdedev.dll
   31-Dec-2004  19:15  2000.80.194.0     180,290  Sqlunirl.dll
   08-Mar-2005  02:27  2000.80.1014.0    159,813  Replres.rll
   08-Mar-2005  02:52  2000.80.1014.0    172,032  Semobj.rll
   08-Mar-2005  02:20  2000.80.1014.0     28,672  Sqlevn70.rll
   08-Mar-2005  02:51  2000.80.1014.0    479,232  Sqlmmc.rll
SQL Server 2000 64-bit version
   Date         Time   Version         Size       File name	 Platform
   -----------------------------------------------------------------------
   09-Mar-2005  03:57  2000.80.1014.0     56,832  Dbmslpcn.dll   IA-64
   09-Mar-2005  03:56  2000.80.1014.0    528,960  Dtspump.dll
   14-Mar-2005  17:01  2000.80.1014.0    244,224  Impprov.dll    IA-64
   09-Mar-2005  03:57  2000.80.1014.0    185,856  Msgprox.dll
   31-Dec-2004  19:10  8.11.41022.0      742,912  Mssdi98.dll    IA-64
   09-Mar-2005  03:57  2000.80.1014.0    151,040  Odsole70.dll   IA-64
   09-Mar-2005  03:58  2000.80.1014.0     27,136  Opends60.dll   IA-64
   08-Mar-2005  18:12                     19,880  Opends60.lib
   09-Mar-2005  03:57  2000.80.1014.0    148,992  Osql.exe       IA-64
   09-Mar-2005  03:57  2000.80.1014.0    353,280  Qrdrsvc.exe    IA-64
   09-Mar-2005  03:57  2000.80.1014.0    534,528  Replprov.dll   IA-64
   09-Mar-2005  03:57  2000.80.1014.0    769,024  Replrec.dll    IA-64
   09-Mar-2005  03:57  2000.80.1014.0    650,240  Rinitcom.dll
   09-Mar-2005  03:57  2000.80.1014.0    160,768  Semmap.dll     IA-64
   09-Mar-2005  03:57  2000.80.1014.0    132,608  Semnt.dll
   09-Mar-2005  03:57  2000.80.1014.0     88,576  Snapshot.exe   IA-64
   09-Mar-2005  03:56  2000.80.1014.0     10,240  Sqlagent.dll
   09-Mar-2005  03:57  2000.80.1014.0  1,055,232  Sqlagent.exe
   09-Mar-2005  03:57  2000.80.1014.0     90,112  Sqlboot.dll    IA-64
   09-Mar-2005  03:57  2000.80.1014.0     32,256  Sqlctr80.dll   IA-64
   09-Mar-2005  03:57  2000.80.1014.0    812,032  Sqldata.dll    IA-64
   09-Mar-2005  03:57  2000.80.1014.0 13,845,504  Sqldmo.dll
   09-Mar-2005  03:57                     39,936  Sqldumper.exe  
   09-Mar-2005  03:57  2000.80.1014.0    493,568  Sqlmaint.exe
   09-Mar-2005  03:57  2000.80.1014.0     23,040  Sqlmap70.dll   IA-64
   09-Mar-2005  03:57  2000.80.1014.0    152,064  Sqlrepss.dll   IA-64
   09-Mar-2005  03:58  2000.80.1014.0 25,275,392  Sqlservr.exe
   09-Mar-2005  03:57  2000.80.1014.0    616,960  Sqlsort.dll    IA-64
   09-Mar-2005  03:57  2000.80.1014.0    120,320  Sqlvdi.dll     IA-64
   09-Mar-2005  03:57  2000.80.1014.0    227,328  Sqsrvres.dll   IA-64
   09-Mar-2005  03:57  2000.80.1014.0     53,760  Ssmslpcn.dll
   09-Mar-2005  03:57  2000.80.1014.0     59,904  Ssmsqlgc.dll
   09-Mar-2005  03:57  2000.80.1014.0    256,000  Ssnetlib.dll
   09-Mar-2005  03:57  2000.80.1014.0     20,992  Ssnmpn70.dll   IA-64
   09-Mar-2005  03:57  2000.80.1014.0    430,080  Svrnetcn.dll
   09-Mar-2005  03:57  2000.80.1014.0    185,856  Svrnetcn.exe   IA-64
   09-Mar-2005  03:57  2000.80.1014.0    183,296  Xplog70.dll    IA-64
   09-Mar-2005  03:58  2000.80.1014.0    187,392  Xpweb70.dll    IA-64
   31-Dec-2004  19:10  2000.80.962.0      57,904  Osql.exe
   31-Dec-2004  19:10  2000.80.760.0     269,824  Sqdedev.dll    IA-64
   08-Mar-2005  18:34  2000.80.1014.0    146,432  Replres.rll
   08-Mar-2005  18:13  2000.80.1014.0     19,968  Sqlevn70.rll
Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.

Hotfix information for Microsoft SQL Server 2000 Service Pack 4 (SP4)

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next SQL Server 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply this hotfix, you must have the following prerequisite installed on the computer:
  • Microsoft SQL Server 2000 Service Pack 4 (SP4)

    For information about how to obtain SQL Server 2000 SP4, click the following article number to view the article in the Microsoft Knowledge Base:

    290211 How to obtain the latest SQL Server 2000 service pack

Restart information

You do not have to restart the computer after you apply this hotfix.

Registry information

You do not have to change the registry.

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.SQL Server 2000 32-bit versions
   Date         Time   Version         Size       File name            Platform
   ----------------------------------------------------------------------------
   16-Jun-2005  09:15  5.2.3790.1288       8,704  Updatelauncher.exe  
   01-Jun-2005  02:22  6.1.22.5           25,824  Spupdsvc.exe         x64
   12-Jul-2005  03:37                        869  Tempcatsign.cdf
   06-Jun-2005  07:46  8.11.50523.0      239,104  Mssdi98.dll          x86
   16-May-2005  10:51  2000.80.1025.0     57,904  Osql.exe             x86
   12-Jul-2005  02:24  2000.80.2148.0    430,080  Pfclnt80.dll         x86
   16-Jun-2005  09:15                    552,068  Procsyst.sql
   16-Jun-2005  09:15                     18,810  Sp4_serv_qfe.sql
   07-Jul-2005  10:50  2000.80.2148.0    323,584  Sqlagent.exe         x86
   07-Jul-2005  11:51  2000.80.2148.0    118,784  Sqldiag.exe          x86
   07-Jul-2005  11:09  2000.80.2148.0    102,400  Sqlfth75.dll         x86
   08-Jul-2005  01:07  2000.80.2148.0  9,154,560  Sqlservr.exe         x86
   16-May-2005  10:51  2000.80.1025.0     57,904  Osql.exe             x86
   16-Jun-2005  02:40  1.0.125.0       1,366,016  Sqlstpcustomdll.dll  x64
   25-May-2005  21:37                     25,088  Sqlstpcustomdll.rll
   01-Jun-2005  02:22  6.1.22.5           22,752  Spupdsvc.exe         x86
   12-Jul-2005  03:35                        869  Tempcatsign.cdf
   06-Jun-2005  07:46  8.11.50523.0      239,104  Mssdi98.dll          x86
   16-May-2005  10:51  2000.80.1025.0     57,904  Osql.exe             x86
   12-Jul-2005  02:24  2000.80.2148.0    430,080  Pfclnt80.dll         x86
   16-Jun-2005  09:15                    552,068  Procsyst.sql
   16-Jun-2005  09:15                     18,810  Sp4_serv_qfe.sql
   07-Jul-2005  10:50  2000.80.2148.0    323,584  Sqlagent.exe         x86
   07-Jul-2005  11:51  2000.80.2148.0    118,784  Sqldiag.exe          x86
   07-Jul-2005  11:09  2000.80.2148.0    102,400  Sqlfth75.dll         x86
   08-Jul-2005  01:07  2000.80.2148.0  9,154,560  Sqlservr.exe         x86
   16-May-2005  10:51  2000.80.1025.0     57,904  Osql.exe             x86
   16-Jun-2005  02:23  1.0.125.0         941,568  Sqlstpcustomdll.dll  x86
   25-May-2005  21:18                     24,576  Sqlstpcustomdll.rll
SQL Server 2000 64-bit version
   Date         Time   Version        Size        File name
   ---------------------------------------------------------------
   11-Jul-2005  09:42                      1,183  Hotfix1.inf
   11-May-2005  09:01  2000.80.962.0      57,904  Osql.exe         
   16-Jun-2005  09:15                     18,810  Sp4_serv_qfe.sql
   12-Jul-2005  04:43                 14,707,200  Sqlrun.msp
Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.

WORKAROUND

To work around this problem, reduce queries that can consume large chunks of stolen memory. For example, reduce hashes and sorts.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:

822499 New naming schema for Microsoft SQL Server software update packages

For more information about the terminology that Microsoft uses when it corrects software after it is released, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MinorLast Reviewed:6/1/2006
Keywords:kbfix kbbug kbHotfixServer kbQFE KB895123 kbAudDeveloper kbAudITPRO