openEuler启动kdump失败,显示No memory reserved for crash kernel
1 2 3 4 5 6 7 8 9 10 11 12 13
[root@kvm-hkcloud01 ~]# systemctl status kdump kdump.service - Crash recovery kernel arming Loaded: loaded (/usr/lib/systemd/system/kdump.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2024-06-24 14:50:48 CST; 26min ago Process: 1004 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE) Main PID: 1004 (code=exited, status=1/FAILURE)
Jun 24 14:50:47 kvm-hkcloud01 systemd[1]: Starting Crash recovery kernel arming... Jun 24 14:50:48 kvm-hkcloud01 kdumpctl[1015]: No memory reserved for crash kernel Jun 24 14:50:48 kvm-hkcloud01 kdumpctl[1015]: Starting kdump: [FAILED] Jun 24 14:50:48 kvm-hkcloud01 systemd[1]: kdump.service: Main process exited, code=exited, status=1/FAILURE Jun 24 14:50:48 kvm-hkcloud01 systemd[1]: kdump.service: Failed with result 'exit-code'. Jun 24 14:50:48 kvm-hkcloud01 systemd[1]: Failed to start Crash recovery kernel arming.
二、问题分析
根据提示来看,应该是申请不到内存导致的,但从free的结果来看,是可以满足kdump的要求的
资源剩余700M+
1 2 3 4 5
[root@kvm-hkcloud01 ~]# free -h total used free shared buff/cache available Mem: 967Mi 89Mi 442Mi 23Mi 436Mi 715Mi Swap: 0B 0B 0B [root@kvm-hkcloud01 ~]#