The mediaIndexing folder is not always cleaned up

  • The temporary files underneath the \App_Data\mediaIndexing folder might not be removed automatically. These files might consume all available disk space.

  • As a quick temporary solution, delete all files in the mediaIndexing folder. 

    To resolve the issue, consider one of the following options:
    • Upgrade Sitecore XP instance to 10.0 or later.
    • Configure Sitecore.Tasks.CleanupAgent to automatically remove files in the mediaIndexing folder.
      The following example configures CleanupAgent to delete all files from the mediaIndexing folder that are older than 1 hour:
    • <sitecore>
          <scheduling>
              <agent type="Sitecore.Tasks.CleanupAgent">
                  <files hint="raw:AddCommand">
                      <remove folder="/App_Data/mediaIndexing" pattern="*.*" maxAge="00.01:00:00"/>
                  </files>
              </agent>
          </scheduling>
      </sitecore>

Applies to:

CMS 9.3 Initial Release

CMS 10.0+

February 02, 2021
February 02, 2021

Reference number:

364907

Keywords: 

  • CMS