If you are running Cpanel on OpenVZ VPS and you want to enable quota for your cpanel account, please do this step on your node server.
Step 1: Check First-level Quotas to see whether first-level quotas have already been enabled
1 |
# vzquota show CT_ID |
Step 2: Check Second-level Quotas
1 |
# grep -i QUOTAUGIDLIMIT /etc/sysconfig/vz-scripts/CT_ID.conf |
If you get an empty result, or a result of zero, second-level quotas are not supported by this environment, t go to step 3
Step 3: Turning On Second-Level Quotas for Container
1 2 3 |
# vzctl stop CT_ID # vzctl set CT_ID --quotaugidlimit 1000 --save # vzctl start CT_ID |
ref: http://docs.cpanel.net/twiki/bin/view/11_30/WHMDocs/VirtuozzoQuotas