GeekInterview.com
Series: Subject: Topic:
Question: 103 of 142

Recovery from Deadlock?

Process Termination:->Abort all deadlocked processes.->Abort one process at a time until the deadlock cycle is eliminated.->In which order should we choose to abort?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?Resource Preemption:->Selecting a victim minimize cost.->Rollback return to some safe state, restart process for that state.->Starvation same process may always be picked as victim, include number of rollback in cost factor.
Asked by: Interview Candidate | Asked on: Mar 6th, 2005

This Question is not yet answered!

Related Open Questions

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.