SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server Crash Dump


SQL Server Crash Dump

Author
Message
HBhagat
HBhagat
SSChasing Mays
SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)

Group: General Forum Members
Points: 638 Visits: 941
Hi All,

I have strange problem with my live cluster environment.
I have a dev environment in which a procedure completes in approx 4mins.

In my live environment, the same procedure if executed it runs for
1st time = 18 sec
2nd time = 18-20 sec
3rd time it hangs the servers. At this point, I cannot open new window from management studio. I cannot run any query in any other window in that server.
This keeps on for several hours or more than 1 day and then server crashes.

We have disabled the hypthreading and have made the default max worker threads.

My SQL Version:-0
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1
<X64> (Build 7601: Service Pack 1)

Thanks in advance.
Harsha
DBA From The Cold
DBA From The Cold
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2191 Visits: 1746
Hi,

Sorry but we would need more information on what the stored procedure is doing. Does it accept parameters and if so, do they vary?

Regards,

Andrew
HBhagat
HBhagat
SSChasing Mays
SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)SSChasing Mays (638 reputation)

Group: General Forum Members
Points: 638 Visits: 941
Hi Andrew,

Thank you for the response.

The procedure accepts parameters. It generates a big dynamic query for 11 teams and then inserts into the 11 tables.

Currently I have resolved this now.

I had changed the affinity mask. It was 0 as default. After changing, this worked without any problems.

http://stackoverflow.com/questions/8243297/sql-server-not-using-all-cpu-cores-threads-on-server-hardware

Thanks,
Harsha
DBA From The Cold
DBA From The Cold
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2191 Visits: 1746
Glad it's sorted, what did you change the value to?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search