Features-from-plan & limits-from-plan not working correctly

1 post / 0 new
#1 Sun, 04/17/2016 - 02:33
hinhthoi

Features-from-plan & limits-from-plan not working correctly

Hi,

I'm testing Virtualmin API to create a virtual server.

I created account plan name L1 with specific disk (512 MB) and bandwidth quota (5120MB).

Then i created a virtual server using url: https://ip:10000/virtual-server/remote.cgi?program=create-domain&json=1&...

I can see the new account created, but Administration Options > Disk Usage showed the Quota for disk is only 4KB for home directory, instead of 512 MB.

A second problem is: I tried uploading a 27MB file to the newly created server, and it seems everything is OK, regardless of the bigger size than the Quota limit shown in Administration Options > Disk Usage.

So is there any way to force stopping users from uploading more data to the server if the disk usage exceeds the quota value?

Anyone could help me with the 2 problems?

Thanks!