From: Russ F. <ru...@to...> - 2007-02-26 21:02:07
|
On 26 Feb 2007, at 20:37, Jamie Cameron wrote: > On 26/Feb/2007 12:36 Russ Ferriday wrote .. >> >> On 26 Feb 2007, at 20:28, Jamie Cameron wrote: >> >>> On 26/Feb/2007 12:19 Russ Ferriday wrote .. >>>> >>>> On 26 Feb 2007, at 19:47, Jamie Cameron wrote: >>>> >>>>> Just to make sure that the quota is really being used, you >>>>> could SSH in as the user and run the command : >>>>> quota -v >>>>> Let me know what that outputs.. >>>>> >>>>> - Jamie >>>> >>>> -bash-3.00$ quota -v >>>> Disk quotas for user yaddayadda (uid 516): >>>> Filesystem blocks quota limit grace files quota limit grace >>>> /dev/hda3 13080* 5120 0 none 20 0 0 >>>> >>>> Currently total, and admin are set for 200MB and 100MB resp. >>>> Disk space used (includi ng sub-servers) >>>> 44 MB (752 kB by Unix user, 44 MB by mail / FTP users) >>>> Space used by databases >>>> 8192 bytes (8192 bytes in this server, 0 bytes in sub-servers) >>>> >>>> >>>> If I give unlimited quota, in the VS page, no change. >>>> >>>> BUT, I went to the Mail and FTP user page and noticed the user >>>> had local dir quota of 5MB, but used 13MB. So when I gave the >>>> user 40MB, and do my test again, it works! >>>> AND, when I put the user back to 5MB (thi s bears on his home >>>> directory as I read it) even though he still has 13MB "used", >>>> (actually his home dir is practically empty most of his data is >>>> in svn, >>>> -bash-3.00$ du -sh . >>>> 20K . >>>> ) >>>> the problem does not come back! >>>> >>>> SO raising his person quota temporarily and putting back again >>>> solved the problem "permanently". >>>> >>>> There's more to quota than meets the eye. >>>> >>>> So, I'm out of my fix, but I think there is still a problem >>>> somewhere in quota processing. If you need more data points, let >>>> me know. >>>> >>>> Best >>>> -r >>>> So was this user the owner of the domain, or a separate mailbox >>>> account? >>> not the owner. Just a mailbox account. >> - > Ah .. in that case, that would explain it. The quota settings on > the Edit Virtual Server page aren't really relevant, as this user's > own quota would be taking effect instead. > Perhaps. ( I assume that all users are totalled in the VS page limits.) I don't know why my test worked even after I put the quota back to 5MB while he had 13MB of stuff. And why was it counting 13MB when his home was empty. You say on the user edit that it applies to the home directory. His only had 20kB in it. Something is dodgy here. I'm not saying it's Webmin, but the whole picture is less than satisfying. Anyway, I'm not losing sleep on this, but I think it's an area that needs some cleanup, at least on CentOS. If you want me to look at this further, just ask. Thanks for provoking a solution, and congrats on some great software. --r Russ Ferriday - Topia Systems - Open Source content management with Plone and Zope ru...@to... - office: +44 2076 1777588 - mobile: +44 7789 338868 - skype: ferriday a member of Zea Partners |