Skip to content

SQL Server Perfmon does not start automatically

I have recently used perfmon (performance monitor) at a customer site. I created a Data Collector Set to monitor CPU, Memory, Disk, and Network during one day. Then, I ran the monitor and I received a “beautiful” error message…

perfmon_error01.png

What happened? 😉
Ok, to be sure that it was not a rights or a setting problem in my Data Collector Set, I tried with a System Data Collector Set and got the same error.

perfmon_error01a.png

I read the event viewer and no error or information was listed. Cry
Since the message said the service cannot be started, I ran the services manager from Windows server and I discovered that the “Performance Logs and Alerts” service is in disabled state.

b2ap3_thumbnail_perfmon_error02.jpg

I changed the mode to manual but did not start it.

b2ap3_thumbnail_perfmon_error03.jpg

perfmon_error04.png

I returned to the performance monitor tool to first run a system Data Collector Set to be sure that it works fine!

perfmon_error05.png

I looked up the service manager and see that the “Performance Logs and Alerts” has started.
When stopping the monitoring, we can see that the service continues to run.

b2ap3_thumbnail_perfmon_error06.jpg

Finally, when our monitoring is finished, I am ale to stop the service and disable it.

TIPS

Another important point is that per default, for a user-defined Data Collector Set, after one day, the data is stored in a cab file and directly deleted. After 8 weeks, the cab file is deleted.

perfmon_error07_20140704-065246_1.png

Double-click on the cab file to see all data files from your monitoring:

perfmon_error08.png

My conclusion: Perfmon is a really good cost-free tool for monitoring, but you need to know a few things before using it.

Let’s work together

Ready to operate at
the next level?

Tell us about your challenge. We’ll bring the depth, the expertise, and the Swiss precision.

Stéphane Haby

Stéphane Haby

Stéphane Haby has more than 20 years of experience in Microsoft solutions, specializing in the installation, migration, best practices, and performance analysis of Microsoft SQL Server, as well as Microsoft Business Intelligence solutions (SharePoint, Office) and .NET development for the banking sector. A former Microsoft Most Valuable Professional (MVP) and early adopter of Microsoft Team System in France, he has authored several technical articles. He holds Microsoft Certified Solutions Associate (MCSA) and Expert (MCSE) for SQL Server, MCTS, MCITP for SQL Server 2008, and ITIL V3 Foundation certifications. His industry experience covers chemicals and pharma, banking, and financial services.View Author posts

182 posts since April 2011

Most read in Application Server

The Application Server posts our readers open most: the all-time favourites, and what is trending right now.

Leave a Comment

Your email address will not be published. Required fields are marked *