Replicator log size :
This is the shared transaction log that gets created to back any reliable collections for stateful services.
SharedLogSizeInMB specifies the number of MB of disk space to statically pre-allocate for the default shared log on all nodes. The value must be 2048 or larger. You can find these files under - D:\SvcFab\ReplicatorLog
The global reliable service configuration is specified in the cluster manifest for the cluster under the KtlLogger section. It allows configuration of the shared log location and size plus the global memory limits used by the logger.
You can alter this by changing the setting as below –
More details can be found here - https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-config-upgrade-azure
Once you make these changes, if we scale out the NodeType, then the new nodes will have the latest setting and the replicator log will be of 4 GB.
However, for the existing nodes, the log size will not change from 8 GB. To get the size to 4 GB, please follow the below steps.
Disable-ServiceFabricNode -NodeName _FE_1 -Intent RemoveData
2. Go to the Path - D:\SvcFab\ReplicatorLog & delete the file
3. Activate the node and the ReplicatorLog file will be created with the updated size - https://docs.microsoft.com/en-us/powershell/module/servicefabric/enable-servicefabricnode?view=azure...
Windows Fabric Log files :
You can also configure the Diagnostics setting for MaxDiskQuotaInMB which controls Disk quota in MB for Windows Fabric log files.
You can find these traces under D:/SVCFab/Log/Traces folder.
Details can be found here - https://github.com/Azure/Service-Fabric-Troubleshooting-Guides/blob/master/Cluster/Out%20of%20Disksp...
The log size setting is defined via MaxDiskQuotaInMB, and can be changed by editing/ adding the fabricSettings JSON element as below :
More details on various fabric settings for your Service Fabric cluster that you can customize can be found here: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-fabric-settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.