Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jhonchan on September 08, 2011, 11:09:57 AM

Title: User quota error
Post by: jhonchan on September 08, 2011, 11:09:57 AM
Hello all,

I have a problem, dont know its a bug or not.

I use the SME Server for email server.

The problem is starting from some of my email users complain about they still receive message from admin that tell them, their email quota is full.

As usual i tell them to delete or move their email so the quota will reduce.
They said they already delete or move their email but the message still appear everyday.

So I checked in server-manager, and i login to their account using webmail.
In webmail, i did not see any message but in my quota server-manager still 35M.

I try to delete the user account and successfull deleted, but when i created the username again, the quota is not 0 but still 35M.

I already check using quota xxx, and still 35M.

That's my problem, thanks in advanced
Title: Re: User quota error
Post by: larieu on September 08, 2011, 11:44:01 AM
you can do as I written here
http://forums.contribs.org/index.php/topic,40737.msg205966.html#msg205966 (http://forums.contribs.org/index.php/topic,40737.msg205966.html#msg205966)
to regain control of your quota

I had this before
and it seems that is strike from time to time
I wasn't able to figure from where it is
first time was due the fact I forgotten to delete the affa backup
but after that I have observed into other fresh install

it seems that it exist some bug in CentOS Quota allocation is not SME related
if you look into bugzilla you'll find it for sure

in short you need to stop service which massively can change user quota ( if you have direct access is preferable to just unplug the network)
and put quota off, recalculate, than put it on
what is strange is that 2 days ago I had noticed this on 2 servers
and yesterday just solved manually (as always)
now you tell me that you have the same problem
this mean is "time related"
Title: Re: User quota error
Post by: jhonchan on September 08, 2011, 11:50:49 AM
Larieu, thanks for your informations.

I will try your steps  :-)

1. stop services which can dramatically change quota (smtp, imap .....) (or if you are "near" that server from local keyboard you can stop all services which you don't need for the next minutes -  this depends of your configuration)
2. quotaoff -av
3. quotacheck -augvm (be patient - cant be long time for slow computer with tons of data)
4. quotaon -a
5. start all services