sysctl: setting key "vm.min_free_kbytes": Invalid argument
search cancel

sysctl: setting key "vm.min_free_kbytes": Invalid argument

book

Article ID: 387823

calendar_today

Updated On: 02-20-2025

Products

VMware Tanzu Data Suite

Issue/Introduction

 

Currently in the process of setting up GP7 instance on RH9. Followed the OS configuration guide. https://techdocs.broadcom.com/us/en/vmware-tanzu/data-solutions/tanzu-greenplum/7/greenplum-database/install_guide-prep_os.html

For host systems with 64GB of memory or less, set "vm.dirty_background_bytes" and "vm.dirty_bytes" and the two ratio parameters to these values:  When issuing sysctl -p I get the following errors

sysctl: setting key "vm.dirty_bytes": Invalid argument
sysctl: setting key "vm.min_free_kbytes": Invalid argument

Both were set to 0 per documentation

vm.dirty_background_bytes = 0
vm.dirty_background_ratio = 3
vm.dirty_bytes = 0
vm.dirty_ratio = 10

Environment

7.x and later

Cause

+ It was a documentation bug and needs to be fixed to only update either one of the fields absolute or ratio.

vm.dirty_background_ratio = 3
vm.dirty_ratio = 10

Resolution

+ Removing the absolute fields resolved the issue 

vm.dirty_background_bytes = 0
vm.dirty_bytes = 0