FIX: Error 5901 occurs on the same offset in SQL Server 2016 until server is restarted

Applies to: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core


Assume that you have an instance of Microsoft SQL Server 2016 installed and the database files are on a local disk. When I/O requests take longer than 15 seconds, then SQL Server may report the following three errors until server is restarted:

DateTime spid     SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file [File Path] in Database ID: Database ID

Latch timeout

DateTime spid     A time-out occurred while waiting for buffer latch -- type 2, bp 00000051644A06C0, page 16:24731256, stat 0x40d, Database IDDatabase ID

Checkpoint error:

DateTime spid     Error: 5901, Severity: 16, State: 1.
DateTime spid     One or more recovery units belonging to database 'Database Name' failed to generate a checkpoint. This is typically caused by lack of system resources such as disk or memory, or in some cases due to database corruption. Examine previous entries in the error log for more detailed information on this failure.


This issue is fixed in the following cumulative update for SQL Server:

       Cumulative Update 12 for SQL Server 2016 SP1


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


Learn about the terminology that Microsoft uses to describe software updates.