Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 11-26-2007, 02:16 PM   #1
LQ Newbie
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Deadlock management in linux

hey guys. I've got an assignment to do on deadlock management in linux so could someone give me some info
Old 11-27-2007, 07:58 AM   #2
LQ Newbie
Registered: May 2007
Posts: 21

Rep: Reputation: 15

If your machine is in remote location and you want the machine to get restarted automatically when the machine hits kernel panic. Then add this line to the /etc/sysctl.conf. After 10 sec delay m/c will be rebooted.

kernel.panic = 10

Enable sysrq keys

By default it is not enabled on many Linux distributions. Add or modify following line (as soon as new Linux system installed) /etc/systctl.conf:

Save and close the file and reboot system to take effect
How do I use the magic SysRq keys in emergency?

You need to use following key combination in order to reboot/halt/sync file system etc:

The ‘SysRq’ key is also known as the ‘Print Screen’ key. COMMAND-KEY can be any one of the following (all keys need to hit simultaneously) :

* ‘b’ : Will immediately reboot the system without syncing or unmounting your disks.
* ‘o’ : Will shutdown your system off (if configured and supported).
* ’s’: Will attempt to sync all mounted filesystems.
* ‘u’ : Will attempt to remount all mounted filesystems read-only.
* ‘e’ : Send a SIGTERM to all processes, except for init.
* ‘h’: Show help, indeed this the one you need to remember.

So whey you need to tell your Linux computer to reboot or when your X server is crashed or you don’t see anything going across the screen then just press:

ALT+SysRQ+s : (Press and hold down ALT, then SysRQ (Print Screen) key and press ’s’) -Will try to syn all mounted system

ALT+SysRQ+r : (Press and hold down ALT, then SysRQ (Print Screen) key and press ‘r’) -Will reboot the system.

If you wish to shutdown the system instead of reboot then press following key combination:
Old 02-01-2011, 03:28 PM   #3
LQ Newbie
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Angry deadlock

Originally Posted by btap_644 View Post
hey guys. I've got an assignment to do on deadlock management in linux so could someone give me some info
i didnt got any data on deadlock management........;P
Old 02-07-2011, 05:46 PM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
This thread is 3 years old. Maybe you want to ask a question by posting a new thread, but please do a better job of explaining the problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anacron resource deadlock problem in FC5 cdhgee Fedora 2 07-31-2006 11:32 AM
Simple pipe in deadlock? nutthick Programming 3 05-10-2006 08:59 AM
Apt Dependency Deadlock Quantumstate Debian 7 04-23-2006 10:33 AM
Diagnosing Deadlock jcase008 Linux - Software 3 07-03-2004 10:09 PM
deadlock rajani Programming 0 03-11-2002 07:34 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration