Groups | Blog | Home
all groups > sql server replication > january 2007 >

sql server replication : SQL Server 2005 Replication CPU 100%


batballs2002 NO[at]SPAM hotmail.com
1/29/2007 4:45:58 AM
We have recently installed a new SQL Server 2005 box to compliment our
existing SQL Server 2000. To ensure data consisitentcy we have
employed replication between the two servers. We are using
transactional replication, with the replication being applied at
scheduled times during the day. The problem seems to be a short while
after the replication has completed (up to 30 mins) the publisher /
distributor server (SQL Server 2005) cpu maxes out at 100%. This can
only be recovered by a server re-boot.

Can anyone shed any light / thoughts on this area.

Many thanks in advance

Mark
batballs2002 NO[at]SPAM hotmail.com
1/29/2007 7:22:04 AM
Thanks for this response Hilary.

First of we are not using laptops in our production environment!
Which is a good thing!!

The kb article does seem to be very close to our issue, and it may
point us to a log reader issue, which I will investigate further. One
publication certainly drops columns when it replicates!

The main issue when the server goes though is actually communicating
with sql server itself, I cannot connect to it and issue any commands,
i.e. sp_who2 to find out what processes are running. Are there any
other ways to kill the log agent reader and re-start?

Mark

[quoted text, click to view]
Hilary Cotter
1/29/2007 10:08:57 AM
I've seen this. First off 100% cpu utilization means your processor is very
busy which is not a bad thing per se. Use task manager to discover what
component on your server is consuming the most amount of CPU. If it is the
log reader you may be bumping into a problem where the article cache gets
locked. Please refer to
http://support.microsoft.com/kb/812263/en-us

I still see something like this on SQL 2005, especially when on my laptop
when I go back and forth between hibernations and suspensions. I take it
your production environment is not running on laptops right;)?

One option is to kill the log reader agent and then to restart it.

--
Hilary Cotter

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



[quoted text, click to view]

AddThis Social Bookmark Button