![]() |
Abort all deadlocked processes. |
![]() |
Abort one process at a time until the deadlock cycle is eliminated. The order in which the processes will |
| be aborted can be according to the following factors: |
![]() |
Priority of the process |
![]() |
How long process has computed, and how much longer to completion |
![]() |
Resources the process has used |
![]() |
Resources process needs to complete |
![]() |
How many processes will need to be terminated |
![]() |
Is process interactive or batch? |
![]() |
Selecting a victim: The order of processes to be aborted has to be chosen to minimize the cost. |
![]() |
Rollback: The aborted process must be rolled back to some safe state and restart it from that state. |
![]() |
Starvation: We need to guarantee that the same process will not be always picked as victim. |