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
$PRODUCT_ROOT_D
is /usr/local/psa
for RPM-based systems
or /opt/psa
on DEB-based systems.
Optimizing Resources Consumption
To improve the Plesk resources consumption, update the mysqld
configuration file /etc/my.cnf
by adding the skip-bdb line to the
[mysqld] section, and restart mysqld
.
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
Switching to Power User
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:
/usr/local/psa/bin/poweruser --on