开发者

sql server 2008 , suspend process

net application that has about 50 - 70 users concurrent. it works for some months, but from 3 days ago we have many time out on sql server. heaviest query's times is about 5 Sec ( when single user works) I didnt change any query / app and can't understand why I face this problem. I have 2 servers ( one for IIS and another for DB) the only change is public IP address of IIS server ( and network admin told me they didnt change any things on local area network)

1- how can I manage suspend process? is there any setting that can restart service or kill suspend pro开发者_运维问答cess?

2- how can I find which Items make these problems?

we use : windows server 2003 , IIS 6 , SQL server 2008 , asp.net 3.5 Thanks

update : all queries which uses paging will be suspended on server


1) There only one way to manage suspended process - to Kill it. Run sp_who2 to get SPID with Suspended status you want to kill Than run command Kill <SPID>

2) You need to properly test your app to find where is problem. Try to automate this process to make multiple connections at the same time. Also use SQL profiler to see the queries which coming to your SQL Server, this way you may trace the query which becoming suspended, than you may take this query and run it in the query window as a result you may see more details whats really happened.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜