Solved

Releasing a Mutex

Posted on 2002-05-09
3
189 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
  • 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

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…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now