Now I'm observing in Activity Monitor permanent count of waiting tasks:
and at "Resource waits" tab I see next:
so, my question is: How to find and resolve this wait tasks?
I suspect that it related with transactional replication, which running on the server. This wait tasks I see only on Distributor. This issues appeared after restarting SQL server service.
sp_whoisactive – doesn't show any locks.
Thanks a lot for any information.
Best Answer
Apart from Resources waits tab i believe you should expand the tab above which says processes.The Processes pane shows the information about the currently running processes on the SQL databases, who runs them, and from which application.
Also, you can simultaneously use below script to find the info on whats running and causing waits thereby: