We obtained better overall performance by wrapping certain cPanel processes inside an LVE, assigning them less I/O and CPU and thus leaving the server more juice for its main task: serving websites.
Currently we have the following cron jobs running inside an LVE using lve_wrapper or lve_suwrapper:
/usr/local/cpanel/scripts/cpbackup
/usr/local/cpanel/scripts/upcp --cron
/usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings
/usr/local/cpanel/bin/optimizefs
/usr/bin/munin-cron
But there are some more resource intensive tasks Id like to see embedded in an LVE, for example the scripts that are running when choosing several options from the WHM control panel:
- easyapache
- Legacy Restore (Multiple) Backups (restorepkg)
- Restore a Full Backup/cpmove File (restorepkg)
In cPanel control panel for example:
- Backups/Backup Wizard (pkgacct)
- phpMyAdmin import
And quite possibly there are other processes that would benefit from being wrapped inside an LVE.
Is there a way (without breaking cPanel update scripts) to wrap these tasks inside an LVE?
Currently we have the following cron jobs running inside an LVE using lve_wrapper or lve_suwrapper:
/usr/local/cpanel/scripts/cpbackup
/usr/local/cpanel/scripts/upcp --cron
/usr/local/cpanel/3rdparty/bin/freshclam --quiet --no-warnings
/usr/local/cpanel/bin/optimizefs
/usr/bin/munin-cron
But there are some more resource intensive tasks Id like to see embedded in an LVE, for example the scripts that are running when choosing several options from the WHM control panel:
- easyapache
- Legacy Restore (Multiple) Backups (restorepkg)
- Restore a Full Backup/cpmove File (restorepkg)
In cPanel control panel for example:
- Backups/Backup Wizard (pkgacct)
- phpMyAdmin import
And quite possibly there are other processes that would benefit from being wrapped inside an LVE.
Is there a way (without breaking cPanel update scripts) to wrap these tasks inside an LVE?