Friday, 30 January 2015

Windows Azure Pack - Where's my disk space gone?

I was cleaning up an environment the other day and noticed that one of the servers in a Windows Azure Pack deployment was running very low on disk space.

Intrigued as to why I started digging in to find out what was consuming it all and it turned out to be the large amount of etl files (Windows Performance Analyzer Trace Files) that had been created in the C:\ProgramData\Windows Fabric\Fabric\log\Traces folder.


Simple solution, if you're not busy troubleshooting, delete them.

However, why are they created and what can be done to stop them filling the drive again?

One of the parts of the Windows Azure Pack (WAP) that can be deployed is Service Bus.

Kristian Nese has a good post on how to deploy Service Bus here and summarises it quickly as:

"Service Bus provides messaging capabilities that enables you to build, test and run loosely-coupled message driven applications."

One of the pre-requisites for Service Bus is the Windows Fabric application.

"Windows Fabric is a Microsoft technology used for creating highly reliable, distributable, and scalable applications."

You may have come across this pre-requisite before if you've deployed Microsoft Lync Server 2013 which also uses it.

Basically, when Windows Fabric installs it creates some performance counters and logging is enabled on these as default.


You could just stop these, but then if you hit a problem you'll be without the traces to help you.

In the short term, it would be better to enable circular logging instead. This way you will at least have some traces to help (default is rollover at 128Mb).

To enable circular logging, run these commands (Command prompt or PowerShell, it's your choice) on the server with Windows Fabric installed:

Logman update trace FabricLeaseLayerTraces -f bincirc --cnf

Logman update trace FabricTraces -f bincirc --cnf



Oh, don't forget to clean out those stale logs and free back up that disk space!

7 comments:

Nasreen Basu said...

Nice information. I was searching for the same. It helped me alot and saved my time. Thanks alot. , windows azure training in hyderabad

HAPP Chibuzor said...

essay outsourcing as an opportunity
Hiring essay writing services to meet class requirements is a short-term fix for skill deficits in writing and time management.http://www.huffingtonpost.com/donna-marie-williams/college-students-use-essa_b_8773028.html
After graduation, as you’re seeking employment and a big salary to pay back your student loans, you may be given a writing test during an interview. Once on the job, you may have to write a white paper, an annual report, or web copy

essay outsourcing said...

Writing is a “threshold skill” for hiring and promoting professional employees, so if your goal is to get your dream job and climb the corporate ladder in your chosen field, use your college years to strengthen your writing and time management skills

devops training said...

I have been reading out a lot of your articles.
I will certainly bookmark your Blog.
Free Dell Boomi Training

Pranav Talluru said...

Thanks for this valuable information .i was really learn about content how impact on devops tatistics but i get the answer of most of my queries.
this blog post is really helpful especially with me that is just starting learning about devops follow in 2017.It is very informative and you explain it well

Pranav Talluru said...

Thanks for this valuable information .i was really learn about content how impact on devops openings in hyderabad tatistics but i get the answer of most of my queries.

this blog post is really helpful especially with me that is just starting learning about devops openings in hyderabad follow in 2017.It is very informative and you explain it well

akhil varma said...

Thank you very much this website provided was very helpful information and well appreciated!.let's share etl testing vacancies in hyderabad like this.