An Apache Spark-based analytics platform optimized for Azure.
Hi @Pete Valentine ,Thank you for your patience while we worked with the Product Group team on this issue.
Root Cause
Our engineering team completed a detailed analysis of the affected Serverless SQL Warehouse, including
JVM profiling of the warehouse driver during the incident period.
The investigation determined that the intermittent failures were caused by driver memory pressure due to very high concurrency. During peak activity, a large number of concurrent dbt model executions created thousands of worker threads, causing the driver process to exceed its container memory limits. As a result, the driver was restarted by the operating system.
When the driver restarted:
- In-flight operations lost their server-side handles, resulting in "Invalid OperationHandle" errors.
- Requests were temporarily rejected with HTTP 503, "execution engine did not respond", and "Query could not be scheduled" errors.
- The warehouse recovered automatically within seconds, which is why retry attempts were successful and the issue appeared intermittent.
Key Findings
- The issue was not caused by any specific query or data volume.
- Increasing the warehouse size did not resolve the issue because the constraint was related to driver memory consumption, not compute capacity.
- The reduction in concurrent jobs by approximately 70% successfully mitigated the issue, confirming concurrency as the primary contributing factor.
The engineering team has confirmed that there has been no recurrence of the issue in either workspace for approximately one week, which aligns with the reduced concurrency configuration currently in place.
We hope this information helps. Please let us know if you have any further questions.
If this answer was helpful, please Accept Answer so that it may assist other members of the community facing similar issues.