Request Demo

SQL Server Severity 17 Error 8737

SQL Server Error 8737, Severity 17 is typically indicates a failure when attempting to execute or process commands due to resource constraints or an unexpected issue. While the specific cause may vary based on context (e.g., insufficient memory, disk space issues, corrupted metadata), errors in the severity range of 17 generally mean that there are operating system-related problems affecting user processes.  

Common causes: 

  1. Resource Limitations, Insufficient memory available to process queries. CPU exhaustion due to concurrent workloads. 
  2. Disk-Related Issues, Lack of free disk space or I/O bottlenecks. Corrupt database files causing instability.  
  3. Metadata Inconsistencies, Corruption in system tables like `sysobjects`, which store vital information about database objects.     
  4. Version-Specific Bugs/Issues, Occasional bugs tied specifically to SQL Server versions could trigger error codes like this one. 

Gather Details from Logs The first step is understanding why SQL Server raised error 8737 by reviewing logs. Check the SQL Server Error Log (`sp_readerrorlog`). If applicable, examine Windows Event Viewer logs for correlated OS-level errors.

EXEC sys.sp_readerrorlog;

Monitor Resource Utilization Evaluate server performance metrics such as CPU usage, memory availability, and disk utilization using these tools. Query DMVs (Dynamic Management Views) within SQL Server.

SELECT          sqlserver_start_time,         cpu_usage_percent,         used_memory_kb / 1024 AS UsedMemory_MB      FROM sys.dm_os_process_memory;          

SELECT * FROM sys.dm_exec_requests WHERE status = 'running';

Investigate Potential Database Corruption Run DBCC commands (Database Console Commands) to detect any corruption within your databases.

DBCC CHECKDB ('YourDatabaseName') WITH NO_INFOMSGS;   

Free Up Space on Disk(s) if Needed Identify storage bottlenecks and recover free storage where possible by pruning non-essential data/log files. Shrinking log file example if space is limited BUT USE CAUTION! 

DBCC SHRINKFILE('LogicalLogFileName', TargetSizeInMB); 

Purge old backup history if MSDB grows disproportionately large. 

EXEC dbo.sp_delete_backuphistory @oldest_date = 'YYYY-MM-DD';