Forum Discussion

jfbeaulieu's avatar
jfbeaulieu
Copper Contributor
Jan 27, 2025
Solved

PeerDistPubCacheJetInstance

hi, I have a problem with my mcc server. I regularly get the following error: svchost (3024,D,22) PeerDistPubCacheJetInstance: The database C:\WINDOWS\ServiceProfiles\NetworkService\AppData\Local\PeerDistPub\PeerDistPubCatalog.pds has reached its maximum size of 255 MB. If the database cannot be restarted, perform an offline defragmentation connection to reduce its size. I was able to fix the problem, but it comes back after a few days. Has anyone ever had this problem? Thanks 

  • hi

    In BranchCache this is a common issue. You can use the cmdlets to get the data and reset to a larger size that way you will not get issue. From what we have seen, this can also be ignored if needed :)

     

    Get-BCStatus

    Get-BCHashCache | Set-BCCache -Percentage 2 -Force

    or

    Get-BCHashCache | Set-BCCache -SizeBytes 1GB -Force

    Clear-BCCache -Force -Confirm

5 Replies

  • bindumadhava's avatar
    bindumadhava
    Brass Contributor

    hi

    In BranchCache this is a common issue. You can use the cmdlets to get the data and reset to a larger size that way you will not get issue. From what we have seen, this can also be ignored if needed :)

     

    Get-BCStatus

    Get-BCHashCache | Set-BCCache -Percentage 2 -Force

    or

    Get-BCHashCache | Set-BCCache -SizeBytes 1GB -Force

    Clear-BCCache -Force -Confirm

  • luchete's avatar
    luchete
    Iron Contributor

    Hi jfbeaulieu!

    Looks like the issue is with the PeerDist database, whit the size limit of 255 MB. For sure this error happens when it exceeds that limit. You can try to clean up the database by performing an offline defragmentation. If it keeps happening, you might want to automate the cleanup process or increase the database size limit by adjusting the settings. Another thing you can try is clearing the cache periodically to prevent it from reaching the limit.

    Hope it helps!

    • jfbeaulieu's avatar
      jfbeaulieu
      Copper Contributor

      Hi

       

      I'm going to try that. For the moment it seems to be working. I'll see if it still holds up in a few days.

       

       thanks

      • luchete's avatar
        luchete
        Iron Contributor

        Great jfbeaulieu!

        Glad to see it's working so far. If it continues to hold up, would you mind marking the thread as resolved?

Resources