{"id":449,"date":"2020-08-27T18:55:34","date_gmt":"2020-08-27T23:55:34","guid":{"rendered":"https:\/\/truxgoservers.com\/blog\/?p=449"},"modified":"2020-08-27T18:55:37","modified_gmt":"2020-08-27T23:55:37","slug":"what-to-do-when-your-linux-hangs","status":"publish","type":"post","link":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/","title":{"rendered":"What to do when your Linux hangs?"},"content":{"rendered":"\n<p>Linux, despite &#8220;popular belief&#8221;, does crash (hangs or jams). Sometimes it is one or two applications per deadlock and everything can be resolved with a kill -9 to the application hanging from the terminal, this only if it is possible to change the terminal with ctrl + alt + 1, or ctrl + alt + 2, or or doing a Ctrl + Alt + Backspace (if you have it enabled) to restart the X; But if after they have already tried all of the above and still nothing could be achieved, many of us or those of us who do not know this, what we do is press our power button to turn it off and this causes our disk to start to fail Lasted.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What should we do when Hangs?<\/h2>\n\n\n\n<p>Magic SysRq key is a key combination in the Linux kernel that allows the user to execute various low-level commands regardless of the system state. This means that, even if your computer hangs on all sides and seems not to respond, this set of keys will give you a better solution than the &#8220;power off&#8221; one, allowing you, among other things, to synchronize the hard drives so that you do not lose everything. what you have been doing.<\/p>\n\n\n\n<p>How does it work? Easy. The standard combination is as follows: ALT + Sysrq (print screen) + command, where Sysrq is the key that appears on current keyboards as Print screen and Sys Request (System Request). One of the most famous combinations is <strong>REISUB<\/strong>:<br><strong>Alt + SysRq+:<\/strong><\/p>\n\n\n\n<p><br><strong><em>\u25b8<\/em>R: <\/strong>Puts the keyboard in XLATE mode (ASCII mode, NOT UNICODE)<\/p>\n\n\n\n<p><strong><em>\u25b8<\/em>E: <\/strong>Terminates (term) all processes (except init).<\/p>\n\n\n\n<p><strong><em>\u25b8<\/em>I:<\/strong> Forces the \u201ccascaded\u201d processes to end, so that the files in use can be written to disk.<\/p>\n\n\n\n<p><strong><em>\u25b8<\/em>S:<\/strong> You empty the disk caches, finalizing all disk writes.<\/p>\n\n\n\n<p><strong><em>\u25b8<\/em>U: <\/strong>Reassemble all filesystems as read-only, so that nothing can be accidentally written just before the reset.<\/p>\n\n\n\n<p><strong><em>\u25b8<\/em>B: <\/strong>Reset the system.<\/p>\n\n\n\n<p>If, for whatever reason, the Sysrq key doesn&#8217;t work for you, write the following: <strong><em>echo command&gt; \/ proc \/ sysrq-trigger<\/em><\/strong><\/p>\n\n\n\n<p>Where command is any letter you want Sysrq to make.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux, despite &#8220;popular belief&#8221;, does crash (hangs or jams). Sometimes it is one or two applications per deadlock and everything can be resolved with a kill -9 to the application hanging from the terminal, this only if it is possible to change the terminal with ctrl + alt + 1, or ctrl + alt + [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":451,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[27,33],"class_list":["post-449","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux","tag-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What to do when your Linux hangs? - Truxgo Server Blog<\/title>\n<meta name=\"description\" content=\"What should we do when our Linux operating system Hangs or Jams, a quick and safe guide of what you should do in these cases...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/\" \/>\n<meta property=\"og:locale\" content=\"es_MX\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What to do when your Linux hangs? - Truxgo Server Blog\" \/>\n<meta property=\"og:description\" content=\"What should we do when our Linux operating system Hangs or Jams, a quick and safe guide of what you should do in these cases...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/\" \/>\n<meta property=\"og:site_name\" content=\"Truxgo Server Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-27T23:55:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-27T23:55:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/linux-4.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1344\" \/>\n\t<meta property=\"og:image:height\" content=\"742\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Truxgo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Truxgo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/\"},\"author\":{\"name\":\"Truxgo\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/person\\\/8b409c26449db6aa09724b45331e333e\"},\"headline\":\"What to do when your Linux hangs?\",\"datePublished\":\"2020-08-27T23:55:34+00:00\",\"dateModified\":\"2020-08-27T23:55:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/\"},\"wordCount\":349,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/linux-4.jpg\",\"keywords\":[\"Linux\",\"Tutorial\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/\",\"name\":\"What to do when your Linux hangs? - Truxgo Server Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/linux-4.jpg\",\"datePublished\":\"2020-08-27T23:55:34+00:00\",\"dateModified\":\"2020-08-27T23:55:37+00:00\",\"description\":\"What should we do when our Linux operating system Hangs or Jams, a quick and safe guide of what you should do in these cases...\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/linux-4.jpg\",\"contentUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/linux-4.jpg\",\"width\":1344,\"height\":742},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/what-to-do-when-your-linux-hangs\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What to do when your Linux hangs?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/\",\"name\":\"Truxgo Server Blog\",\"description\":\"Cloud Server and Hosting Tutorials.\",\"publisher\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#organization\",\"name\":\"Truxgo Server Blog\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/cropped-truxgo-logo-blanco.png\",\"contentUrl\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/cropped-truxgo-logo-blanco.png\",\"width\":1250,\"height\":278,\"caption\":\"Truxgo Server Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/#\\\/schema\\\/person\\\/8b409c26449db6aa09724b45331e333e\",\"name\":\"Truxgo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g\",\"caption\":\"Truxgo\"},\"sameAs\":[\"https:\\\/\\\/truxgoservers.com\\\/blog\"],\"url\":\"https:\\\/\\\/truxgoservers.com\\\/blog\\\/author\\\/truxgo\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What to do when your Linux hangs? - Truxgo Server Blog","description":"What should we do when our Linux operating system Hangs or Jams, a quick and safe guide of what you should do in these cases...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/","og_locale":"es_MX","og_type":"article","og_title":"What to do when your Linux hangs? - Truxgo Server Blog","og_description":"What should we do when our Linux operating system Hangs or Jams, a quick and safe guide of what you should do in these cases...","og_url":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/","og_site_name":"Truxgo Server Blog","article_published_time":"2020-08-27T23:55:34+00:00","article_modified_time":"2020-08-27T23:55:37+00:00","og_image":[{"width":1344,"height":742,"url":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/linux-4.jpg","type":"image\/jpeg"}],"author":"Truxgo","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Truxgo","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/#article","isPartOf":{"@id":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/"},"author":{"name":"Truxgo","@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/person\/8b409c26449db6aa09724b45331e333e"},"headline":"What to do when your Linux hangs?","datePublished":"2020-08-27T23:55:34+00:00","dateModified":"2020-08-27T23:55:37+00:00","mainEntityOfPage":{"@id":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/"},"wordCount":349,"commentCount":0,"publisher":{"@id":"https:\/\/truxgoservers.com\/blog\/#organization"},"image":{"@id":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/#primaryimage"},"thumbnailUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/linux-4.jpg","keywords":["Linux","Tutorial"],"articleSection":["Linux"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/","url":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/","name":"What to do when your Linux hangs? - Truxgo Server Blog","isPartOf":{"@id":"https:\/\/truxgoservers.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/#primaryimage"},"image":{"@id":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/#primaryimage"},"thumbnailUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/linux-4.jpg","datePublished":"2020-08-27T23:55:34+00:00","dateModified":"2020-08-27T23:55:37+00:00","description":"What should we do when our Linux operating system Hangs or Jams, a quick and safe guide of what you should do in these cases...","breadcrumb":{"@id":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/#primaryimage","url":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/linux-4.jpg","contentUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/linux-4.jpg","width":1344,"height":742},{"@type":"BreadcrumbList","@id":"https:\/\/truxgoservers.com\/blog\/what-to-do-when-your-linux-hangs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truxgoservers.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What to do when your Linux hangs?"}]},{"@type":"WebSite","@id":"https:\/\/truxgoservers.com\/blog\/#website","url":"https:\/\/truxgoservers.com\/blog\/","name":"Truxgo Server Blog","description":"Cloud Server and Hosting Tutorials.","publisher":{"@id":"https:\/\/truxgoservers.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truxgoservers.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/truxgoservers.com\/blog\/#organization","name":"Truxgo Server Blog","url":"https:\/\/truxgoservers.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/cropped-truxgo-logo-blanco.png","contentUrl":"https:\/\/truxgoservers.com\/blog\/wp-content\/uploads\/2020\/08\/cropped-truxgo-logo-blanco.png","width":1250,"height":278,"caption":"Truxgo Server Blog"},"image":{"@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/truxgoservers.com\/blog\/#\/schema\/person\/8b409c26449db6aa09724b45331e333e","name":"Truxgo","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/52691a61c58e68677ed4860007c1bb03b14eabe7350747ab3fad3e17825b4b96?s=96&d=mm&r=g","caption":"Truxgo"},"sameAs":["https:\/\/truxgoservers.com\/blog"],"url":"https:\/\/truxgoservers.com\/blog\/author\/truxgo\/"}]}},"_links":{"self":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts\/449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/comments?post=449"}],"version-history":[{"count":2,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"predecessor-version":[{"id":453,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/posts\/449\/revisions\/453"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/media\/451"}],"wp:attachment":[{"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/truxgoservers.com\/blog\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}