| Previous | Next |
| ERROR_COULD_NOT_INTERPRET | ERROR_CANT_WAIT |
ERROR_PROFILING_AT_LIMIT
What ERROR_PROFILING_AT_LIMIT means
This result means the requested profile is valid in principle, but a system, provider, or implementation limit has already been consumed. The limit may be global, per processor, per process, or specific to the profiling mechanism.
Where it commonly appears
- Sampling profilers that use hardware counters
- Diagnostic agents running several simultaneous sessions
- Test farms that fail to tear down a profile between cases
Likely causes
- Another profiler owns the available profiling resource
- A previous session leaked after abnormal termination
- The requested event set requires more counters than the processor exposes
- Multiple workers started profiles without central coordination
Troubleshooting checklist
- Enumerate or otherwise identify active profiling sessions when supported
- Check for another profiler, security product, or monitoring agent using the same facility
- Reproduce with a single worker and a minimal event set
- Inspect whether the limit disappears after the owning process exits
Guidance for developers
Serialize access to scarce profiling resources and expose ownership in diagnostics. On this error, do not silently fall back to misleading partial data. Either select a documented lower-cost configuration or report that profiling was not collected.
Guidance for administrators
Stop competing profiling tools and verify that scheduled diagnostics are not overlapping. A restart should be a last resort for leaked kernel state, not the first response.
Example
Two CI jobs on the same host both request a hardware-counter profile. The first succeeds and the second receives this status. The durable fix is host-level scheduling or a shared profiling broker, not retries at millisecond intervals.
Related conditions
It is a capacity condition, not the same as access denied. Elevation will not help when the supported profiling slots are already occupied.
References
Looking for a different code? Search another status or error code.