Is It a Problem?
Almost never. Microsoft says long waits are typical, and don’t indicate a problem, and Get Wait Statistics filters it out by default.
What It Means
It is a task performing CLR execution and waiting for a particular auto-reset event to be initiated. In practice, it is a CLR worker thread waiting for something to do.
On our SQL Server 2025 lab, with clr enabled set to 0, CLR_AUTO_EVENT and CLR_MANUAL_EVENT both still accumulated, so these waits appear whether or not you have deployed an assembly.
When It Does Matter
Only in one case: if you run your own UNSAFE assemblies that use AutoResetEvent, the wait can reflect your code’s signalling. Then review the assembly’s threading, not the server. For safe assemblies, ignore it. The baseline to monitor, if you own such code, is its wait time per interval against the code’s run times.
The CLR Family
These are the SQL CLR waits: CLR worker threads idling, and the work of loading assemblies and application domains. Most are commonly filtered as benign. If one is near the top of your waits, start from the waits that usually matter instead.
- CLR_AUTO_EVENTAuto-reset event. A CLR task waiting on an auto-reset event; long waits are typical.Usually noise. This page.
- CLR_MANUAL_EVENTManual-reset event. A CLR task waiting on a manual-reset event.Usually noise
- CLR_SEMAPHORESemaphore. A CLR task waiting for a semaphore.Usually noise
- SQLCLR_APPDOMAINApp domain startup. Waiting for a CLR application domain to finish starting.Worth a look when it climbs
- SQLCLR_ASSEMBLYAssembly list. Waiting for access to the loaded assembly list in the app domain.Usually noise
- ASSEMBLY_LOAD and assembly waitsAssembly loading. Exclusive access while an assembly loads.Usually noise
Where To Go Next
CLR_AUTO_EVENT is background noise on a healthy instance. If you are chasing a real problem, start with the waits that cost you time.
- The waits that usually matter, ranked, with what each one is telling you.
- Performance & Troubleshooting, the scripts and guides for this part of the stack.
Leave a Reply