ispconfig - hard quota

Discussion in 'General' started by Frederic Santy, Feb 17, 2021.

  1. Frederic Santy

    Frederic Santy New Member

    Dear

    Our setup, multiplatform:
    srv1: contains isp mgmt portal
    srv2: contains web & file
    srv3: contains DB

    We create client templates, template_A, with a web quota of 1GB on srv2
    We created clients, with master template template_A

    When creating a website under the client account, we can set webquota on 1GB, (not higher, as expected)

    However, when we logon as the client (or admin) on the isp mgmt portal, and check the Website Harddisk quota on the Home-tab, we see that the website harddisk quota has a hard limit of 2GB, instead of 1gb
    We have this on all clients, with other templates as well. The hard limit (& soft limit) seems to be always doubled then the specified amount in the template.

    We use ISPConfig Version: 3.2.2

    How does that hard limit get calculated on the mgmt portal?
    Is this a known issue?

    Best regards,
    Frederic
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    If you gave template a 1 GB storage limit aswell, they will have 1 GB + 1 GB = 2 GB as limit.
     
  3. Frederic Santy

    Frederic Santy New Member

    Hi Th0m,

    Thank you for your feedback, however i don't really understand what you mean with the storage limit.
    Appart from the webquota there is nothing else defined.
    I've added a screenshot of the template.

    Best regards,
    Frederic
     

    Attached Files:

  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Please share a screenshot of both templates and the assigned templates to the client.
     
  5. Frederic Santy

    Frederic Santy New Member

    Hi Th0m,

    Thank you again for your quick response.
    Ive added 10 screenshots.
    1) screen_1.png till screen_9.png contains the limit template, that gets assigned to a client as master template. This template has the name WESOHSCON-X101
    2) client.png: is the limit tab of the client, where that template get's assigned as master template (-> WESOHSCON-X101).

    We only assign 1 template to a client. Not several, and no addon template.

    Best regards,
    Frederic
     

    Attached Files:

  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    This looks good to me and I can't reproduce this on a different system - did you enable quota as described in the perfect server guide for your OS?
     
  7. Frederic Santy

    Frederic Santy New Member

    Hi Th0m,

    Again, tnx for the quick response, really appreciate this.
    We're running ubuntu 20.04 with mariadb.
    The fstab of the srv, that contains the web & file functionality:

    # / was on /dev/vda1 during installation
    UUID=xxxxxx / ext4 errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1
    /swapfile none swap sw 0 0
    UUID=xxxxxxxx /var/www ext4 errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1


    Could it be related to the fact that those quota parameters are set on the / and the /var/www partitions?
    Any idea how that value is generated on the home page? (the limit that gets doubled)

    Best regards,
    Frederic
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, Linux quota works per partition, it is not capable of consolidating the space over multiple partitions. So when you assign quota to 2 partitions, the user as 1GB on each partition.
     
    Frederic Santy likes this.
  9. Frederic Santy

    Frederic Santy New Member

    Hi Till,

    Strange, we implemented the same (having 2 partitions : / /var/www with the quota parameters in fstab) on previous servers, but in a single ispconfig environment (older ispconfigs). That never occured there.
    How does that hard quota limit get generated on the Home tab on ispconfig mgmt? I assume it does some cli commands there,?
    I want to find where it gets that double as a result.

    Best regards,
    Frederic
     
  10. Frederic Santy

    Frederic Santy New Member

    Hello,

    I'll reply myself :)
    Thanks Till & Th0m!
    I've disabled the quota from / and all quota limits are reported correct now.
    A big thanks for shining a light on the problem.

    Best regards,
    Frederic
     
    Th0m likes this.

Share This Page