# Magic SysRq - bezpieczny reset Linux'a

DevFeed: [Magic SysRq - bezpieczny reset Linux'a](<https://devfeed.tech/articles/magic-sysrq-bezpieczny-reset-linux-a-27496.md>)

Original publisher: [Read original article](<https://gagor.pro/2011/09/magic-sysrq-bezpieczny-reset-linuxa/>)

Author: Tom

Published: 2011-09-17T00:00:00Z

Content type: tutorial

Language: pl

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>), [ssh](<https://devfeed.tech/topics/ssh.md>)

Tags: [fsck](<https://devfeed.tech/tags/fsck.md>), [init](<https://devfeed.tech/tags/init.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [sync](<https://devfeed.tech/tags/sync.md>), [timeout](<https://devfeed.tech/tags/timeout.md>)

## AI overview

This Polish tutorial explains how Magic SysRq can help recover a severely unresponsive Linux system before performing a hard reset. It describes the reisub sequence--keyboard recovery, terminating processes, syncing disks, remounting filesystems read-only, and rebooting--and mentions remote-server use.

## Source excerpt

Pomimo iż Linux uchodzi za stabilne środowisko to raz na jakiś czas trafi się ciężka zwiecha - z powodu przeciążenia, awarii sprzętu... nieistotne... Załóżmy że licho wzięło za cel główny serwer plików lub bazę danych dla wielu, wielu stron internetowych. Dostać się po ssh nie możemy bo lecą timeout'y, a siedząc bezpośrednio przy klawiaturze konsola nie reaguje. Mimo to coś ostro daje po dyskach, więc ewentualny twardy reset to na bank utrata części plików... jeśli system po nim w ogóle wstanie... 😑