Foglight has triggered an alarm for unusually high wait time on the SQL Server wait type HADR_FILESTREAM_IOMGR_IOCOMPLETION. The alert may raise questions, especially if the SQL Server instance is not configured with Availability Groups or FILESTREAM, leading some to assume this is a misclassification or monitoring error.
The wait type HADR_FILESTREAM_IOMGR_IOCOMPLETION
is a valid internal SQL Server wait that typically relates to:
FILESTREAM I/O operations
Always On Availability Groups (AGs), specifically for replica synchronization involving FILESTREAM-enabled data
However, even if AGs and FILESTREAM are not explicitly configured, this wait type can still appear in environments such as:
Azure SQL Managed Instance or complex hybrid setups
Systems where AG or FILESTREAM features were previously enabled
Internal SQL Server subsystems using FILESTREAM-style operations (rare but possible)
Foglight is not misclassifying this wait type. It is pulling the value directly from the SQL Server dynamic management view sys.dm_os_wait_stats
. The same value can be confirmed by executing:
SELECT *
FROM sys.dm_os_wait_stats
WHERE wait_type = 'HADR_FILESTREAM_IOMGR_IOCOMPLETION';
This DMV tracks cumulative wait times since the last SQL Server service restart. Therefore, any value reported reflects actual internal activity recorded by SQL Server.
DBCC SQLPERF('sys.dm_os_wait_stats', CLEAR);
SELECT * FROM sys.availability_groups;
EXEC sp_configure 'filestream access level';
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center