System crashes, generally divided into two situations: first, the hardware problem, the second is the software problem.
First, the hardware problem
The following points can be considered for analysis:
1, do not overclocking the CPU, if already overclocking first revert to the original frequency
Although there is no problem with running normally, there may be unexpected failures in the use of high load. In particular, Linux systems in some applications, can be the performance of the hardware to the limit, but such hardware running Windows may be no problem.
2, confirm the power supply sufficient
You must ensure that the power supply meets the load in a high load state.
3. Check memory status with Memtest86
4, restore the BIOS to the default state
For servers, you can use your own monitoring tools to test, but also a good debugging method.
Second, the software problem
If the hardware problem has been basically eliminated, then we must consider the system information from the software to get the panic state.
1, if the luck is good enough, the system crash is not necessarily completely dead (at this point the keyboard may also be able to respond), then we can use SYSRQ Dafa.
The premise is that we must first turn on the SYSRQ function:
#echo "1" >/proc/sys/kernel/sysrq
#setterm-blank
In this way, when there is a problem with the system, we can use:
Reference
ALT+SYSRQ-T Get process System stack information
ALT+SYSRQ-M Get memory allocation information
ALT+SYSRQ-W Get current Register information
More Hotkeys can refer to the/usr/src/linux/documentaion/sysrq.txt on the system
Among them, Setterm-blank can turn off the characters under the black screen protection, easy to record screen information.
2, in order to let the screen display more kernel debugging information, you can modify the console display mode for 80x25, in the/boot/grub/menu.lst of the corresponding kernel line last, add vga=0x305, such as:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.