Operating System Error 170 (Requested Resource is in use)

Operating System Error 170 (Requested Resource is in use)

Operating System Error 170 (Requested Resource is in use)

Operating System Error 170(Requested Resource is in use)

It might happen at some point, to get the above error message on your SQL Server environment.

The above error means that some other process put a lock on a database file (or other files as well, i.e. log files) and SQL Server cannot access it in order to write in it.

So, what you can do? You have a situation where SQL Server reports as critical error that it cannot write on one or more of its hosted databases.

You hope that you can resolve this issue fast and without any downtime.

Here’s what you can try:

– Check via Windows Resource Monitor – overview – disk activity to see if any database/log files are used by any other activity than SQL Server
– Use Sysinternals “Handle” tool to see if there are any other handles on the file rather than SQL Server itself
– Check if antivirus is using the specific file thus keeping it locked

Example of using Handle.exe:

SQLNetHub

Reference: SQLNetHub.com (https://www.sqlnethub.com)

Rate this article: 1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

Loading...

Join SQLNetHub! It’s free and it has cool benefits!

 

© 2017 SQLNetHub.com


Recommended eBooks on SQL Server:

Developing with SQL Server: eBook by SQL Server MVP Artemakis Artemiou
Developing SQL Server: eBook by SQL Server MVP Artemakis Artemiou
Administering SQL Server: eBook by SQL Server MVP Artemakis Artemiou
Administering SQL Server: eBook by SQL Server MVP Artemakis Artemiou
Tuning SQL Server: eBook by SQL Server MVP Artemakis Artemiou
Tuning SQL Server: eBook by SQL Server MVP Artemakis Artemiou
Artemakis Artemiou
Artemakis Artemiou is a Senior SQL Server Architect, Author, Software Developer and a Microsoft Data Platform MVP. He has over 15 years of experience in the IT industry in various roles. Among other, via his initiative SQLEBooks.com, Artemakis authors and publishes eBooks on different topics on SQL Server. Artemakis currently serves as the President of the Cyprus .NET User Group (CDNUG) and the International .NET Association Country Leader for Cyprus (INETA). Additionally he is the founder of the SQLArtBits initiative that aims to provide the technical community with simple, yet powerful and high-quality SQL Server tools. Currently, the highlights of these tools are DBA Security Advisor and In-Memory OLTP Simulator. Artemakis's official website can be found at aartemiou.com. Artemakis's blogs can be found at: SQLNetHub.com and TechHowTos.com.

Leave a Reply

Your email address will not be published. Required fields are marked *

four × five =