Setting Up VPS-Optimized Mode in Non-Virtuozzo Environments
If you operate in VPS environments other than Virtuozzo-based ones (Virtuozzo containers or OpenVZ containers), you can also switch Plesk to VPS-optimized mode.
To switch Plesk to the VPS-optimized mode in a non-Virtuozzo environment run the following command:
PRODUCT_ROOT_D/bin/vps_optimized --turn-on, where
/usr/local/psa for RPM-based systems
/opt/psa on DEB-based systems.
To improve the Plesk resources consumption, update the
/etc/my.cnf by adding the skip-bdb line to the
[mysqld] section, and restart
Although it is not recommended to use SpamAssassin and Plesk Premium Antivirus while operating in the VPS-optimized mode, you can still do that. The following instructions help you optimize these services:
To optimize Plesk Premium Antivirus resource consumption, open for editing file
/etc/drweb/drweb32.ini, set PreFork = No, and restart the service.
To optimize SpamAssassin resource consumption, run the following command after performing the initial Plesk configuration:
/usr/local/psa/bin/spamassassin --update-server -max-proc 1
Plesk administrators have the option to use Plesk for their own needs by only leaving relevant controls in the UI and removing all those related to shared hosting business (resellers, service plans, subscriptions). To enable this simple and lightweight user interface, run the following command: