PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > SQLSERVR.exe cpu spike - finding cause
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
SQLSERVR.exe cpu spike - finding cause

Réponse
 
LinkBack Outils de la discussion
Vieux 12/09/2008, 13h38   #1
Scott
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut SQLSERVR.exe cpu spike - finding cause

Hi,

Im looking at my server task manager and im seeing the SQLSERVR.exe procees
spike up to 90% every min for a few seconds. Connection to my DB freeze
during this time. I run the profiler looking for queries that take more than
5 seconds to run but not much appears (i.e i can see reports run for 2 mins
for example that can cause the same problem but this is not the problem in
this case).

Something is causing the leap in CPU usage, task manager IDs the SQLSERVER
process, profiler does not ID a query. What else can i examine ?

SQL standard 2005
Windows 2003 server
8 GB Ram
4 X dual core 2.4

How can i examine how efficent the write to the MDF LDF physical disks are
for example ?

Thanks for any at all.
Scott


  Réponse avec citation
Vieux 12/09/2008, 14h23   #2
Gene.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut RE: SQLSERVR.exe cpu spike - finding cause

Do you have replication on your server? Large replicated volumes will cause
very high cpu taken by server but won't show up in profiler.

Gene.

"Scott" wrote:

> Hi,
>
> Im looking at my server task manager and im seeing the SQLSERVR.exe procees
> spike up to 90% every min for a few seconds. Connection to my DB freeze
> during this time. I run the profiler looking for queries that take more than
> 5 seconds to run but not much appears (i.e i can see reports run for 2 mins
> for example that can cause the same problem but this is not the problem in
> this case).
>
> Something is causing the leap in CPU usage, task manager IDs the SQLSERVER
> process, profiler does not ID a query. What else can i examine ?
>
> SQL standard 2005
> Windows 2003 server
> 8 GB Ram
> 4 X dual core 2.4
>
> How can i examine how efficent the write to the MDF LDF physical disks are
> for example ?
>
> Thanks for any at all.
> Scott
>
>
>

  Réponse avec citation
Vieux 12/09/2008, 21h47   #3
Andrew J. Kelly
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQLSERVR.exe cpu spike - finding cause

Well something is using the resources so you should be able to identify what
is using the most CPU. Don't look at duration but more at CPU since that is
what is spiking. Run a trace for a while and then look for the CPU spikes
or large consumptions. I don't think it is disk related since if the disks
are a bottleneck you will usually have low CPU since they are always waiting
on the disks. But for FYI you can look at the filestats and waitstats DMV's
to get some pretty good info as to what is the bottleneck etc. Have a look
at these:

http://www.microsoft.com/technet/pro...ts_queues.mspx

http://www.microsoft.com/technet/pro.../tsprfprb.mspx

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Scott" <scott_lotus@yahoo.co.uk> wrote in message
news:OKklFwMFJHA.4784@TK2MSFTNGP05.phx.gbl...
> Hi,
>
> Im looking at my server task manager and im seeing the SQLSERVR.exe
> procees spike up to 90% every min for a few seconds. Connection to my DB
> freeze during this time. I run the profiler looking for queries that take
> more than 5 seconds to run but not much appears (i.e i can see reports run
> for 2 mins for example that can cause the same problem but this is not the
> problem in this case).
>
> Something is causing the leap in CPU usage, task manager IDs the SQLSERVER
> process, profiler does not ID a query. What else can i examine ?
>
> SQL standard 2005
> Windows 2003 server
> 8 GB Ram
> 4 X dual core 2.4
>
> How can i examine how efficent the write to the MDF LDF physical disks are
> for example ?
>
> Thanks for any at all.
> Scott
>


  Réponse avec citation
Vieux 16/09/2008, 09h49   #4
Scott
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQLSERVR.exe cpu spike - finding cause

thanks for the reply. No replication ... was thinking about it however.


  Réponse avec citation
Vieux 16/09/2008, 09h53   #5
Scott
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQLSERVR.exe cpu spike - finding cause

thanks for the reply Andrew.

Starting to think it maybe is the disks.The CPU spike does not seem to be as
prevelant as the problem. Im examining disk usage via the performance
monitor and the spike is more closely matched to this (although im not l00%
sure what counter is best to use).

Thank you for the links, they look very interesting.

All the best.


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h46.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11281 seconds with 13 queries