update default crashkernel value
Resolves: bz1895258 Upstream: Fedora Conflict: None commit34d27c4c30
Author: Coiby Xu <coxu@redhat.com> Date: Tue Nov 16 09:12:49 2021 +0800 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> Signed-off-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
parent
5ac720fc20
commit
33a9e54ff2
@ -841,7 +841,7 @@ kdump_get_arch_recommend_size()
|
|||||||
else
|
else
|
||||||
arch=$(lscpu | grep Architecture | awk -F ":" '{ print $2 }' | tr '[:lower:]' '[:upper:]')
|
arch=$(lscpu | grep Architecture | awk -F ":" '{ print $2 }' | tr '[:lower:]' '[:upper:]')
|
||||||
if [[ $arch == "X86_64" ]] || [[ $arch == "S390X" ]]; then
|
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
|
elif [[ $arch == "AARCH64" ]]; then
|
||||||
ck_cmdline="2G-:448M"
|
ck_cmdline="2G-:448M"
|
||||||
elif [[ $arch == "PPC64LE" ]]; then
|
elif [[ $arch == "PPC64LE" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user