- 1 minutes to read

WCF Diagnostics Tracing, FAQ, Troubleshooting, Common Questions WCF Diagnostics Tracing, FAQ, troubleshooting, common questions 8. What if WCF trace files consume too much disk space?

8. What if WCF trace files consume too much disk space?

8. What if WCF trace files consume too much disk space?

Root causes: (1) Trace level set too verbose (ActivityTracing + MessageLogging at Verbose level = 10-50GB/day), (2) Pickup Service stopped (unconsumed files accumulate), (3) Retention policy too long for high-volume services.

Solutions: Configure Message Type-specific retention (debug traces 30 days, financial transactions 7 years), set trace levels appropriately (Information level for production, Verbose only for troubleshooting), monitor Pickup Service health ([File Monitoring Agent][] alerts on folder size >5GB or file age >4 hours), schedule cleanup jobs for consumed files, enable SQL Server compression (10TB → 2TB). Use [Non Events Agent][] to track trace file volumes per service (alert if OrderProcessing suddenly generates 10× normal volume = investigate application issue).


See all FAQs: [Troubleshooting Overview][]