Additional SQL Server features and topics not covered by specific categories
Two possible reasons:
- Long execution time due to bad query plan or similar.
- Blocking. That is, another process is holding locks that blocks the other process.
One way to determine what is going on is to use my beta_lockinfo, which you find at https://www.sommarskog.se/sqlutil/beta_lockinfo.html. If there is blocking you will see columns with double exclamation marks in them. You should run beta_lockinfo when you are experiencing that you service stalls.
By the way, how much RAM do you have in your machine?