![]() |
quota doesn't seem to work
Hi,
my quota doesn't seem to work - I just created a new web with the webspace limit of 100 MB. then I uploaded a file with 95MB and 48 hours laet - only for testing reasons - I uploaded a 10MB also and it worked?! But there should be only 100MB webspace possible??? What's my mistake? O does quota only check the stuff at 4 o'clock in the morning like the traffic stuff too? I'm kind of confused?! Code:
Speicherplatz gesamt: 100 MBLeoLinux |
How did you upload the files, FTP? Are the files owned by the website admin and group?
|
Hi Till,
it looks like that....: Code:
server1:~# ls -lach /var/www/web4/web/I created the 70MB file with dd with the root account so that my web account was filled up to 95 MB or something like that ... and than I started to upload a 10MB file via FTP and I used the web4 account - the owner of the webspace. But thanks for your response - I understand my mistake now ... I'll test it again and I'll only use the web4 account and FTP for it ;-) with friendly greetings, LeoLinux |
hi,
anyway ... even if I onbly use the ftp .. it wouldn't work. ;-( Leander |
What's the output of
Code:
repquota -avug|grep web4 |
Code:
server1:~# repquota -avug|grep web4Leander |
web4_admin doesn't have any quota, and the group web4 uses only 20MB of 100 MB. Are you sure your test files are owned by the correct owner and group?
|
Hi again,
ok I checked it out again - and disk quota works .... BUT why on 106MB if I told it to stop on 100MB? http://www.unserbiohof.de/quota.png Code:
server1:~# repquota -avug|grep web4Thx! ;-) Leander |
Please check the log directory of that web site. The logs are written to that directory by root before they're chowned, so it's possible that the quota gets exceeded.
You can delete old log files if you don't need them anymore. |
there is nothing logged about quota in /web or /web/user
antother problem I have is that if traffic for a site is exceeded the site is not reachable anymore - which is ok...but if I just rate it up from maybe 50MB Traffic to 500MB the site is still disabled. The question now..: do I have to wait until the end of the month until it will be accessable again? Thanks, Leo |
| All times are GMT +2. The time now is 16:35. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.