In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to solve the problem of Linux server crash". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Linux system has always been known for its open source and stability. Compared with Windows, linux has a huge advantage in stability. However, such a large and complex system, the crash is still inevitable. How should we respond quickly when the linux system goes down?
There are many kinds of inux system panic, the most likely to cause is the system load is too high. There are also programs and applications that consume a lot of memory. This kind of situation is relatively easy to deal with, of course, we can not rely on the graphical interface at this time, for example, we call up the Gnome system monitor for the ignorance left over by the Windows system, which may aggravate the stuck condition.
Let's not panic, linux unlike Windows, can use the powerful text interface operation, press Ctrl-Alt-F1, will switch to the TTY text interface. Then you need a user name and password to log in. It is important to note that keyboard input may be slow. Enter top enter at the prompt below, and you will see a dynamic table listing the processes that consume the most resources. Watch it refresh once or twice, press Q to exit, and then type kill, where you can see the PID in top. This time should be much faster, if you find that the end did not succeed, then type kill-KILL, this time basically no problem.
In addition to the above situation, the bug of some underlying software may also cause some strange crash problems. In the past, a user hurt the partition of ext4 because of an inexplicable crash and a forced restart. Finally, sysreccd is repaired, it seems that the partition table is partially damaged, and the keyboard and mouse do not respond when it crashes. Generally speaking, when the system crashes caused by high load, the most terrible thing about the keyboard is that the keyboard and mouse do not respond.
At this point, we can use reisub, which can safely restart the computer in a variety of situations. Find a key called "Sys Rq" on the keyboard, which is usually shared with Prt Sc on the keyboard of the desktop, and may be in other locations in the notebook, such as Delete. Take the desktop as an example, to use this method, you need to hold down Alt-Print (Sys Rq), then press the reisub keys in turn, and then press b and the system will restart.
In fact, Sys Rq is something called a system request. Holding down Alt-Print is equivalent to holding down the Sys Rq key. At this time, everything entered will be handled directly by the Linux kernel, which can perform many low-level operations.
At this time, each letter in reisub is an independent operation, they respectively said: unRaw will grab the keyboard control from X Server to send SIGTERM signals to all processes, and let them solve the problem themselves. KIll sends SIGKILL signals to all processes, forcing them to immediately close Sync to synchronize all data to disk Unmount and mount all partitions to read-only mode reBoot restart.
This is the end of the content of "how to solve the problem of Linux server crash". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.