@cryptotaxi247 / netdata-1 / commits / 01b9d1fe8

fix not assigned proc_count in installer (#16602)

Ilya Mashchenko committed Dec 14, 2023 at 12:43 UTC 01b9d1fe8c94e366ba4156d96d32cf8972cecd67
1 file changed +1 -1
netdata-installer.sh
+1 -1
@@ -427,7 +427,7 @@ if [ "$(uname -s)" = "Linux" ] && [ -f /proc/meminfo ]; then
427 base=1024
428 scale=256
429
430 - target_ram="$((base * mega + (scale * mega * (proc_count - 1))))"
430 + target_ram="$((base * mega + (scale * mega * (JOBS - 1))))"
431 total_ram="$(grep MemTotal /proc/meminfo | cut -d ':' -f 2 | tr -d ' kB')"
432 total_ram="$((total_ram * 1024))"
433