[Fwd: Re: serious over quota problem]

Joao Pedras jpedras at webvolution.net
Thu Feb 12 01:35:28 EST 2004


The cc: didn't seem to work so here it goes.

-------- Original Message --------
Subject: 	Re: serious over quota problem
Date: 	Wed, 11 Feb 2004 11:19:57 -0800
From: 	Joao Pedras <jpedras at webvolution.net>
To: 	David R Bosso <dbosso+lists.cyrus at lsit.ucsb.edu>
CC: 	info-cyrus at lists.andrew.cmu.edu
References: 	<40296ADE.8010804 at webvolution.net> 
<40297699.5060903 at oceana.com> <4029792B.6060507 at webvolution.net> 
<2147483647.1076487660 at bossland.lsit.ucsb.edu>



So one possible solution for the problem would be to create separate 
quotas for the
sub-folders, instead of dealing with one massive quota root.

Would this be correct?

David R Bosso wrote:

> See:
> <https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=1212>
>
> Cyrus IMAP uses a 32bit int to store quota in bytes internally, this 
> causes problems with large quotas.  While the bug says 2GB, from what 
> I saw in the code a while back it's an unsigned long which should max 
> out at 4GB.
>
> Can one of the developers clarify 2/4GB as the maximum?
>
> -David
>
> --On Tuesday, February 10, 2004 4:36 PM -0800 Joao Pedras 
> <jpedras at webvolution.net> wrote:
>
>> Hello Ken,
>>
>> Ken Murchison wrote:
>>
>>> Joao Pedras wrote:
>>>
>>>> Hi all!
>>>>
>>>> I have this user's box which is NOT over quota but Cyrus insists on
>>>> saying that it is to sendmail. Also
>>>> I am not able to drag messages into it.
>>>>
>>>> I have ran 'reconstruct' on the the folder with '-r -f' and 'cyrquota
>>>> -f' also. I have increased/decreased the quota...
>>>>
>>>> The problem does not go away.
>>>>
>>>> Could someone please provide some insight on this issue?
>>>
>>>
>>>
>>> How do you know for a fact that the user is not over quota?
>>
>>
>>
>> Well... the a 'du' on the filesystem shows the usage around 2Gb. The
>> quota root was
>> set to 5,000,000. Plus 'cyrquota' would report around 40% usage which
>> agrees with
>> the number I just gave you.
>>
>>> Keep in mind that a quotaroot includes ALL submailboxes.
>>
>>
>> And that is the reason why I check 'du' on filesystem folder.
>>
>>>   Are there \Deleted messages which have not been expunged?
>>
>>
>> Not quite sure. Wouldn't these count?
>>
>>>   Is the MUA using a Trash folder?
>>
>>
>>
>> In the user's inbox? Yes, but that one is empty. Wouldn't that also add
>> up to the
>> quota root?
>>
>> Two additional details:
>> 1) it's cyrus 2.0.17
>> 2)  I attempted to set the quota to 50,000,000 and the problem went 
>> away.
>> With that
>> quota value the usage is down to 4%.
>>
>> Thanks Ken!!!
>> ---
>> Home Page: http://asg.web.cmu.edu/cyrus
>> Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>
>


---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list