update default crashkernel value
It has been decided to increase default crashkernel value to reduce the
possibility of OOM.
Fixes: 7b7ddab
("kdump-lib.sh: kdump_get_arch_recommend_size uses crashkernel.default")
Reviewed-by: Pingfan Liu <piliu@redhat.com>
Reviewed-by: Philipp Rudo <prudo@redhat.com>
Signed-off-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
parent
546c81a205
commit
34d27c4c30
@ -841,7 +841,7 @@ kdump_get_arch_recommend_size()
|
||||
else
|
||||
arch=$(lscpu | grep Architecture | awk -F ":" '{ print $2 }' | tr '[:lower:]' '[:upper:]')
|
||||
if [[ $arch == "X86_64" ]] || [[ $arch == "S390X" ]]; then
|
||||
ck_cmdline="1G-4G:160M,4G-64G:192M,64G-1T:256M,1T-:512M"
|
||||
ck_cmdline="1G-4G:192M,4G-64G:256M,64G-:512M"
|
||||
elif [[ $arch == "AARCH64" ]]; then
|
||||
ck_cmdline="2G-:448M"
|
||||
elif [[ $arch == "PPC64LE" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user