Service Fabric logs consuming all available disk space

拥有回忆 提交于 2019-12-04 08:24:40

If replicator log is full its implying you are using F1s for data storage ... 16GB is not a lot for your data storage and you may be better of breaking the app into processing / storage services with different sets .

Not an expert on how SF stores things ( I will leave that and trimming to others but there is not a lot of info out there) but if its like similar solutions than the replicator log has part of your data and it reduces when safe.. Also rather than F1 you may be better of using F2 and F4 since they have *2 or *4 the IO and cores your not loosing anything but gaining extra storage .. and it means less replication ( unless your doing lots of partitioning ) .

So no useful help on this one. I resorting to tearing down that cluster and rebuilding it. Fortunately for me the cluster was one of a pair and I was able to simply redirect all traffic via TrafficMgr to the other cluster while I destroyed the faulty one and created a fresh one.

Pretty disconcerting to me. Had I not had this redundancy it would have been a rather huge problem. :-(

I am not sure if below is considered as tearing down the cluster ! I tested this on a stateless service on a dummy Service fabric app

Service fabric that we deployed on standard_DS1_V2 was suffering quorum loss and health analysis service also failed because of insufficient disk space. Instead of tearing down the cluster, I stopped the vm scale set using ARM power shell

stop-azurermvmss -ResourceGroupName "RG" -VMScaleSetName "VMSS"

then went to Azure Portal > Resource Groups > Virtual Machine Scale Set > Scaling to bump the SKU to Standard_D1_V2 and started the VM Scale Set

start-azurermvmss -ResourceGroupName "RG" -VMScaleSetName "VMSS"

and redeployed the service fabric app and it works as expected !

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!