PRB: LRU List Empty Errors Can Make the Server Stop Responding (177545)
The information in this article applies to:
- Microsoft SQL Server 6.0
- Microsoft SQL Server 6.5
This article was previously published under Q177545 SYMPTOMS
"Pinning" tables or high configuration values for "RA worker threads" can
starve SQL Server of free buffers. This can lead to the following error in
the errorlog file and eventually cause SQL Server to stop responding:
spid2 Lazywriter: WARNING, LRU list is empty (1 free bufs, 144 total bufs)
If you encounter this error, you will have to restart SQL Server to
continue operation. It is very possible that if this error occurs, it will
be repeated in the errorlog every few minutes, and eventually cause the
following error:
spid2 Lazywriter: WARNING, No free buffers found within the last 5 minutes.
WORKAROUND
To work around this problem, avoid using high configuration values for "RA
worker threads" and use extreme caution and testing when "pinning" tables.
If you need to use these features but encounter the error, you may be able
to increase the amount of memory reserved for SQL Server.
If using these options causes continual server problems, you should
consider changing these options to their default values.
For the "RA worker threads" configuration value, the default is set to 3
upon installation. Use sp_tableoption to "unpin" any tables that are
currently marked as "pinned." Note that when a table is marked as
"unpinned," the pages associated with the table are not immediately flushed
from the cache. They are simply flushed to disk and aged out of the cache
according to normal buffer manager algorithms.
Modification Type: | Major | Last Reviewed: | 10/29/2003 |
---|
Keywords: | kbprb KB177545 |
---|
|