Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 123»»»

Runaway CHECKPOINT session on SQL-2008 db-engine instance Expand / Collapse
Author
Message
Posted Thursday, April 30, 2009 2:34 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Thursday, September 18, 2014 12:50 PM
Points: 1,862, Visits: 3,607
I have a CHECKPOINT SPID that has been running on a SQL-2008 instance for the last 16 days.

Here are the details from sys.sysprocesses (the spid is not blocked):

Waittype: 0x0081
Waittime: 4143683
Lastwaittype: CHECKPOINT_QUEUE
dbid: 10 (this is my user db)
cpu: 51218
physical_io: 8924
memusage: 0
login_time: 2009-04-14 17:05:30.420
last_batch: 2009-04-14 17:05:30.420
ecid: 0
open_tran: 0
status: background
cmd: CHECKPOINT

I can't kill this SPID (it's a system SPID), and it is using up resources on the user database.

Meanwhile, I'm not sure why it is constantly running. The cpu/phys. io values are not changing.
The last batch was issued at the same time as the login_time!

I know what CHECKPOINT is supposed to do, but it seems to be hung.

Is something wrong with this instance/db?



__________________________________________________________________________________

Turbocharge Your Database Maintenance With Service Broker: Part 2
Turbocharge Your Database Maintenance With Service Broker: Part 1
Real-Time Tracking of Tempdb Utilization Through Reporting Services
Monitoring Database Blocking Through SCOM 2007 Custom Rules and Alerts
Preparing for the Unthinkable - a Disaster/Recovery Implementation
Post #708053
Posted Thursday, April 30, 2009 2:51 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, September 19, 2014 12:47 PM
Points: 2,049, Visits: 3,584
Is this a virtual server?

David

@SQLTentmaker
SQL Tentmaker
“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
Post #708071
Posted Thursday, April 30, 2009 2:57 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Thursday, September 18, 2014 12:50 PM
Points: 1,862, Visits: 3,607
David Benoit (4/30/2009)
Is this a virtual server?


No, it's a physical server.


__________________________________________________________________________________

Turbocharge Your Database Maintenance With Service Broker: Part 2
Turbocharge Your Database Maintenance With Service Broker: Part 1
Real-Time Tracking of Tempdb Utilization Through Reporting Services
Monitoring Database Blocking Through SCOM 2007 Custom Rules and Alerts
Preparing for the Unthinkable - a Disaster/Recovery Implementation
Post #708076
Posted Thursday, April 30, 2009 3:00 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, September 19, 2014 12:47 PM
Points: 2,049, Visits: 3,584
I have seen this too but only on a virtual server. I moved the database to a similarly configured physical and didn't have the issue.

I have a case with MS that I will be working tomorrow on an issue with the virtual server and I will be addressing this issue so, I will certainly share with you what I find.

Until then though, I am clueless. Haven't researched it much yet but probably should.


David

@SQLTentmaker
SQL Tentmaker
“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
Post #708080
Posted Thursday, April 30, 2009 3:01 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Thursday, September 18, 2014 12:50 PM
Points: 1,862, Visits: 3,607
David Benoit (4/30/2009)
I have seen this too but only on a virtual server. I moved the database to a similarly configured physical and didn't have the issue.

I have a case with MS that I will be working tomorrow on an issue with the virtual server and I will be addressing this issue so, I will certainly share with you what I find.

Until then though, I am clueless. Haven't researched it much yet but probably should.


Thank you for the input, is yours a SQL 2008 instance as well?


__________________________________________________________________________________

Turbocharge Your Database Maintenance With Service Broker: Part 2
Turbocharge Your Database Maintenance With Service Broker: Part 1
Real-Time Tracking of Tempdb Utilization Through Reporting Services
Monitoring Database Blocking Through SCOM 2007 Custom Rules and Alerts
Preparing for the Unthinkable - a Disaster/Recovery Implementation
Post #708082
Posted Thursday, April 30, 2009 3:05 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, September 19, 2014 12:47 PM
Points: 2,049, Visits: 3,584
Yup. There are other issues with this being virtual and this is just one of several warning signs which concerns me.




David

@SQLTentmaker
SQL Tentmaker
“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
Post #708084
Posted Thursday, April 30, 2009 3:10 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Thursday, September 18, 2014 12:50 PM
Points: 1,862, Visits: 3,607
David Benoit (4/30/2009)
Yup. There are other issues with this being virtual and this is just one of several warning signs which concerns me.




Slightly off topic, but what other issues have you had with virtualization? We are also thinking of virtualizing our SQL Server environments, but are concerned about potential issues with performance.


__________________________________________________________________________________

Turbocharge Your Database Maintenance With Service Broker: Part 2
Turbocharge Your Database Maintenance With Service Broker: Part 1
Real-Time Tracking of Tempdb Utilization Through Reporting Services
Monitoring Database Blocking Through SCOM 2007 Custom Rules and Alerts
Preparing for the Unthinkable - a Disaster/Recovery Implementation
Post #708090
Posted Thursday, April 30, 2009 3:23 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, September 19, 2014 12:47 PM
Points: 2,049, Visits: 3,584
What are you seeing when you look at the SQLServer:BufferManager Checkpoint pages / sec counter? On the server that I am looking at it is almost continuously writing pages (very bad) whereas on other boxes that I looked at (all 2005) it will write massive amounts and then go silent (expected behavior).

Curious what you are seeing. Thanks in advance.


David

@SQLTentmaker
SQL Tentmaker
“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
Post #708098
Posted Thursday, April 30, 2009 3:24 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, September 19, 2014 12:47 PM
Points: 2,049, Visits: 3,584
Marios Philippopoulos (4/30/2009)
David Benoit (4/30/2009)
Yup. There are other issues with this being virtual and this is just one of several warning signs which concerns me.




Slightly off topic, but what other issues have you had with virtualization? We are also thinking of virtualizing our SQL Server environments, but are concerned about potential issues with performance.


I'll work on summarizing this in a day or so and share on here then.


David

@SQLTentmaker
SQL Tentmaker
“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
Post #708100
Posted Thursday, April 30, 2009 3:36 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, September 19, 2014 12:47 PM
Points: 2,049, Visits: 3,584
...and an interesting post on this can be found HERE

David

@SQLTentmaker
SQL Tentmaker
“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
Post #708111
« Prev Topic | Next Topic »

Add to briefcase 123»»»

Permissions Expand / Collapse