Solved

Releasing a Mutex

Posted on 2002-05-09
3
194 Views
Last Modified: 2010-04-13
I have run into a problem where I had a script that created a mutex but it died abnormally and the mutexes
were never released or destroyed.  The process is no longer active but the mutexes still exist.  Is there a utility that will allow me to destroy the mutex?
0
Comment
Question by:paulca
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 7001067
Reboot.
0
 

Author Comment

by:paulca
ID: 7001302
I should have said that rebooting is not an option here.
0
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 7001323
You have no other options.  Mutexes are owned by the process that created them, there is no way to get a handle to a mutex that has been "orphaned" by a process that died without releasing it.

Other than consuming your resources and possibly causing a problem with resources if you accumulate a large number of them, this is something you'll just have to live with until a reboot happens.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The goal of this blog is to: > note what has impeded us from reaching effective life on-call > provide 3 steps to mastering life on-call > highlight what will be achieved with effective life on-call
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question