|
-
May 1st, 2002, 11:25 AM
#1
Thread Starter
Fanatic Member
Resource Locks not being released
I'm using SQL Server 2000 and am having the intermittant problem of resources getting locked and not being released after they have been finished with.
Obviously, this could happen if an explicit transaction was started and not committed/rolled back but does anybody know of any other ways in which this would happen?
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
-
May 1st, 2002, 11:33 AM
#2
If someone goes into an update and then goes to lunch without exiting, you get the same effect. If you do a select for update.
Users also start up mutliple screens. Then minimize one and forget it. Don't rule out users.
It depends on how you design your screens.
Do you completely shutdown all DB connections at night, and then still have locked resources? Then it's possible that an app has terminated abnormally, leaving the locks behind. And the user never mentions it because.... who knows.
-
May 1st, 2002, 10:45 PM
#3
-
May 2nd, 2002, 03:12 AM
#4
Thread Starter
Fanatic Member
Well, we do have automatic error logging but if we shut down the program everytime an error occured, they would spend more time logging into it than using it! 
However, there does not appear to be any run-time error occuring with these resources getting locked so we can't actually see why or when it happens.
As for updating, that can't be an issue since we either use stored procedures to update the database or disconnected recordsets in batch update mode.
Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|