As with the database counts, the disk usage calculation is handled by /scripts/update_db_cache which executes every 4 hours. This script is executed upon enabling the Tweak Setting. Administrators may also execute this script to recalculate the figures. The disk usage figures are stored in /var/cpanel/datastore/mysql-disk-usage and /var/cpanel/datastore/postgres-disk-usage. The file contents are a colon (:) separated list of user names and
figures in bytes.
Example “mysql-disk-usage contents”
[~]# cat /var/cpanel/datastore/mysql-disk-usage
Support for /scripts/updatemysqlquota ends as of cPanel™ 11.25.0. Per this change /scripts/updatemysqlquota is no longer distributed with the product.
Cpanel Database Soft Quotas
The file used to cache the number of databases owned by an account moved from /home/user/.cpanel/datastore/mysql-db-count to /var/cpanel/datastore/user/mysql-db-count. Likewise the PostgreSQL cache file is now /var/cpanel/datastore/user/postgres-db-count.
To keep the cache file current, a cron job executes the following command periodically: /scripts/update_db_cache.
cPanel™ 11.25 provides support for including the disk space consumed by an account’s MySQL and PostgreSQL database in the disk usage for the account. To enable this feature toggle the following Tweak Settings: When displaying disk usage in cPanel/WHM include Postgresql and MySQL® disk usage.
Cpanel Supported Virtual Environments.
KVM
Linux-VServer
Microsoft Server® 2008 Hyper-V
OpenVZ (stable releases only)
Oracle VM VirtualBox, VirtualBox OSE
Virtuozzo™
VMware® Server, VMware® ESX Server
Xen, XenEnterprise™, XenExpress™, XenServer™
cPanel does not support VPS licenses for the FreeBSD operating system.
cPanel does not support 32-bit Virtual Environments that run on a 64-bit host kernel.
cPanel supports the drivers and configurations provided by Microsoft.
Cpanel Customer Contact feature
The Customer Contact feature replaces the Support Request system that exists in prior versions. Resellers may configure this feature to display contact details for support, billing and sales departments.
The feature retains the ability to allow contact submissions via email or external applications. A simplified branding editor in this interface allows the reseller to modify the cPanel™ interfaces used by this feature.
This feature is available to all resellers. Configuration and template data for each reseller is stored in the cpanelbranding directory in the reseller’s home directory.
For the root user this is /var/cpanel/cpanelbranding. Configuration data is stored in the contactinfo.yaml file while branding related changes are stored in one of the following:
contactinfo_include.html - Displays contact information in the Contact and Help cPanel™ interfaces
supportinfo_include.html - Displays a support request form in the Contact and Help cPanel™ interfaces.
Cpanel Bandwidth Statistics Generation
The bandwidth statistics system in cPanel™ uses RRDTool [http://oss.oetiker.ch/rrdtool/] to track the data and generate
resulting graphs and meters. In cPanel™ 11.24 and prior versions, the way the RRDTool data was interpreted by the sys-tem could vary according to which subsystem was examining the data. This often resulted in inconsistent interpretations of the data, as well as missing data.
For cPanel™ 11.25, every aspect of the product that handled RRDTool data was overhauled and consolidated into a single subsystem. The end result is a consistent system that generates reliable and accurate statistics and data.