Forum Discussion

sassdawe's avatar
sassdawe
Brass Contributor
Jan 13, 2019

Distributed Cache crashing under SharePoint 2019 running on WS2019

Happy New Year! I'm having some trouble setting up my new Lab environment using the latest and greatest technologies: Windows Server 2019, SQL 2017 and SharePoint 2019 on three different Hyper-V VM...
  • Trevor Seward's avatar
    Jan 14, 2019

    Adding mikeleemsft. Try running this:

     

    Use-CacheCluster
    
    # Stop the Caching Services on all cache hosts in the cluster.
    stop-cachecluster
    
    # Export existing cache cluster configuration
    Export-cacheclusterconfig -file c:\temp\appfabconfig.txt
    
    # make a copy of "appfabconfig.txt" and name it "appfabconfig2.txt"
    # Edit appfabconfig2.txt
    # Change <caches partitionCount="256" to "128"
    
    # Import the changes.
    Import-cacheclusterconfig c:\temp\appfabconfig2.txt
    
    # Start the Caching Services on all cache hosts in the cluster.
    Start-cachecluster
    
    # Stop the Caching Services on all cache hosts in the cluster.
    stop-cachecluster
    
    # Import the original settings
    Import-cacheclusterconfig c:\temp\appfabconfig.txt
    
    # Start the Caching Services on all cache hosts in the cluster.
    Start-cachecluster

Resources