issue #98 Fix variable name bug for 32 bits systems
This commit is contained in:
parent
9470d56e6a
commit
6d3e66415b
1 changed files with 2 additions and 2 deletions
|
@ -1142,7 +1142,7 @@ sub mysql_stats {
|
|||
}
|
||||
}
|
||||
|
||||
if ($arch && $arch == 32 && $mycalc{'total_possible_used_memory'} > 2*1024*1024*1024) {
|
||||
if ($arch && $arch == 32 && $mycalc{'max_used_memory'} > 2*1024*1024*1024) {
|
||||
badprint "Allocating > 2GB RAM on 32-bit systems can cause system instability\n";
|
||||
badprint "Maximum reached memory usage: ".hr_bytes($mycalc{'max_used_memory'})." ($mycalc{'pct_max_used_memory'}% of installed RAM)\n";
|
||||
} elsif ($mycalc{'pct_max_used_memory'} > 85) {
|
||||
|
|
Loading…
Reference in a new issue