I've setup a shared server for some of my clients. I provide each client an amount of disk space and let them have any number of websites, up to that limit. I'm not sure I've setup the quota's to work correctly in Linux though as clients are able to exceed the limits (across all their websites) and get no warnings. Two main questions: 1. Am I right in assuming that the Limits set per client, apply to all websites they own? i.e The storage space usage is cumulative for all websites allocated to them? 2. If I am correct, where would I look to start troubleshooting this? I'm assuming I've done something wrong with setting up quota's in the Linux to start. I'm running Ubuntu 20.04.5 LTS on a Digital Ocean droplet. Thank you.
If you are using the right template for that particular clients, quota should work just fine. I am not sure how to troubleshoot quota though, but I would normally revert back to the manual and older PST to check whether I have done it correctly at the first instance.
The Linux filesystem quota is set per website. The quota limit in client limits the amount of space a client can assign to the websites he owns. I don't know which virtualization or container technology Digitalocean uses for its droplets. Some support Linux quota like KVM, and others don't, like LXC or Docker. See the post from @pyte on how to see if your system supports quota and which quotas it has assigned for the websites.
I add a few things here to look out for, if someone finds this post. If your /var resides on another disk you need to make sure you mount that disk with the correct options first. For example: Code: UUID=aaaa-bbbbb-cccc-ddddd /var ext4 defaults,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 0 After a reboot or remounting of the disk you need to enable quotas with Code: quotacheck -ugm /var You now can check the quotas with: Code: repquota -avug Hope it helps