Question Need clarification on quota management in service plan

Thomas Oryon

Regular Pleskian
Hello Support,

We have both Plesk Linux & Windows server and while creating the service plan there is an below option available based on Linux & windows

Hard disk quota assignment - Linux
Hard disk quota - Windows

Can I check what is the use of this feature and how this works on both environment?

Awaiting your reply.
 

Attachments

  • Lin - service plan.png
    Lin - service plan.png
    136.5 KB · Views: 2
  • Win - service plan.png
    Win - service plan.png
    87.7 KB · Views: 2
It's pretty self explanatory, it adds a limit to how much space a subscription can use so it doesn't use up all the space on the drive that stores the site files. I'm not 100% sure how it applies on Linux since I never used it but I know on Windows it's using the built in quota feature that Windows has.
 
Both Windows and Linux allow you (as the administrator) to set a hard disk quota for subscriptions. Once the quota limit has been reached, no more files can be added to the hosting webspace of a subscription. The quota only applies to the hosting webspace, not to email or databases. Those don't count towards the quota either.

For both the quota can ben set on the "Hosting Parameters" tab of a service plan. Enabling the "Hard disk quota assignment" permission option on the "Permissions" tab of a service plan allows customers to modify the subscription quota.

More information can be found here:
 
Last edited:
Hello @Kaspar ,

How can we verify that the hard limit quota setup for the domain name or account in the server backend for both linux and Windows server. We can see this in Subscription, how to verify the hard limit quota setup for the domain names in backend?

Awaiting your reply.
 
If you want to test the hard disk quota for a subscription to verify if it's working, just set a quota for the service plan (or the subscription) and upload a files to the webspace larger then the quota. It should get rejected.
 
Hello @Kaspar

We have configured a hard disk quota for a Plesk subscription, but the quota is not being enforced at the operating system level.

Example subscription:

System user: sdawe.co_x512teblyb
Subscription disk space limit: 10 GB
Hard disk quota: 5 MB
Website path: /app/vhosts/sdawe.co/httpdocs

Plesk shows the hard disk quota correctly:

Hard disk quota: 5.00 MB

The filesystem is also mounted with user quota enabled:

/app ext4 rw,relatime,quota,usrquota
user quota on /app is on

Plesk also detects hard quota support:

usermng --isquotable
0

isHardQuotaEnabled = true

However, the operating system quota output shows that the block quota is still unlimited:

Filesystem space quota limit
/dev/mapper/vg_app1-lv_app1 8928K 0K 0K

The uploaded file is approximately 9 MB and is owned by the correct subscription system user:

Owner=sdawe.co_x512teblyb
Size=9034372
File=/app/vhosts/sdawe.co/httpdocs/testing_wp_pjwsd.zip

Although the subscription hard quota is set to 5 MB, we can still upload a file larger than 5 MB through Plesk File Manager.

We also synchronized the subscription with its service plan, but the Linux block quota still remains 0K.

Can you confirm why the Plesk is not applying the configured 5 MB hard quota to the Linux system user.

Awaiting your reply
 
I am not sure what steps you've taken to configure the disk quota package on the server, so it's hard to say why it fails for you. Have you tried rebooting the server?
 
Back
Top