Disk quota exceeded when encrease web size for X Mb

Discussion in 'Installation/Configuration' started by Mole, Nov 28, 2008.

  1. Mole

    Mole New Member

    Hello!

    I have a problem with disk quota exceed when I change web size from 5000Mb to 500Mb (or higher).
    In ipsconfig panel I did changes (for web disk size encrease).
    Real used size is ~108Mb
    When try to simple kkdir using fpt client (FileZilla etc.) or in bash, there is warning - Disk quota exceed.

    Code:
    srv:/srv/www/web11/web # repquota -avug
    
    *** Report for group quotas on device /dev/md2
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    Group           used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    ...
    www       --   67056       0       0           1104     0     0
    web11     --  109984 5120000 5121024          17513     0     0
    
    With other sites there where no such problems...

    Can anybody, please, help me how to fix that?

    root can mkdir in bash in this directory - web11/web...

    Edited:
    BTW - when I receive e-mails about disk spaces, I receive:
    Username: username
    Used Storage Space: 107.50 MB
    Allocated Storage Space: 50.00 MB (BUT must be 5000Mb)
    User's Real Name: Real name
    User's Email Address: [email protected]
    Web Site: www.website.lv
    Group Of Web Site: web11
     
    Last edited: Nov 29, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

    Are you using Maildir or mbox?
    What exactly did you fill into the web site's quota field?
     
  3. Mole

    Mole New Member

    Falko: Are you using Maildir or mbox?
    Mole: Management -> Server -> Settings -> Email -> Maildir is checked

    Falko: What exactly did you fill into the web site's quota field?
    Mole: ISP Manager -> ISP Site -> Basic -> Space Mb = 5000Mb

    One more interesting thing - when I check Statistic tab in website.lv IPS Site, then I see:
    Storage space: 5000 MB
    used: 0.00k

    FYI - OpenSuse 10.3, latest ispconfig.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    netstat -tap
    ?

    Are there any warnings in /home/admispconfig/ispconfig/ispconfig.log?
     
  5. Mole

    Mole New Member

    Code:
    srv:/srv/www/web11 # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State                                                                                     PID/Program name
    tcp        0      0 *:imaps                 *:*                     LISTEN                                                                                    3199/couriertcpd
    tcp        0      0 *:pop3s                 *:*                     LISTEN                                                                                    3208/couriertcpd
    tcp        0      0 *:mysql                 *:*                     LISTEN                                                                                    2139/mysqld
    tcp        0      0 *:pop3                  *:*                     LISTEN                                                                                    3181/couriertcpd
    tcp        0      0 *:imap                  *:*                     LISTEN                                                                                    3178/couriertcpd
    tcp        0      0 *:sunrpc                *:*                     LISTEN                                                                                    3033/portmap
    tcp        0      0 *:www-http              *:*                     LISTEN                                                                                    1319/httpd2-prefork
    tcp        0      0 *:hosts2-ns             *:*                     LISTEN                                                                                    28200/ispconfig_htt
    tcp        0      0 *:ftp                   *:*                     LISTEN                                                                                    24347/proftpd: (acc
    tcp        0      0 srv.other-domain.lv:domain *:*                     LISTEN                                                                                    28587/named
    tcp        0      0 localhost.locald:domain *:*                     LISTEN                                                                                    28587/named
    tcp        0      0 *:ssh                   *:*                     LISTEN                                                                                    25240/sshd
    tcp        0      0 *:smtp                  *:*                     LISTEN                                                                                    24223/master
    tcp        0      0 localhost.localdoma:953 *:*                     LISTEN                                                                                    28587/named
    tcp        0      0 localhost.localdoma:985 *:*                     LISTEN                                                                                    3353/famd
    tcp        0      0 *:https                 *:*                     LISTEN                                                                                    1319/httpd2-prefork
    tcp        0      0 srv.other-domain.lv:pop3  78.84.214.7:jwalkserver TIME_WAIT                                                                                 -
    tcp        0   1776 srv.other-domain.lv:ssh   78.84.214.7:winjaserver ESTABLISHED                                                                               13781/sshd: atisb [
    tcp        0      0 srv.other-domain.lv:ssh   78.84.214.79:neoiface   TIME_WAIT       
    
    No errors in /home/admispconfig/ispconfig/ispconfig.log
     
    Last edited: Dec 1, 2008
  6. Mole

    Mole New Member

    More ideas?
    In reality ispconfig thinks, that domain website.lv have quota 50Mb (also I receive e-mail that Some Users/Groups Are near or already over their quota limit in server), but in ispconfig it has changed to 5000mb!
     
  7. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /root/ispconfig
    ?
     
  8. Mole

    Mole New Member

    Code:
    
    srv:/ # ls -la /root/ispconfig
    total 104
    drwxr-xr-x 10 root root  4096 2008-11-29 00:57 .
    drwx------ 12 root root  4096 2008-11-19 18:18 ..
    -rwxr-xr-x  1 root root 34531 2008-10-15 18:13 cronolog
    -rwxr-xr-x  1 root root  9673 2008-10-15 18:13 cronosplit
    drwxr-xr-x 12 root root  4096 2008-10-15 18:03 httpd
    drwxr-xr-x 16 root root  4096 2008-10-15 18:13 isp
    drwxr-xr-x  7 root root  4096 2008-10-15 18:03 libmcrypt
    -rw-r--r--  1 root root     8 2008-11-29 00:57 .old_path_httpd_root
    drwxr-xr-x  6 root root  4096 2008-10-15 18:02 openssl
    drwxr-xr-x  6 root root  4096 2008-10-15 18:09 php
    drwxr-xr-x  4 root root  4096 2008-10-15 18:13 scripts
    drwxr-xr-x  4 root root  4096 2008-10-15 18:13 standard_cgis
    drwxr-xr-x  2 root root  4096 2008-10-15 18:13 sv
    -rwx------  1 root root  9389 2008-10-15 18:13 uninstall
    
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Looks ok. What's the output of
    Code:
    repquota -avug
    ?
     
  10. Mole

    Mole New Member

    Please see my first comment in this post - there is answer! ;-)
     
  11. falko

    falko Super Moderator Howtoforge Staff

    But you did not post the whole output. ;)
     
  12. Mole

    Mole New Member

    Code:
    srv:/ # repquota -avug
    *** Report for user quotas on device /dev/md2
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    User            used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    avahi     --       8       0       0              3     0     0
    dspam     --       8       0       0              2     0     0
    games     --       4       0       0              1     0     0
    haldaemon --       8       0       0              2     0     0
    lp        --      24       0       0              6     0     0
    mail      --       4       0       0              1     0     0
    man       --    4848       0       0            911     0     0
    messagebus --       4       0       0              1     0     0
    mysql     --   39184       0       0           1598     0     0
    named     --      32       0       0              8     0     0
    news      --      12       0       0              6     0     0
    nobody    --       8       0       0              2     0     0
    ntp       --       8       0       0              3     0     0
    polkituser --       8       0       0              2     0     0
    postfix   --     204       0       0             75     0     0
    root      -- 2655228       0       0          94497     0     0
    ulogd     --       8       0       0              3     0     0
    uucp      --       8       0       0              2     0     0
    wwwrun    --   84832       0       0           3110     0     0
    username1 --   12196   51200   52224            654     0     0
    admispconfig --  170460       0       0           6169     0     0
    username2   --     176   51200   52224             49     0     0
    username3     -- 7617368       0       0            513     0     0
    
    username4     --   79260  153600  154624          17518     0     0
    
    username5  --  571724       0       0           2364     0     0
    username6   --   16288       0       0           2096     0     0
    filter    --      12       0       0              3     0     0
    username7     --      72   20480   21504             12     0     0
    username8  --   41744   51200   52224           1550     0     0
    username9 --     212  102400  103424             53     0     0
    username10     --      36   20480   21504              9     0     0
    username11 --     800       0       0             59     0     0
    username12 --    1112   51200   52224             68     0     0
    username13 --     232       0       0             49     0     0
    username14     --      96       0       0             22     0     0
    username15 --     160   20480   21504             44     0     0
    username16   --    1004   51200   52224            111     0     0
    username17  --     196   51200   52224             44     0     0
    username18      -- 6394328       0       0           6441     0     0
    username19 --   35860   51200   52224           1448     0     0
    username20      --   30380       0       0             66     0     0
    username21     --      40   20480   21504             11     0     0
    username22 --     764       0       0             49     0     0
    #501      --   11320       0       0           1222     0     0
    #10005    --   26956       0       0              7     0     0
    #1010     --   27608       0       0           4641     0     0
    #500      --    3992       0       0            249     0     0
    #113      --     188       0       0             25     0     0
    #9307     --    2868       0       0            264     0     0
    #69560466 --     252       0       0             30     0     0
    #10049    --       4       0       0              1     0     0
    
    Statistics:
    Total blocks: 18
    Data blocks: 3
    Entries: 51
    Used average: 17.000000
    
    *** Report for group quotas on device /dev/md2
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    Group           used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    avahi     --       8       0       0              3     0     0
    cdrom     --    7424       0       0            751     0     0
    daemon    --    3600       0       0            900     0     0
    dialout   --       4       0       0              1     0     0
    disk      --       0       0       0             32     0     0
    dspam     --     204       0       0              6     0     0
    games     --       4       0       0              1     0     0
    haldaemon --       8       0       0              2     0     0
    lp        --      20       0       0              6     0     0
    mail      --       4       0       0              2     0     0
    maildrop  --      40       0       0              4     0     0
    man       --    1244       0       0             10     0     0
    messagebus --       4       0       0              1     0     0
    mysql     --   39188       0       0           1599     0     0
    named     --      40       0       0             12     0     0
    news      --      12       0       0              6     0     0
    nobody    --       4       0       0              1     0     0
    nogroup   --   15712       0       0           1599     0     0
    ntp       --      16       0       0              4     0     0
    polkituser --      24       0       0              3     0     0
    postfix   --     152       0       0             62     0     0
    root      -- 2653160       0       0          94323     0     0
    shadow    --     440       0       0              9     0     0
    sys       --       4       0       0              1     0     0
    trusted   --      60       0       0              2     0     0
    tty       --     428       0       0             12     0     0
    ulogd     --      12       0       0              4     0     0
    uucp      --      12       0       0             11     0     0
    wheel     --       8       0       0              1     0     0
    www       --   69112       0       0           1512     0     0
    admispconfig --  170456       0       0           6167     0     0
    filter    --   17020       0       0           1210     0     0
    users     -- 13994788       0       0           5770     0     0
    web1      --  604292       0       0           2691     0     0
    web10     --   12200  153600  154624            656     0     0
    web12     --   79264  768000  769024          17520     0     0
    web3      --   69012  153600  154624           1635     0     0
    web4      --   36972  153600  154624           1517     0     0
    web5      --   16292  153600  154624           2098     0     0
    web8      --     200  256000  257024             44     0     0
    web9      --    1008  153600  154624            113     0     0
    #10011    --      12       0       0              3     0     0
    #20001    --     888       0       0             90     0     0
    #1010     --   27608       0       0           4641     0     0
    #500      --    3992       0       0            249     0     0
    #501      --    3888       0       0            470     0     0
    #502      --     188       0       0             25     0     0
    #21000    --    2868       0       0            264     0     0
    #80       --     252       0       0             30     0     0
    
    Statistics:
    Total blocks: 15
    Data blocks: 3
    Entries: 49
    Used average: 16.333333
    
    
    Problem is solved - deleted website and recreated the new one... But it would be very interesting to find the normal way and understand the reason of this problem!
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    The error message that you got had nothing to do with quota usage. You got the error message because one of the users of your website had a quota that was higher then the quota of the website.
     

Share This Page