.NET CLR LocksAndThreads\Queue Length / sec and locksRSS

2 replies

Last post Nov 06, 2020 02:05 PM by TBD97

‹ Previous Thread|Next Thread ›
  • .NET CLR LocksAndThreads\Queue Length / sec and locks

    Nov 05, 2020 05:20 PM|TBD97|LINK

    Hello,

    What kind of locks within code would cause this counter to be affected? For example, would SQL locks contribute to this?

    Thanks

  • Re: .NET CLR LocksAndThreads\Queue Length / sec and locks

    Nov 06, 2020 08:22 AM|Jalpa Panchal|LINK

    Hi,

    The "queue length" counter is for the number of threads that are waiting to acquire a lock at this very moment."queue length / sec" is the change in queue per second - how many threads became waiting during last second.

    SQLServer :Locks\Lock Waits/sec -> The number of lock requests that could not be satisfied immediately and required the caller to wait before the lock was granted.

    both are different things and do not affect each other.

    .NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
  • Re: .NET CLR LocksAndThreads\Queue Length / sec and locks

    Nov 06, 2020 02:05 PM|TBD97|LINK

    Thanks for the reply. I didn't ask for the definitions of those counters. I asked what kinds of locks it is counting. 

‹ Previous Thread|Next Thread ›