Solved

SQL Server 100% CPU and High Memory Usage

Posted on 2010-09-09
11
739 Views
Last Modified: 2012-05-10
Hello Folks,

Just installed a SBS 2008 premium box (64bit).  Basically run up fine.  Did a few updates, whammo, cpu and memory through the roof for SQLservr.exe .

Now I've come across this before and found an article that suggested a command line command that fixed this up. Essentially telling the box to process what it needed to do and be done with it and that worked, fixed it completely.  Now I can't find this article.  Was a simple command from the command prompt.  

Does anyone know what this is?

Cheers In advance
0
Comment
Question by:leonardrogan
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 57

Expert Comment

by:Raja Jegan R
Comment Utility
not sure what you are actually referring to..
But you can set the Max Server memory for SQL Server so that it won't utilize high memory usage and 100% CPU usage.
Is that you are referring to..

Also make sure that OS, SQL Server are applied latest Service packs..
0
 

Author Comment

by:leonardrogan
Comment Utility
No, there is a command that you can tell SQL to process items just after it was installed following some windows updates when the symptoms occur.

0
 
LVL 7

Expert Comment

by:rsimsee
Comment Utility
Are you actually using the SQL server for your data, or is it just handling SBS / Sharepoint data?
0
 

Author Comment

by:leonardrogan
Comment Utility
It will be handling a SQL database soon but at the moment it's just general SBS + Trend Micro ScanMail Database.
0
 
LVL 57

Expert Comment

by:Raja Jegan R
Comment Utility
>> SBS + Trend Micro ScanMail Database.

Both SBS and Exchange server are resource intensive applications and hence its recommended not to install SQL Server on this server as SQL Server again needs more memory to function properly..
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 75

Expert Comment

by:Anthony Perkins
Comment Utility
>>Did a few updates, whammo, cpu and memory through the roof for SQLservr.exe .<<
This is by design and should not present a problem in standard SQL Server installations.  If you are not going to follow recommended practices and share the server with other applications than you can cripple SQL Server by setting the max memory used.
0
 

Author Comment

by:leonardrogan
Comment Utility
Doesn't answer the question.
0
 

Accepted Solution

by:
leonardrogan earned 0 total points
Comment Utility
Some more Windows Updates fixed the CPU Utilisation.

I then used the SQL Management Tools to limit the amount of memory that the SQL SBSMonitoring Database.

Hope this helps someone else.
Ta.
0
 

Author Closing Comment

by:leonardrogan
Comment Utility
I answered this myself.
0
 
LVL 57

Expert Comment

by:Raja Jegan R
Comment Utility
leonardrogan,

>> Also make sure that OS, SQL Server are applied latest Service packs..

Is this what I have mentioned in the very first comment itself..
0
 
LVL 75

Expert Comment

by:Anthony Perkins
Comment Utility
rrjegan17,

Of course you did and we also told him/her that they could limit the memory used by MS SQL Server, so the fact they did not wish to even reward our efforts let alone acknowledge them, speaks volumes about them.  But I strongly suspect they will be back and when they don't get any valuable answers they will be the first to complain to CS "I subscribe here and pay money to have experts help me", forgetting that what goes around come around...
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I've often see, or have been asked, the question about the difference between the Exchange 2010 SP1 version, available as part of Small Business Server (SBS) 2011, and the “normal” Exchange 2010 SP1 Standard. The answer to the question is relativ…
If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now