title: How to find what is hogging the dispatcher
body: <p>I have a bug in my application, where it seems that the dispatcher thread is getting too many requests to process requests with Background priority.</p>
  
  <p>It's a complex application, and the bug happens randomly (or rather, we haven't figured what triggers it), so I have not been able to find a clear scapegoat just by reading the code. </p>
  
  <p>So how can I, when the bug has occurred, find out what the dispatcher is doing, and which code is responsible?</p>