How exactly works quota for websites?

Discussion in 'General' started by Ruthwen, Jul 1, 2021.

Tags:
  1. Ruthwen

    Ruthwen New Member

    Hi.
    I have a problem with one website. In ISPConfig panel in websites section i see this:
    upload_2021-7-1_16-57-22.png
    Ok, so let's try in console:
    Code:
    # du -sh /var/www/mydomain.tld/
    1.5G   /var/www/mydomain.tld/
    Database for this website is ~300MB
    Mail accounts: 78 GB
    Quota wasn't edited.
    Any ideas?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You used the wrong command to get the quota value, the right one is:

    repquota -avu

    You looked at how big files in a certain directory are, but Linux quota is based on file ownership (which user owns files) and not file location.

    Neither databases nor email accounts are part of the website quota.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    And regarding your results, you probably created multiple copies of the website or other big files owned by the website user as root user, root is the only user that can override quota in such a way as the web user himself would not be able to exceed quota.
     

Share This Page