Dramatiq

CPU saturation at 100% causes worker hang

warning
performanceUpdated Sep 13, 2023(via Exa)
Technologies:
How to detect:

Worker hangs when CPU utilization reaches 100%, preventing message processing. This suggests workers are unable to handle the processing load or are experiencing CPU contention.

Recommended action:

Monitor CPU utilization on worker hosts. If CPU consistently reaches 100%: (1) Reduce the number of worker processes/threads, (2) Scale horizontally by adding more worker instances, (3) Optimize task implementations to reduce CPU usage, or (4) Review system-level CPU contention from other processes.