User warned over quota, but quota is OK

Splet

Verified User
Joined
Oct 17, 2007
Messages
40
User notified me mails are not going out or in. I noticed via exim -Mvl they were all frozen with reason like:

1rA2JW-0xxxx8-23 frozen by ACL

I noticed user is receiving messages he's over quota:

User XXX has used up 0.0% of their bandwidth and 107% of their allocated disk space

So I logged in as user, quota says 21 out of 28GB, so this looks OK. Also on disk, repquota -a says there is 19GB usage in user's home dir and about 2GB usage on MySQL. I checked via find -user XXX if there are any other files owned by this user, but nothing. Why is DA thinking user is over quota?

Anything else I'm missing? Any tips appreciated.
 
what you see when run:
quota -u username
you can also change in DA user quota to 28.5 for example - it will automatically update/recalculate current quota.
 
Quota output is OK, but DA thinks it's at 100%+ when it's far below it.
 
When you change quota for account save and then change back - it will update/recalculate current quota - so you don't need to wait till midnight. Or at stats page from userlevel you can update it.
 
You don't have to wait until midnight, you can run the nightly tally manually for a specific user (or all users) too.

Run this command, it should update all values for the user:
echo 'action=reset&value=username&type=user' >> /usr/local/directadmin/data/task.queue
only replace the username with the username you're investigating. Leave the type=user as is.

This will take a couple of minutes probably. After that, the values in DA GUI should be updated.
 
the quota not automatically updating when diskspacechanges occur, is a nerving factor since the beginning of the days. why nobody wrote a script which hooks behind such spacechanges and update quota only for this particulary user? I`m no coder, i cant write, would have done it long ago..
Or a setting where one can set times when automatically recalculating should occur.
 
Back
Top