[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Active Monitor Disk Usage error; PHP pkg. Related?
- Subject: Re: [cobalt-users] Active Monitor Disk Usage error; PHP pkg. Related?
- From: flash22@xxxxxxx
- Date: Sun Jan 27 15:44:06 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Sun, 27 Jan 2002, Lee Dale wrote:
>
> We are having a rather frustrating issue with a newly setup RaQ 4r that is
> preventing FTP. Active Monitor is stating that many users/sites are over
> quota. For example, one site has 25 MB total but has 100MB. Another user has
> 10 MB allotted but has used 55MB. We haven't uploaded any files, we have
Sounds like you mangled the quota tables,did the machine hard crash? Have
you rebooted it since? you can try fixing them, do:
/sbin/quotacheck -v -a
Which should either fix them, or complain and tell you if something is
wrong...
You can also dump out all the quota and usage info for the entire machine
with quotacheck -a , this will tell you what the underlying quota system
thinks the quota settings are, if they are in disagreement with what the
web interface says, it's confused..
If the quota's look ok, but don't match the GUI, then you may have a
database issue instead...
Don't forget to check usage for log files, especially if the web server
was unhappy, it may have logs lots and lots of complaints which are not in
the sites log/ directory....
You can use find to find *all* files owned by a user , ie:
find / -user gsh -printf "%k\t%p\n"
Will find all files everywhere orned by 'gsh' and print out the number if
blocks used (1k per block) and the location of the file and it's name
You can do it for groups also, replace =user user' with
say, '-group site1' for example..
gsh