From 34e642efd23989f2f107b482ee0ea22e808c2d81 Mon Sep 17 00:00:00 2001 From: Murl080 <141338078+Murl080@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:05:07 +0200 Subject: [PATCH] Correct physical memory comparison --- mysqltuner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index cddde06..e9056d4 100644 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -2028,7 +2028,7 @@ sub system_recommendations { "Consider increasing number of CPU for your database server"; } - if ( $physical_memory < 1600 ) { + if ( $physical_memory >= 1.5 * 1024 ) { goodprint "There is at least 1 Gb of RAM dedicated to Linux server."; } else {