mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Merge pull request #2401 from Rosiak/issue-2400
Add innodb config example to daily
This commit is contained in:
@@ -37,6 +37,7 @@ The ' . $config['project_name'] . ' team.';
|
||||
echo 'Current size: '.($pool_size / 1024 / 1024).' MiB'.PHP_EOL;
|
||||
echo 'Minimum Required: '.($pool_used / 1024 / 1024).' MiB'.PHP_EOL;
|
||||
echo 'To ensure integrity, we\'re not going to pull any updates until the buffersize has been adjusted.'.PHP_EOL;
|
||||
echo 'Config proposal: "innodb_buffer_pool_size = '.pow(2,ceil(log(($pool_used / 1024 / 1024),2))).'M"'.PHP_EOL;
|
||||
}
|
||||
exit(2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user