Recovering from deadlock — Process Termination

In which order should we abort?

  1. Priority
  2. How long the process has computed, and how much longer until completion
  3. Resources the process has used
  4. Resources the process needs to complete
  5. How many processes will need to be terminated
  6. Is the process interactive or batch?