FIX: Lazy Writer Process May Cause an Access Violation

Last reviewed: December 19, 1997
Article ID: Q172557
The information in this article applies to:
  • Microsoft SQL Server, version 6.5
BUG #: 17017

SYMPTOMS

If tempdb is in RAM, heavy tempdb usage may cause the lazy writer processes to have a handled access violation (AV). This will appear in the SQL Server errorlog as the following message:

   Lazywriter: Process 2 generated access violation SQL Server is
   terminating this process

This message may occur once or hundreds of times, and can also cause SQL Server to eventually stop responding.

WORKAROUND

To work around this problem, do either of the following:

  • Move tempdb out of RAM to a physical disk.

    -or-

  • Reduce tempdb usage.

STATUS

Microsoft has confirmed this to be a problem in SQL Server version 6.5. This problem was corrected in the latest Microsoft SQL Server 6.5 U.S. Service Pack. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

   S E R V P A C K


Additional query words: hang hung freeze frozen stopped
Keywords : kbbug6.50 SSrvGen SSrvGPF kbfix6.50.sp4 kbenv kbusage
Version : 6.5
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 19, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.