A task is running slowly

If just one task is running slowly, it is likely that the explanation lies with the task itself. It could be in a loop, or it could periodically be entering a wait state. You need to decide which of these possibilities is the most likely before starting systematic problem determination. The ways that you might distinguish between waits and loops are described in Distinguishing between waits, loops, and poor performance.

Note: Do not overlook the possibility that the task might be doing unnecessary work that does not change the final result—for example, starting a skip sequential browse with large gaps between the keys, or failing to finish one because it is holding on to resources.


dfhs1c0018.html | Timestamp icon Last updated: Monday, 5 June 2017