Page 1 of 1

deleting lock records from xmetalockinfo table

Posted: Wed Aug 03, 2011 11:07 am
by Terala
Hi,
We have had some issues with user locking their jobs frequently.
From console we are not able to see the locked sessions, cleanup resources also does not show any process associated with that locked job.
DS-TOOLS also did not help either. The only way is to delete the record from xmetalockinfo table Or maybe running the cleanup_abandoned_locks.sh script.

How are other users/admins dealing with this issue? Is it safe to delete all records of xmetalockinfo table?

Appreciate your feedback.

Thanks

Posted: Thu Aug 04, 2011 12:09 am
by ray.wurlod
Prefer the script. It only destroys abandoned locks. Other locks are there for a reason - protecting some object.

Posted: Wed Aug 10, 2011 8:05 am
by Terala
Can we run this script when there are slave connections or any jobs running?

Posted: Wed Aug 10, 2011 3:34 pm
by ray.wurlod
Yes. It only releases abandoned locks. But if you want to be more cautious, don't.