Optimizing Panel for Operation in VPS

If you deploy Parallels Plesk Panel in Parallels Virtuozzo Containers for Linux, consider switching the Panel to a special mode of operation - optimized for virtual environments. The mode switches off InnoDB engine in MySQL database server, and Apache web server modules that are not critical for hosting services. This makes the Panel use less memory than other control panels available on the market, which ensures better utilization of hardware resources and increased density of virtual environments per server.

The only disadvantages of using the optimized mode are as follows:

Note: The optimized mode can be switched on only on the Panel clean installations, it is not applicable to the Panel installations upgraded from earlier versions.

To switch to the VPS-optimized mode:

Install the pp10.1.0-vps-optimized EZ template. The template applies the necessary configuration.

Important: The optimized mode can only be enabled on fresh installations of the Panel which have not yet been initialized, or, in other words, have not undergone the initial configuration.

If you need to switch the Panel back to the normal mode of operation, perform the following steps:

  1. Switch on the InnoDB engine.
    1. Open for editing the file /etc/my.cnf.
    2. Locate the lines containing entries skip-innodb and remove them, or comment them out.
    3. Save the file.
    4. Restart MySQL server.
  2. Switch on the required Apache modules.

    On Debian Linux, use the a2enmod utility to switch on all required modules. For example, if you want to switch on the PHP module, issue the following command:

    a2enmod php5

    On other distributions of Linux, edit the main Apache configuration file, which, in most Linux installations, is located in /etc/httpd/conf/.

    1. Open for editing the file /etc/httpd/conf/httpd.conf.
    2. Locate the lines LoadModule <module_name> corresponding to the modules that you want to switch on, and uncomment the lines.
    3. Save the file.
    4. Restart Apache.
  3. Switch the Panel back to normal operation mode by issuing the following SQL query:

    mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "update misc set val='0' where param='vps_optimized_mode_status';"

In this section:

Apache Modules Switched Off in VPS-Optimized Mode

Please send us your feedback on this help page.