Thanks Chris. Should I do a quota_resetall?
On 8/24/2011 6:31 PM, Support ChrisP wrote:
>
> Hi, try this new binary
> http://netwinsite.com/ftp/misc/l1.tar.gz
> This build has modified quota handling which should be more resilient
> we hope (it will start of by recalculating quotas so you will need to
> let it run a while to see
> if the same problem occurs over time)
>
> Please let me know results.
>
> ChrisP.
>
>
>
> On Thursday 25/08/2011 at 6:15 am, Steve Perrault wrote:
>> We're running
>>
>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>> (Surgeweb Enabled)
>>
>> In a mirrored environment. One mirror acts as a hot spare. Users
>> only have access to one box.
>>
>> The user quotas sometimes get unstable. they get very large or go
>> into Negativeland. If I hit "recalculate" in the usage stats the
>> numbers will flap back and forth around the value of "tellmail
>> quota_domain" and suddenly go to the actual number. It seems more
>> noticeable with one particular domain, mdirect.net. It's a large
>> domain. Not the largest, but one of the earliest ones to be imported
>> to surgemail.
>>
>> The numbers seem to be related to the results of tellmail quota_domain .
>>
>> For instance. This is the results of quota_domain
>>
>>>
>>> # tellmail quota_domain mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>> domain quota 81009k bytes for domain /opt2/surgemail/
>>> (/opt2/surgemail/mdirect.net/jh/aa/a/)
>>
>> Then the quota of the user:
>>
>>>
>>> # tellmail quotaHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> 82564976 bytes used of 104857600
>>> 80630k bytes used by domain
>>
>> Then if I reset the quota, it goes back and forth. I can't
>> demonstrate it at the moment, but the numbers will go as wild as the
>> domain_quota value
>>
>>
>>>
>>> surgemail-west:/tmp# tellmail quota_rebuildHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> login_generic rebuild user HIDDEN@nemwcp@mdirect.net) doimain
>>> (mdirect.net)
>>> login_generic-done rebuild user (lorrainemwcp) doimain (mdirect.net)
>>> maildb_init user (lorrainemwcp) Domain (mdirect.net)
>>> Done lorrainemwcp, /opt2/surgemail/mdirect.net/mf/pa/lorrainemwcp/
>>> -2170815 bytes newsz=8263
>>> surgemail-west:/tmp# tellmail quota_rebuildHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> login_generic rebuild user HIDDEN@nemwcp@mdirect.net) doimain
>>> (mdirect.net)
>>> login_generic-done rebuild user (lorrainemwcp) doimain (mdirect.net)
>>> maildb_init user (lorrainemwcp) Domain (mdirect.net)
>>> Done lorrainemwcp, /opt2/surgemail/mdirect.net/mf/pa/lorrainemwcp/
>>> 215346 bytes newsz=8263
>>> surgemail-west:/tmp# tellmail quota_rebuildHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> login_generic rebuild user HIDDEN@nemwcp@mdirect.net) doimain
>>> (mdirect.net)
>>> login_generic-done rebuild user (lorrainemwcp) doimain (mdirect.net)
>>> maildb_init user (lorrainemwcp) Domain (mdirect.net)
>>> Done lorrainemwcp, /opt2/surgemail/mdirect.net/mf/pa/lorrainemwcp/
>>> -198820 bytes newsz=8263
>>> surgemail-west:/tmp# tellmail quota_rebuildHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> login_generic rebuild user HIDDEN@nemwcp@mdirect.net) doimain
>>> (mdirect.net)
>>> login_generic-done rebuild user (lorrainemwcp) doimain (mdirect.net)
>>> maildb_init user (lorrainemwcp) Domain (mdirect.net)
>>> Done lorrainemwcp, /opt2/surgemail/mdirect.net/mf/pa/lorrainemwcp/
>>> 215346 bytes newsz=8263
>>> surgemail-west:/tmp# tellmail quota_rebuildHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> login_generic rebuild user HIDDEN@nemwcp@mdirect.net) doimain
>>> (mdirect.net)
>>> login_generic-done rebuild user (lorrainemwcp) doimain (mdirect.net)
>>> maildb_init user (lorrainemwcp) Domain (mdirect.net)
>>> Done lorrainemwcp, /opt2/surgemail/mdirect.net/mf/pa/lorrainemwcp/
>>> -198820 bytes newsz=8263
>>> surgemail-west:/tmp# tellmail quota_rebuildHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> login_generic rebuild user HIDDEN@nemwcp@mdirect.net) doimain
>>> (mdirect.net)
>>> login_generic-done rebuild user (lorrainemwcp) doimain (mdirect.net)
>>> maildb_init user (lorrainemwcp) Domain (mdirect.net)
>>> Done lorrainemwcp, /opt2/surgemail/mdirect.net/mf/pa/lorrainemwcp/
>>> 215346 bytes newsz=8263
>>> surgemail-west:/tmp# tellmail quota_rebuildHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> login_generic rebuild user HIDDEN@nemwcp@mdirect.net) doimain
>>> (mdirect.net)
>>> login_generic-done rebuild user (lorrainemwcp) doimain (mdirect.net)
>>> maildb_init user (lorrainemwcp) Domain (mdirect.net)
>>> Done lorrainemwcp, /opt2/surgemail/mdirect.net/mf/pa/lorrainemwcp/
>>> -198820 bytes newsz=8263
>>> surgemail-west:/tmp# tellmail quota_rebuildHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> login_generic rebuild user HIDDEN@nemwcp@mdirect.net) doimain
>>> (mdirect.net)
>>> login_generic-done rebuild user (lorrainemwcp) doimain (mdirect.net)
>>> maildb_init user (lorrainemwcp) Domain (mdirect.net)
>>> Done lorrainemwcp, /opt2/surgemail/mdirect.net/mf/pa/lorrainemwcp/
>>> 215346 bytes newsz=8263
>>> surgemail-west:/tmp# tellmail quota_rebuildHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> login_generic rebuild user HIDDEN@nemwcp@mdirect.net) doimain
>>> (mdirect.net)
>>> login_generic-done rebuild user (lorrainemwcp) doimain (mdirect.net)
>>> maildb_init user (lorrainemwcp) Domain (mdirect.net)
>>> Done lorrainemwcp, /opt2/surgemail/mdirect.net/mf/pa/lorrainemwcp/
>>> -198820 bytes newsz=8263
>>> surgemail-west:/tmp# tellmail quota_rebuildHIDDEN@nemwcp@mdirect.net
>>> SurgeMail Version 5.2a-1, Built Dec 20 2010 20:21:06, Platform Linux
>>> Key N250925 OK, emailHIDDEN@ul@mnsi.net, users=100000, flags=48,
>>> host=surgemail-west:216.8.137.18, prod=surgemail
>>>
>>> login_generic rebuild user HIDDEN@nemwcp@mdirect.net) doimain
>>> (mdirect.net)
>>> login_generic-done rebuild user (lorrainemwcp) doimain (mdirect.net)
>>> maildb_init user (lorrainemwcp) Domain (mdirect.net)
>>> Done lorrainemwcp, /opt2/surgemail/mdirect.net/mf/pa/lorrainemwcp/
>>> 215346 bytes newsz=8263
>>
>>
>> The problem sort-of goes away when I do a quota_resetall
>>
>> Any ideas? Is my quota.dat file corrupt?
>>
>>
>
>
>
>
|