For databases utilizing Availability Groups with the FileStream feature configured. This wait accumulates while SQL Server is waiting for the next file to be processed so its handle can be closed. Some values are expected but if values are excessive investigation is required.
DBAs and Developers
- If Filestream load is high consider scaling out activity over multiple databases.
- Make sure code and directories have been configured as per FileStream best practices (link below).
- Check SQL Server error log for any FileStream warnings and errors.
- Upgrade disks hosting the FileStream database and transaction log files.