Server
Autotuning
LuckyBX calculates PHP, database and Redis settings for the server's memory and number of cores by itself. If you add memory to the server, the settings are updated after a reboot.
Recalculate now:
luckybx server tuneThe command shows what will change and asks for permission. Only what actually got new settings is restarted.
Pin your own value#
Write it in /etc/luckybx/luckybx.conf, and autotuning takes it:
LBX_INNODB: database memory for data, MB.LBX_FPM_MAX: how many PHP processes a site can have.LBX_OPCACHE: memory for compiled PHP code, MB.LBX_INTERNED: how much of it goes to repeated strings, MB.LBX_REDIS_CACHE: Redis memory for cache, MB.LBX_SEARCH_HEAP: OpenSearch memory, MB.
For example:
LBX_INNODB="1024"After editing, run luckybx server tune.