wesupport

Need help?

Our experts have had an average response time of 13.14 minutes in February 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Enable Second level quota on a OpenVZ

by | Oct 13, 2021

Wondering how to enable Second level quota on a OpenVZ? We can help you.

As part of our Server Management Services, we assist our customers with several similar queries.

Today, let us see procedure followed by our Support Techs in order to perform this task.

How to enable Second level quota on a OpenVZ?

The parameter that controls the second-level disk quotas is QUOTAUGIDLIMIT in the Container configuration file.

By default, the value of this parameter is zero and this corresponds to disabled per-user and per-group quotas.

Today, let us see the steps followed by our Support techs to perform this task.

1. Firstly, connect to OpenVZ node via SSH

2. Then, stop the VPS:# vzctl stop 101

3. Next, run this command to enable second level for a running VM.

# vzctl set 101 –quotaugidlimit 10000 –save

4. Restart the VM.

# vzctl start 101

Check the Quotas inside the VM using the below command on the VM if cPanel is installed on the VM

# /scripts/fixquotas

5. Do the same for all existing VM and restart it to take the changes effect.

6. To create a VM with second level quota enabled, add this line in /etc/vz/conf/ve-vswap-solus.conf-sampleCONFIG_TEXT: QUOTAUGIDLIMIT=”10000″

7. Change the below line in /etc/vz/vz.confCONFIG_TEXT: CONFIGFILE=”basic”

toCONFIG_TEXT: CONFIGFILE=”vswap-solus”

[Need help with similar query? We’d be glad to assist you]

Conclusion

In short, today we saw how our Support Techs enable Second level quota on a OpenVZ.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags