Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Ubuntu 12.04 kernel configuration automatically restart and crash dump     - How to display a dialog Bash Shell script (Programming)

- Linux shell string interception and stitching (Linux)

- Java string concatenation techniques (StringBuilder tips) (Programming)

- Linux Tutorial ---- fundamentals of data traffic redirection (Linux)

- Linux system security configuration (Linux)

- ORA-04031 Error Resolution (Database)

- Tmux Getting Start (Linux)

- Yii PHP Framework Getting Started tutorial (Linux)

- Mahout source code analysis: FP-Growth algorithm parallelization (Programming)

- To protect the temporary files for Linux security (Linux)

- Diagnose and resolve the SSH connection slow (Linux)

- How to Disable Linux IPv6 (Linux)

- Java Virtual Machine Basics (Programming)

- To install OwnCloud 7.0.4 under Ubuntu (Linux)

- Linux user groups, file permissions Detailed (Linux)

- How to install the latest version of the Eclipse in Ubuntu 14.04 (Linux)

- To install minimize RHEL / CentOS 7 (Linux)

- Android gets the global process information and the memory used by the process (Programming)

- How to install Ubuntu applications Device 7 (Linux)

- Text editing and viewing text Linux command (Linux)

  Ubuntu 12.04 kernel configuration automatically restart and crash dump
  Add Date : 2018-11-21      
  The default Ubuntu 12.04 is not configured kernel crash restart automatically and dump, resulting in the occurrence of kernel panic when there is no core dump file to analyze, and stuck in a kernel panic interface, in order to facilitate the search kernel crash causes the need for kernel crash auto-restart configuration and dumps up configuration, the configuration steps are as follows:

The first step in configuring the kernel to crash auto-restart

After adding kernel.panic to the kernel parameters, 10 kernel crash 10 seconds, the system automatically restart

vi /etc/sysctl.conf

kernel.panic = 10

The second step to verify whether the auto-restart mechanism to take effect, you need to configure sysrq

Kernel.sysrq to add kernel parameters to take effect 1

vi /etc/sysctl.conf

kernel.sysrq = 1

Run the command to make the configured parameters take effect, or restart the system

sysctl -p /etc/sysctl.conf

Check whether the configured parameters take effect

Simulation system kernel crash, press alt + sysrq + c three keys, or run the following command

echo c> / proc / sysrq

Look to see a kernel panic and reboot countdown

The third step is to configure the kernel dump

Under the new system needs to be upgraded, or can not install software via apt-get

apt-get update

Installation dumps

sudo apt-get install linux-crashdump

Check whether the entry into force

Testing, simulation system kernel crash, press alt + sysrq + c three keys, or run the following command

Found that the system crashes, and stuck to live, not to send dump, no reboot!

After searching for information, sending such a case, it may core dump and memory configuration is not enough of a relationship, then modify the core dum memory configuration

Modified to 512M Size

Rebuild grub.cfg

Then test success.
- Introduction and bash history command to quickly call (Linux)
- Docker build private warehouse (Server)
- Linux memory management -free learning experience (Linux)
- SSH Filesystem use a secure connection for network file system (Linux)
- Fast Sort Algorithms (Programming)
- Linux firewall settings -DNS server articles (Server)
- Customize the 404 error page Nginx (Server)
- Linux OOM killer mechanism (Linux)
- Oracle users to automatically increase the partition table (Database)
- CentOS yum install LNMP PHP5.4 version (Server)
- Linux firewall rules example Extracts (Linux)
- C ++ Const breaking rules (Programming)
- Install Java, Maven, Tomcat under Linux (Linux)
- CentOS 6 / Linux su: Unable to set user ID: Resource temporarily unavailable (Linux)
- Sleuth Kit: used to analyze a disk image and restore files open source forensics tools (Linux)
- Android main thread message system (Handler Looper) (Linux)
- Ubuntu 14.04 / 13.10 users how to install Ubuntu Touch core applications (Linux)
- How to use the TF / SD card making Exynos 4412 u-boot boot disk in Mac (Linux)
- Linux CPU Monitoring Index (Linux)
- Android child thread really do not update UI (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.