High CPU due to XE DISPATCHER and LOGWRITER

Mahaney, Rob 21 Reputation points
2021-07-20T21:05:19.62+00:00

We recently had the CPU of one of our Production Servers spike to 60 - 80% for about 45 minutes. The only thing we could see for processes using a lot of CPU were XE DISPATCHER, LOG WRITER and CHECKPOINT
116350-checkpoint.jpg

Does anyone know what would cause this?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,785 questions
0 comments No comments
{count} votes

Accepted answer
  1. Erland Sommarskog 111.1K Reputation points MVP
    2021-07-20T21:58:29.77+00:00

    I have a feeling that we have too little information to answer.

    You say that the CPU spiked 60-80%, but you did not actually say that it was SQL Server that was using that CPU?

    You post some output from a tool, but it is nothing that I recognize.

    If there was an application submitting a lot queries, but each in its own connection, that may not appear in that tool.


2 additional answers

Sort by: Most helpful
  1. CathyJi-MSFT 22,201 Reputation points Microsoft Vendor
    2021-07-21T03:21:53.32+00:00

    Hi @Mahaney, Rob ,

    The high CPU usage is used for SQL server? We can get the CPU usage information from task manager as below screenshot.

    116540-screenshot-2021-07-21-111621.jpg

    If SQL server using CPU highly, please read below blog to troubleshot this issue.

    TroubleShoot SQL High CPU Utilization


    If the response is helpful, please clic**k "Accept Answer"** and upvote it, as this could help other community members looking for similar queries.


  2. Tom Phillips 17,731 Reputation points
    2021-07-21T19:49:56.293+00:00

    It is completely normal and expected for SQL Server to use all resources available to it for short periods of time. As a default SQL Server is allowed to use 100% of CPU. This is not an indication of a problem.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.