Wrong quota messages

Discussion in 'General' started by Bruce, Oct 28, 2005.

  1. Bruce

    Bruce New Member

    Hi!

    I created an user with an emailaddress. This emailadress "[email protected]" is used as a mailing list, using many mailadresses to forward messages, that are send to the mailadress ([email protected]).
    Now, I get wrong quota messages:
    Some Users/Groups Are Near Or Already Over Their Quota Limit On Server server.bla.com

    Code:
    The following users are near or already over their quota limit on server server.bla.com:
    ===================================================
    
    Username:                           web2_forward
    Used Storage Space:           94.23 MB
    Allocated Storage Space:     50.00 MB
    User's Real Name:               OOP
    User's Email Address:           [email protected]
    Web Site:                             www.bla.com
    Group Of Web Site:             web2
    
    Customer's Company:           XXX
    Customer's Name:                XXX
    Customer's Address:             XXX
    City:                                      
    Country:                               
    Telephone:                           
    Telefax:                                
    Customer's Email Address:   
    Customer's Web Site:           http://www.XXX.de
    
    Reseller's Company:              XXX
    Reseller's Name:                    XXX
    Reseller's Address:                XXX
    City:                                      XXX
    Country:                                XXX
    Telephone:                            XXX
    Telefax:                                 
    Reseller's Email Address:       XXX
    Reseller's Web Site:               XXX
    
    (Links and Addresses are changed by me)

    A "du -s" to the users directory shows:
    Code:
    du  -h web2_oop/
    8,0K    web2_oop/web
    4,0K    web2_oop/Maildir/tmp
    4,0K    web2_oop/Maildir/new
    4,0K    web2_oop/Maildir/cur
    16K     web2_oop/Maildir
    140K    web2_oop/
    
    Any idea, why? I get these wrong messages for some web-accounts und for some user-accounts.

    Best regards,
    Sebastian
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Run
    Code:
    repquota -avug
    to have a look at the correct quota values.
     
  3. Bruce

    Bruce New Member

    Code:
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    User            used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    ...
    web2_oop  +-   96488    1024    1024  6days    6723     0     0
    ...
    
    but why? how could that be possible? the web2_oop - folder has only some kb ?!
     
    Last edited: Oct 28, 2005
  4. falko

    falko Super Moderator Howtoforge Staff

    All files/directories that belong to web2_oop go into that quota value, no matter if they are in the web2_oop folder or somewhere else.
     
  5. Bruce

    Bruce New Member

    is there a possibility to find out, what files belong to web2_oop?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    There might be an option for the find command, butI'am not shure. I recommend to first have a look at the /temp folder and then at /var/spool/mail/ if there are any files owned by web2_oop.
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Yes,
    Code:
    find / -user <username>
    finds all files of a user,
    Code:
    find / -group <groupname>
    all files of a group.
     
  8. artimaster

    artimaster New Member

    Hello,

    I have the same problem.


    The following groups are near or already over their quota limit on server xxxxx:
    ===================================================

    Group: web7
    Used Storage Space: 771.03 MB
    Allocated Storage Space: 300.00 MB
    Web Site: www.xxxxxxxxxx.edu

    Customer's Company: XXXXXXXXX
    Customer's Name: XXXXXXXXXXXX
    Customer's Address:
    City:
    Country:
    Telephone:
    Telefax:
    Customer's Email Address:
    Customer's Web Site: http://
    ====================================================

    The output of #du -h /var/www/web7 is:
    171M total

    Ispconfig shows the same through the web-panel.

    The output of #find / -group web7 shows only files that are in the /var/www/web7 folder.

    I checked the /tmp or /home/admispconfig/ispconfig/tmp but there are no files owned by that user.

    The output of #repquota -avug for this group is:
    web7 +- 778744 286720 287744 6days 3840 0 0

    Another thing is that there is no db for this client.

    What is causing this over-quota.
    Any help will be appreciated.
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Please check the /var/www/web7/log directory if there are any large log files. If you don't need them, you can delete the logs.
     
  10. artimaster

    artimaster New Member

    Hello,

    I checked that folder many times but there is only the last month logfile an it is only 8.2 Mb
     
  11. artimaster

    artimaster New Member

    Solved

    Hello

    www.xxxx.edu --> /var/www/web7

    After some investigation i founded that www.xxxxx.edu uses a database, but this database is not shown on the ISP Site (www.xxxx.edu) Opsion configuration page (ISPConfig panel).

    It is strange because the CMS that reside on /web7/ uses a database that is not as it should be named web7db1, but it is named web24db1. I checked the CMS config-files.
    All the uploading things through CMS were going to this db (web24db1) and no quota is performed on the website.
    I created a new db through ispconfig webpanel and than i migrated the old db to the new one (web7db1). After doing this I deleted the old one (web24db1).

    And now it ISPConfig is showing the right value.
     

Share This Page