[Mono-list] RE: Releasing Named Mutexes

Dick Porter dick at ximian.com
Tue Feb 7 11:46:31 EST 2006

On Mon, 2006-02-06 at 16:13 -0600, jeff clausius wrote:
> Dick:
> I sent word to the customer reporting this issue within Vault.  They are
> saying the named mutexes are still locked *days* after they send SIGINT
> to a mono/Vault application on Mono within RedHat Ent v3.  The
> sixty second behavior is not taking place.

Yes, this is the bug I noticed when I was composing the original

> What would be causing this behavior?  Is there anyway to release a mutex
> in this state?

There's a tool in the source tree that's not installed in the binary
packages.  Look in mono/mono/handles at hps; when run with an argument
it clears out all old shared handles.  The locked named mutex will be
one of them if more than 60 seconds have elapsed since a process
"pinged" it.

Fixing the bug is next on my list after the current task.

- Dick

More information about the Mono-list mailing list