How do I disable FabricCounters and Fabric Event Trace Sessions?

TechSmith77 1 Reputation point
2021-12-23T16:43:45+00:00

I am the administrator of a single server SharePoint 2019 on-premise farm with a separate server running the SQL side of SharePoint. I built this farm. I have domain admin permissions and local admin permissions.
The problem is that fabric_counters_X_000001.blg files (located in C:\ProgramData\Microsoft\SF\Log\PerformanceCountersBinary), query_traces_X_X_1.etl files (located in C:\ProgramData\Microsoft\SF\Log\QueryTraces) and fabric_traces_X_X_1.etl, fabricdeployer-X.trace, FabricSetup-X.trace, lease_traces_X_X_1.etl files (located in C:\ProgramData\Microsoft\SF\Log\Traces) are being uncontrollably created. (The Xs all represent a series of identifying numbers.) Within a month or two my SharePoint server's C drive runs out of space because of these files.

I have figured out that in Performance Monitor I have a User Defined Data Collector Set called FabricCounters. Within this data collector set I have a FabricCounters Performance Counter. Also, under Performance Monitor, I have Event Trace Sessions called FabricTraces, FabricLeaseLayerTraces, FabricAppInfoTraces, and FabricQueryTraces. Finally, I have a task in Task Scheduler under Task Scheduler (Local) -> Task Scheduler Library -> Microsoft -> Windows -> PLA called FabricCounters.

So having all of this figured out I should be able to manage these logs, right? NOPE!!! I have opened the Task Scheduler "as admin" disabled and deleted the FabricCounters task and after a couple of minutes it auto-magically comes right back and immediately starts running! I have opened Performance Monitor "as admin", deleted the FabricCounters performance counter, and data collector set. Both, eventually re-appear exactly as they were created. I have tried stopping the data collector set, editing the performance counter log modes, and manually starting the data collector set. The FabricCounters data collector set eventually auto-restarts itself and my edits are no longer there. When I try to stop, edit the log mode, and start the event trace sessions, I get an error mesage "When attempting to start the Data Collector Set the following system error occurred: The parameter is incorrect." The event trace session eventually restarts itself and my edits are gone.

I have gone into Powershell (as administrator) and attempted to use logman to change, disable, and delete the FabricCounters data collector set. Same result.

I have been searching the 'net for days researching Microsoft AppFabric 1.1 for Windows Server and Microsoft Service Fabric to find hints about what I could change in their config files that might be controlling these data collector sets and event trace sessions. I have found similar situations (No, I'm not using Azure and no the articles about these files building up in Lync servers do not help), but nothing applicable to my situation.

Is anyone out there familiar with Microsoft AppFabric for Windows Server and Microsoft Service Fabric specifically for on-premise SharePoint 2019 server that can help me tame these counters and sessions and the uncontrollable log files they create?

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
252 questions
SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,237 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,819 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. CaseyYang-MSFT 10,321 Reputation points
    2021-12-24T03:28:08.45+00:00

    Hi @TechSmith77 ,

    Did you try to update Microsoft AppFabric?

    Per my research, this article is an overview about issues that are fixed in the update: Cumulative Update 7 for Microsoft AppFabric 1.1 for Windows Server.

    As i'm not familiar with Microsoft AppFabric for Windows Server. I would suggest you open a ticket with microsoft for further help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. TechSmith77 1 Reputation point
    2021-12-28T15:39:57.47+00:00

    Hi @CaseyYang-MSFT ,

    Thank you very much for responding to my request. I have this same request also posted at StackExchange's SharePoint site and no one has responded there. So I really appreciate you at least taking a stab at my problem. So, I checked my server and discovered that I have "Windows Server AppFabric v1.1 CU7 [KB3092423] LDR" already installed. Any other ideas, besides spending $500 and calling Microsoft support?
    Is there another forum or community you could suggest that I could post this question to that would have more people familiar with Microsoft AppFabric for Windows Server for SharePoint server? It's very frustrating to search the Internet and find a general lack of knowledge, or at least a lack of documentation, on this feature of SharePoint server 2019.
    But again, I thank you very much for you willingness to at least take a stab at this problem and if you have any other ideas (crazy or not) :), please post them here. I will continue monitoring this post and the one on StackExchange until I get this problem resolved. If I do end up calling Microsoft, I'll post the solution to both of my posts.