Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

!!IMPORTANCE!! --! User's Disk Limited not work !--

General questions about VestaCP
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
chaiyuttochai
Posts: 28
Joined: Sun Nov 15, 2015 1:36 pm

!!IMPORTANCE!! --! User's Disk Limited not work !--
  • Quote

Post by chaiyuttochai » Thu Dec 10, 2015 6:09 pm

I think the resource control still has bugs. I want tell vestaCP's teams Must have a look on this serious problems
I have test about Disk Limited

I create Package which allow 5mb of disk.

Image

Then i create user which select 5mb package and create website "test.com".
After that i also create email-account and limited 11Mb of disk.


I found the problem is that, Users can upload file to their website over the disk limited
from Package define (reach to 21mb from 5mb limited??). I also test sending an email
into it for checking if email handler over disk limited. The results is that email also
can received more than 15mb?!?!

Image

Image

Image

I have notice that, vestacp didn't auto check or update user disk space like the previous version.
Then i use CLI to command update user's disk space. after is update user still enable to upload file over limited



Do anyone found this issue like me ?
So anyone know how to solve this issue ?

.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: !!IMPORTANCE!! --! User's Disk Limited not work !--
  • Quote

Post by tjebbeke » Thu Dec 10, 2015 9:36 pm

I think this is not a bug but a feature. You need to enable this by yourself if you want hard limits.

enable 'FileSystem Disk Quota' on https://yourserver:8083/edit/server/

or check the script:https://github.com/serghey-rodin/vesta/ ... -sys-quota

or when installing vestacp bash vst-install.sh --quota yes
Top

chaiyuttochai
Posts: 28
Joined: Sun Nov 15, 2015 1:36 pm

Re: !!IMPORTANCE!! --! User's Disk Limited not work !--
  • Quote

Post by chaiyuttochai » Fri Dec 11, 2015 2:54 am

OK, If i config it ---> DISK_QUOTA='yes'
from --->/usr/local/vesta/conf/vesta.conf

So this feature should be enable, am i right?
Top

chaiyuttochai
Posts: 28
Joined: Sun Nov 15, 2015 1:36 pm

Re: !!IMPORTANCE!! --! User's Disk Limited not work !--
  • Quote

Post by chaiyuttochai » Fri Dec 11, 2015 9:04 am

after i have follow your suggestion it's still cannot limite disk.
I already restart my server with a new configulation. how i can solve this issue?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: !!IMPORTANCE!! --! User's Disk Limited not work !--
  • Quote

Post by tjebbeke » Fri Dec 11, 2015 9:22 am

As I can see in the script on github (https://github.com/serghey-rodin/vesta/ ... -sys-quota), you need to do more than just change the config.

Try to execute v-add-sys-quota.
Top

chaiyuttochai
Posts: 28
Joined: Sun Nov 15, 2015 1:36 pm

Re: !!IMPORTANCE!! --! User's Disk Limited not work !--
  • Quote

Post by chaiyuttochai » Fri Dec 11, 2015 9:48 am

Thx !
It's still not working untill i have to do CLI command with

" ./v-update-web-domains-disk testusername "
" ./v-update-mail-domains-disk testusername "

For update this user disk usage. after that it will be work for limited disk.

Another question is that, how i gonna do cronjob or any other way to auto update all user disk allocate rule.
becos the CLI still need user-name to command thus i cannot do cronjob for this command for all user.
Any suggestion?

Or i need just do cronjob execute v-add-sys-quota. in every 5minute?????
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: !!IMPORTANCE!! --! User's Disk Limited not work !--
  • Quote

Post by tjebbeke » Fri Dec 11, 2015 11:17 am

I think it should work so without adding a cronjob. I have no experience with this, maybe someone else here on the forum know it better than me?
Top

chaiyuttochai
Posts: 28
Joined: Sun Nov 15, 2015 1:36 pm

Re: !!IMPORTANCE!! --! User's Disk Limited not work !--
  • Quote

Post by chaiyuttochai » Fri Dec 11, 2015 11:46 am

TO tjebbeke

Thank you for your help anyways.

At least you already guide me to know the solution.
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password