proftpd quota problem

Discussion in 'Server Operation' started by arastirici, Nov 17, 2011.

  1. arastirici

    arastirici New Member

    I have a problem with ProFTPD
    actually proftpd works.
    I use ispconfig2.25 on opensuse11.

    I had set a quota 100 mbyte for a customer over ispconfig cp.
    the customer run into that quota. after that they deleted some their files.
    And they have about 50 mbyte on the server.
    But They can't send a file via ftp because of proftpd quota now.
    if I set their quota at 200 mbyte. They or I can send a file.

    What is the problem ?

    Thanks
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    You can see the current quota usage for the group (website) and the user with:

    repquota -avug
     
  3. arastirici

    arastirici New Member

    I run the command

    # repquota -avug
    *** Report for user quotas on device /dev/sda4
    Block grace time: 7days; Inode grace time: 7days
    Block limits File limits
    User used soft hard grace used soft hard grace
    ----------------------------------------------------------------------
    web168_gdn -- 112740 0 0 548 0 0


    Statistics:
    Total blocks: 12
    Data blocks: 6
    Entries: 111
    Used average: 18.500000

    *** Report for group quotas on device /dev/sda4
    Block grace time: 7days; Inode grace time: 7days
    Block limits File limits
    Group used soft hard grace used soft hard grace
    ----------------------------------------------------------------------
    web168 -- 112748 204800 205824 552 0 0

    when I execute 'du -h web168'

    # du -h web168
    49M web168
    But in group section detecs 112.000 Kbyte
    What can it be corrected ?
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The repquota command is the the one which is relevant for quota and its likely to be correct. Quota sums up all files owned by a gived user or group, these files can be anywhere on your server (e.g. in /tmp/ or /var/spool/mail/), not just in the web168 folder.
     
  5. arastirici

    arastirici New Member

    Thank you.

    I understand why.
     

Share This Page