Quota ang weblogs

Discussion in 'Installation/Configuration' started by newfield, May 10, 2007.

  1. newfield

    newfield New Member

    Hi. I have setup a server according to this guide:
    http://www.howtoforge.com/perfect_setup_ubuntu_6.10
    for four months ago and it works fine but I have 2 problems I notised some days ago.
    When I change the quota for a user it does not make the change.
    I have a user that has a ftp-account and the quota was 60 MB when I created it but now i have chaged that to first 70MB than to 75MB but the server is complaining that he is using more then his 60MB and the user can not uppload files.

    quota -u web15_ftp
    Disk quotas for user web15_ftp (uid 10031):
    Filesystem blocks quota limit grace files quota limit grace
    /dev/md0 58488 61440 62464 305 0 0

    /dev/md0 / ext3 defaults,errors=remount-ro,usrquota,grpquota 0 1

    And problem no2:
    The logfiles at this user is enormus.
    After 3 monts it has grown to 60 MB.
    3366 visits in 3 months should not generate that big log.
     
  2. newfield

    newfield New Member

    Loc size

    When I am waiting for some tips.

    I saw that the log was set to 30% and that the total webspace for the domain is 260 MB. That must mean that the log can grow to 78Mb.
    But why is the server complaining that the ftp-user is usig this space?
    The ftp user has 60 mb witch I have raised to 85 mb.
    Is the ftp-user owner och the logs?
     
  3. falko

    falko Super Moderator Howtoforge Staff

    Can you post the output of
    Code:
    repquota -avug | grep web15
    ?
     
  4. newfield

    newfield New Member

    repquota -avug | grep web15
    web15_ftp -- 2812 61440 62464 304 0 0
    web15 -- 2816 266240 267264 307 0 0
     
  5. newfield

    newfield New Member

    I think I solved the problem.

    repquota -avug | grep web15
    web15_ftp -- 2816 189440 190464 304 0 0
    web15 -- 2820 266240 267264 307 0 0

    I had edit the /root/ispconfig/scripts/lib/config.lib.php to aktivate *phtml and an " to much had sneeked in.
    Now I am happy and it id Friday :)
    Thanks Falko
     

Share This Page