How to increase the quotaugidlimit in a vps

ARUN Post in VPS
0
Quotaugidlimit is the number of user/group IDs allowed for VPS internal disk quota.
If you see error message like this trying to manage users’ quotas inside a VE:
edquota: Can’t write quota for 32063 on /dev/vzfs: No such process
Resetting quota for admin2 to 0 Meg….Done
Or if we see WHM cpanel users limit as UNLIMITED or ZERO
then probably  reason is that second-level quota limit is exceeded and user quotas above a limit were not loaded.
Please increase QUOTAUGIDLIMIT parameter value for a VE to the number
which is greater than sum of users and groups created (or supposed to be created) in a VE.
This command will show you current usage of second-level quotas in a VE #101, you may run it on a hardware node:
# wc -l /vz/root/101/etc/{passwd,group}
95 /vz/root/101/etc/passwd
107 /vz/root/101/etc/group
202 total
You may increase QUOTAUGIDLIMIT parameter using ‘vzctl’ utility on a node:
# vzctl set 101 –save –quotaugidlimit 210
To apply changes it is required to restart VE:
# vzctl restart 101

Quotaugidlimit is the number of user/group IDs allowed for VPS internal disk quota.
If you see error message like this trying to manage users’ quotas inside a VE:
edquota: Can’t write quota for 32063 on /dev/vzfs: No such processResetting quota for admin2 to 0 Meg….Done
then probably its reason is that second-level quota limit is exceeded and user quotas above a limit were not loaded.
Please increase QUOTAUGIDLIMIT parameter value for a VE to the numberwhich is greater than sum of users and groups created (or supposed to be created) in a VE.
This command will show you current usage of second-level quotas in a VE #101, you may run it on a hardware node:# wc -l /vz/root/101/etc/{passwd,group}95 /vz/root/101/etc/passwd107 /vz/root/101/etc/group202 total

You may increase QUOTAUGIDLIMIT parameter using ‘vzctl’ utility on a node:# vzctl set 101 –save –quotaugidlimit 210

To apply changes it is required to restart VE:# vzctl restart 101

« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.