Re: Monitoring dlm locks - system wide...

clifford.kh.yeung_at_gmail.com
Date: 02/01/05


Date: 1 Feb 2005 11:44:44 -0800

Have you tried using dlm_get_lkinfo function? Essentially, you will
need an interface to peek at the resource hash table and then walk
through the various queues in the specific resource in order to return
lock blocks found in the various queues (granted, converting, waiting,
etc).

Thanks!
Cliff.

tsv wrote:
> Hi,
> We use DLM (using lock value block) for IPC between processes in a
> tru64 unix cluster.
> Incidentally, we face issues in IPC and we suspect it to be because
of
> an orphaned dlm lock (in PR mode).
> To isolate, we are looking for any command or procedure which will
> list out the
> details(list of processes holding this lock, the lock modes and
> status) about a given dlm lock name.
> I tried using the dlm api - dlm_get_rsbinfo, but it lists only the
> count of the locks taken but no process info.
>
> Regards,
> TSV



Relevant Pages

  • Re: Advice on a multithreaded netisr patch?
    ... Initial receipt and processing of packets on a single CPU ... global write lock, if briefly, for every packet. ... Neither 7.x nor 8.x supports multiple transmit queues as ...
    (freebsd-net)
  • Re: Reducing vm page queue mutex contention
    ... because this lock protects a lot of things: ... I would concentrate on entirely eliminating the use of the page queues lock from pmap_enterand pmap_removes_pages. ... While a mutex pool may ultimately be needed, I would start with a simpler approach and then reevaluate what should be the next step. ... The page queues lock is being used to synchronize changes to the page's dirty field and the PTE's PG_M bit against testing for dirty pages in the machine-independent code. ...
    (freebsd-arch)
  • Re: Question about vZOOM reference handling
    ... consumer message queues which go to two different consumer threads. ... But vZOOM still can be used here for readers. ... to just use a lock on the writer side. ...
    (comp.programming.threads)
  • Reducing vm page queue mutex contention
    ... because this lock protects a lot of things: ... the page queues lock dependency. ... Add a mutex pool for vm pages to protect the pv entries lists. ...
    (freebsd-arch)
  • Re: Emergency
    ... Lock down your system. ... How to block open SMTP relaying and clean up Exchange Server SMTP queues ... > And also I saw the valid emails sittin in queue to take ...
    (microsoft.public.backoffice.smallbiz)