Note that there are some explanatory texts on larger screens.

plurals
  1. PONHibernate SQL Server Suspended Processes
    primarykey
    data
    text
    <p>Have run into an issue that i am hoping somebody can help give me some direction on. Working on an application that is several years on, on .NET 3.5 and NHibernate 1.2. Have been having a problem over the past week where transaction seem to lock up randomly. I noticed NH had a command_timeout of 100000. I have now brought this down to 30 as 100000 seemed crazy! The issues are still occurring.</p> <p>SQL Server Activity Monitor shows a blocking transaction when the issue occurs, normally in the SUSPENDED state. If i kill the blocking process, those processes being blocked fire off and the system is fine.</p> <p>Running a check on the blocking process, i can see the approx SQL statement being executed that is causing the issue, but it's a statement that is executed through much of the system, retrieving common data across most pages.</p> <p>What do I think could have caused this? Nothing obvious... we did release a couple of small changes, but none of them should have this effect. Windows updates/service packs were recently installed as well about the same time. Could SQL/.NET SP updates be the cause of this issue??</p> <p>I know there is a lot here, but trying to give as much as i have at the moment.</p> <p>NEW INFO: Now that the command_tinmeout has been updated to 30 seconds, queries that exceed this execution time are killed off automatically - or so i see in Activity Monitor. However, it seems as somthing else is going on, as repeat queries fail with timeout as well. However, if i stop and start the application pool, everything begins to work as per normal, at least for a while.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload