Solved

Releasing a Mutex

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual C++ Runtime Error on Windows 2000 Server 2 1,560
Application Deployment 2 266
VMware:  Latest Tools version for Windows 2000 Guest 3 267
Screen Mirroring 7 89
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 demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

756 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