If you're having issues with smart search in general (which is where that media file usage index runs from), I'd suggest checking out the Smart Search troubleshooting documentation. The primary issue we see is read and write permissions to the App_Data directory of the CMS and MVC app.