Jun 14

When Ubuntu freezes

Scribbled on Saturday, June 14th, 2008

What to do if your system is not responding and gone into eternal freeze. You might be tempted to press the restart button on the CPU cabinet or will turn off the UPS.

The easiest trick is to directly communicate with the Kernel via /proc filesystem.

  • Press Alt + SysRq/Prt Scr key and type REISUB

It will safely restart your PC with no loss of data.

What if you wanted to shut down the PC

  • Press Alt + SysRq/Prt Scr key and then type REISUO

Explanation:

  • R tries to communicate with Keyboard directly without the need of X window system
  • E tries to end processes by giving them stop/terminate signal (SIGTERM), its a respectful request
  • I this is for SOB processes which don’t listen to the kernel, they are killed (SIGKILL) to free the resource locks, thou shalt die who didn’t heed
  • S to write the cached changes to the filesystem, so that data is proof written to the disk and poses no data loss
  • U now its the time to unmount the filesystems and remount them as read only
  • B restarts the sytem
  • O turn off/Shut down the system

So next time keep this little handy trick to show some mercy to your system and valuable data.


Enjoyed this post? Subscribe to Full Feeds or by Email and receive free daily updates on this Blog.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

  1. 5 Responses to “When Ubuntu freezes”

  2. 1

    Hey!! This is like awesome !!

    I used to always restart the system everytime the system froze.

    Will surely keep this in mind !

    By Priya on Sat 14th Jun, 2008

  3. 2

    @Priya
    Do you really use linux ? now thats first chick that I know of :p
    Its just awesome :D
    have a nice time

    By T on Sat 14th Jun, 2008

  4. 3

    Hi. How are you? Is everything ok? :) a big kiss… =^)

    By Smallstar on Mon 16th Jun, 2008

  5. 4

    Man! Chicks with *NIX! Its a nice turn on!

    By Metahuman on Wed 18th Jun, 2008

  1. 1 Trackback(s)

  2. Jul 31, 2008: Arch Linux installation from ground up | Viva La Revolución

Post a Comment

June 2008
M T W T F S S
« May   Jul »
 1
2345678
9101112131415
16171819202122
23242526272829
30