Re: How to diagnose a deadly embrace

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You can start SQL Server Profiler to trace which table is causing the lock.

John King
http://www.agileinfollc.com

"Mark Butler" <mredhat_nospam@xxxxxxxxx> wrote in message
news:eYpyqXLfFHA.1284@xxxxxxxxxxxxxxxxxxxxxxx
>I have an application which is running on 40 active workstations. I am
>encountering lock outs many times a day. When I run the stored procedure
>"sp_who2" I can see the spids that are blocked and by which other spid.
>
> If I "kill xx" where xx is the head of the blocking chain the system frees
> up. When doing the "sp_who2" I see a command column which only shows the
> start of a command like "insert", 'update", "select" or "AWAITING
> COMMAND". Is there a way to see the whole command to isolate which
> table(s) are causing the problem?
>
> Are there other tools to help me out?
>
> Desparately in need of help...
> Mark
>


.



Relevant Pages

  • Re: Lock Order Reversal on 7.0-STABLE with pf and ipfw / dummynet (traces)
    ... lock order reversal: ... Tracing pid 23 tid 100022 td 0xffffff00011bf340 ... Tracing command dhcpd pid 36121 tid 100080 td 0xffffff000146f680 ...
    (freebsd-stable)
  • Re: Help required
    ... Open a shell, switch to being the root user by using the "su -" command, ... to use grub. ... computer will boot. ... On top of that, if you wish to lock out some of the menu choices, so ...
    (Fedora)
  • Re: Help required
    ... Open a shell, switch to being the root user by using the "su -" command, ... to use grub. ... computer will boot. ... On top of that, if you wish to lock out some of the menu choices, so ...
    (Fedora)
  • RE: RLOCK() Question
    ... SET REPROCESS is one of the most confusing commands in VFP. ... requiring a lock is issued, and the lock cannot be placed, the lock is ... terminates the lock attempt and it came from a command that automatically ... the ON ERROR handler receives the failed lock error. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: [PATCH 2/4] libata: Implement disk shock protection support
    ... with stopping the request queue anyway, ... Just to be sure, are you just referring to the queue lock, or to the host ... device internal power management will be disabled until the next command ... I'd have to protect the deadline field in struct ata_port by the ...
    (Linux-Kernel)