AlgoViz

Finding the process that is actually stuck

medium 6 min

A process listing samples a moment.

Where it shows up

The same pattern appears across everyday software.

  • A long queue with almost no CPU

    A job queue grows while the host looks idle. Start with the parent tree, identify workers for that queue and sample their states repeatedly. Many D-state tasks suggest examining the wait channel and backing resource. A single D state does not identify a particular device. Match blocked workers to device or remote filesystem latency before changing capacity.

  • Verifying the intervention

    Restore backing-resource latency and check queued work drains without adding workers. If most tasks are runnable rather than asleep, per-core scheduling and group quotas become stronger hypotheses.